thermal: gov_power_allocator: Fix NULL pointer dereference in update_tz()

Summary

CVECVE-2026-143455
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-05 03:19:57 UTC
Updated2026-12-05 03:19:57 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report