CVE-2026-46021

thermal: core: Fix thermal zone governor cleanup issues

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:56 PM UTC
Updated: October 15, 2026 at 02:19 AM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: thermal: core: Fix thermal zone governor cleanup issues If thermal_zone_device_register_with_trips() fails after adding a thermal governor to the thermal zone being registered, the governor is not removed from it as appropriate which may lead to a memory leak. In turn, thermal_zone_device_unregister() calls thermal_set_governor() without acquiring the thermal zone lock beforehand which may race with a governor update via sysfs and may lead to a use-after-free in that case. Address these issues by adding two thermal_set_governor() calls, one to thermal_release() to remove the governor from the given thermal zone, and one to the thermal zone registration error path to cover failures preceding the thermal zone device registration.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 6.6.1406.13 ≤ v < 6.18.276.19 ≤ v < 7.0.46.7 ≤ v < 6.12.864.2e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8
Vendor states this is fixed in 37a430a2d4e66ec8238da6c7f7e48809bf265e13 (fixed)
Vendor states this is fixed in 41ff66baf81c6541f4f985dd7eac4494d03d9440 (fixed)
Vendor states this is fixed in 64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06 (fixed)
Vendor states this is fixed in 75f8f3c3e09122270986de9d7aa347d701676761 (fixed)
Vendor states this is fixed in 8e563d8db50f303171aceb79eec0807e7ba06951 (fixed)
Vendor states this is fixed in a172fa18bc370b776ac1510abb0dcb50a7a35fac (fixed)
Vendor states this is fixed in d4eb861adde5ce22e459fbd29366f47bb2167977 (fixed)
Vendor states this is fixed in f412e541d25a3dfaf3d53e012ade6ff03cae8a45 (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.86 (unaffected)
Vendor states this is fixed in 6.18.27 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.4 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card