VDB

CVE-2026-46021

CVE-2026-46021 PUBLISHED

thermal: core: Fix thermal zone governor cleanup issues

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxa172fa18bc370b776ac1510abb0dcb50a7a35fac, 4.2

Affected products

VendorProductVersions
LinuxLinuxe33df1d2f3a0141cd79e770f31999ba0dd7ebfa8, e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8, e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8
LinuxLinux4.2, 0, 5.10.259
LinuxLinux5.15.210, 7.1, 7.0.4
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.7, 3.1.6
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023python3-perf6.120
amazon:2023kernel6.12-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.6, 3.1.7
linuxlinux_kernel4.2, 4.2, 4.2
amazon:2023kernel-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0

…and 26 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (17 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46021
vulnetix vdb fixes CVE-2026-46021

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46021/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›