thermal: gov_power_allocator: Fix NULL pointer dereference in update_tz()
Summary
| CVE | CVE-2026-143455 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-05 03:19:57 UTC |
| Updated | 2026-12-05 03:19:57 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
thermal: gov_power_allocator: Fix NULL pointer dereference in update_tz()
power_allocator_update_tz() unconditionally derives the trip descriptor of
params->trip_max as below,
const struct thermal_trip_desc *td = trip_to_trip_desc(params->trip_max);
and then walks td->thermal_instances. However, params->trip_max is allowed
to be NULL and in that case the list walk dereferences a bogus pointer
derived from NULL which oops the kernel.
get_governor_trips() picks trip_switch_on and trip_max out of the trip
table of the zone. When the zone has neither a passive nor an active trip
point, last_active is NULL and params->trip_max is left NULL. This is an
explicitly supported configuration, as documented in the function
get_governor_trips() as below,
If there are no passive or active trip points, then the governor won't
do anything. In fact, its throttle function won't be called at all.
Return early from power_allocator_update_tz() when params->trip_max is NULL
and only compute the trip descriptor after that check. There is nothing to
update in that case anyway, with no trip_max and there are no thermal
instances for the governor to account for, num_actors stays zero and
total_weight is irrelevant. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 912e97c67cc3f333c4c5df8f51498c651792e658 92bbe16fa31693144e199b2843fc46e0959a6712 git |
Not specified |
| CNA |
Linux |
Linux |
affected 912e97c67cc3f333c4c5df8f51498c651792e658 a51779512fd1a8555f17a59f662de6b1a7db0692 git |
Not specified |
| CNA |
Linux |
Linux |
affected 912e97c67cc3f333c4c5df8f51498c651792e658 fc28db21ba3f6d449fa93fe1ededa3ca90310f28 git |
Not specified |
| CNA |
Linux |
Linux |
affected 912e97c67cc3f333c4c5df8f51498c651792e658 d3515092f1bff9cfb4d99ea82dcd4ac66f32f50d git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d3515092f1bff9cfb4d99ea82dcd4ac66f32f50d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/92bbe16fa31693144e199b2843fc46e0959a6712 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a51779512fd1a8555f17a59f662de6b1a7db0692 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/fc28db21ba3f6d449fa93fe1ededa3ca90310f28 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.