CVE-2026-97475: thermal/drivers/tegra/soctherma: Switch to devm cooling device registration

Published Sep 24, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

thermal/drivers/tegra/soctherma: Switch to devm cooling device registration

Use devmthermalofcoolingdeviceregister() to simplify resource management and avoid manual cleanup in error paths.

As a side effect this change has the benefit of solving an existing issue. Before, the function tegrasocthermremove() only called debugfsremoverecursive() and never called thermalcoolingdeviceunregister() for any of the cooling devices registered here.

After the driver removal, the thermal framework's cdev list would still hold references to thermalcoolingdevice objects whose devdata pointer (ts) pointed to memory already freed by the platform device's devm cleanup.

With this change, the cooling device is unregistered when the driver is removed, thus fixing the issue above.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 24, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
Description
Data Sourced
via NVD·05:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel Tegra SoC thermal driver are exposed when that driver is removed after registering its thermal cooling devices. The issue is specific to the driver-removal lifecycle rather than normal thermal operation alone.

2

What condition is required to trigger the stale references?

The Tegra soctherm platform driver must be removed. Before the fix, removal freed the driver's device-managed memory without unregistering its thermal cooling devices, leaving the thermal framework with references whose devdata pointer targeted freed memory.

3

How can I determine whether a system has been affected?

The described affected state exists after removal of the Tegra soctherm driver if cooling devices had been registered: the thermal framework's cooling-device list can retain entries referencing freed driver data. The provided data does not specify a user-visible log message or diagnostic command for confirming this state.

4

What does the fix change?

The fix replaces manual cooling-device registration with device-managed cooling-device registration. This causes cooling devices to be unregistered during driver removal, preventing stale thermal-framework references to freed memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203