Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97475 Overview
CVE-2026-97475 is a Linux kernel vulnerability in the Tegra SOCTHERM thermal driver (thermal/drivers/tegra/soctherm). The flaw stems from improper cleanup of thermal cooling devices during driver removal. The tegra_soctherm_remove() function called debugfs_remove_recursive() but never invoked thermal_cooling_device_unregister() for cooling devices registered by the driver.
After driver removal, the thermal framework's cdev list retained references to thermal_cooling_device objects whose devdata pointer referenced memory already freed through the platform device's devm cleanup. The resolution switches registration to devm_thermal_of_cooling_device_register() so cleanup occurs automatically.
Critical Impact
Use-after-free condition in the thermal subsystem on NVIDIA Tegra platforms following driver unload, which can lead to kernel memory corruption or crashes.
Affected Products
- Linux kernel builds including the Tegra SOCTHERM thermal driver
- NVIDIA Tegra SoC platforms using the in-kernel SOCTHERM cooling device
- Distributions shipping affected kernel versions until the referenced stable commits are applied
Discovery Timeline
- 2026-09-24 - CVE-2026-97475 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97475
Vulnerability Analysis
The Tegra SOCTHERM driver registered thermal cooling devices manually without a corresponding unregistration path. When the platform device was removed, the devm managed resources backing the private driver data (ts) were released. However, the thermal framework still held pointers to the cooling device objects, whose devdata field referenced the freed structure.
Any subsequent access to those cooling devices through the thermal framework's cdev list dereferenced freed memory. This creates a use-after-free condition in kernel space ([CWE-416]). Exploitability depends on local access to a Tegra system that can trigger module unload or driver rebind sequences.
Root Cause
The root cause is a resource management mismatch between device-managed allocation (devm_*) and manually registered thermal cooling devices. The removal callback cleaned up debugfs entries but omitted calls to thermal_cooling_device_unregister() for every cooling device registered during probe. This left dangling pointers inside the thermal subsystem's internal lists after devm released the backing storage.
Attack Vector
Triggering the condition requires the ability to unbind or unload the SOCTHERM driver on an affected Tegra platform. A local user with sufficient privileges, or an attacker leveraging a separate flaw to influence driver lifecycle, could induce the dangling reference. Subsequent thermal framework operations referencing the freed devdata could then corrupt kernel memory or cause a denial-of-service crash.
The upstream fix replaces manual registration with devm_thermal_of_cooling_device_register(), binding cooling device lifetime to the platform device. See the stable commits 6f2a863, deaeb7be, and ee126267 for the patch details.
Detection Methods for CVE-2026-97475
Indicators of Compromise
- Kernel oops or panic traces referencing thermal_cooling_device structures or the soctherm driver after module unbind events
- KASAN: use-after-free reports pointing at thermal framework code paths on Tegra hardware
- Unexpected system instability on NVIDIA Tegra platforms following thermal driver reload
Detection Strategies
- Audit running kernel versions on Tegra-based systems against the patched stable commits
- Enable KASAN in test builds to surface use-after-free access patterns in the thermal subsystem
- Review dmesg logs for warnings generated during driver removal on affected platforms
Monitoring Recommendations
- Collect kernel crash dumps and dmesg output from Linux endpoints and ingest them into a centralized log platform
- Alert on repeated kernel faults originating in drivers/thermal/tegra/
- Track driver bind/unbind events via udev or kernel audit for unexpected lifecycle changes
How to Mitigate CVE-2026-97475
Immediate Actions Required
- Inventory NVIDIA Tegra systems running kernels that include the unpatched soctherm driver
- Schedule kernel updates to a stable release containing the referenced commits
- Restrict privileged local access that would permit driver unbind or module unload operations
Patch Information
The fix is available in the following upstream stable commits: 6f2a863, deaeb7be, and ee126267. Apply the vendor-supplied kernel update that integrates these commits, or rebuild the kernel from a stable branch that includes them.
Workarounds
- Avoid unbinding or unloading the tegra-soctherm driver on affected systems until patched
- Limit CAP_SYS_MODULE and CAP_SYS_ADMIN capabilities to trusted administrators only
- Where feasible, build kernels without the SOCTHERM driver on systems that do not require Tegra thermal management
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

