CVE-2026-46021
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | a172fa18bc370b776ac1510abb0dcb50a7a35fac, 4.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8, e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8, e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 |
| Linux | Linux | 4.2, 0, 5.10.259 |
| Linux | Linux | 5.15.210, 7.1, 7.0.4 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.7, 3.1.6 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.6 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.6, 3.1.7 |
| linux | linux_kernel | 4.2, 4.2, 4.2 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
…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