CVE-2026-46021·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to resolve thermal zone governor cleanup issues that can cause memory leaks and potential use-after-free conditions. The fix ensures proper governor removal during thermal zone registration failures and prevents race conditions during governor updates. Apply the kernel update through your distribution's package manager and reboot the system to activate the patched kernel.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with `uname -r` and compare against vulnerable range 6.19-7.0.3
- Step 2: Verify thermal zone subsystem is active by checking `ls -la /sys/class/thermal/` for zone devices
- Step 3: Search kernel logs for thermal governor errors with `dmesg | grep -i 'thermal.*governor'` or `journalctl -k | grep -i thermal`
- Step 4: After patching, confirm kernel version is 7.0.4+ with `uname -r` and verify thermal subsystem loads cleanly with `dmesg | tail -50 | grep -i thermal`
FAQ
What is CVE-2026-46021?
This vulnerability affects the Linux kernel's thermal management subsystem, where improper cleanup of thermal governors during zone registration failures can lead to memory leaks, and concurrent governor updates via sysfs can trigger use-after-free conditions due to missing synchronization locks.
Is CVE-2026-46021 being actively exploited?
No, this vulnerability is not currently listed on the CISA KEV catalog and has no known public exploits available, though it poses stability and memory safety risks in production environments.
What versions of Kernel are affected by CVE-2026-46021?
Linux kernel versions 6.19 through 7.0.3 are affected; version 7.0.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-46021?
Run `uname -r` to check your kernel version; if it falls between 6.19 and 7.0.3 inclusive, your system is vulnerable and requires an update.
Does Defensia detect CVE-2026-46021?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-46021 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13
- https://git.kernel.org/stable/c/41ff66baf81c6541f4f985dd7eac4494d03d9440
- https://git.kernel.org/stable/c/64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06
- https://git.kernel.org/stable/c/75f8f3c3e09122270986de9d7aa347d701676761
- https://git.kernel.org/stable/c/8e563d8db50f303171aceb79eec0807e7ba06951
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46021. Free for 1 server.
Get started free