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

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

Use devm_thermal_of_cooling_device_register() 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 tegra_soctherm_remove() only called
debugfs_remove_recursive() and never called thermal_cooling_device_unregister()
for any of the cooling devices registered here.

After the driver removal, the thermal framework's cdev list would
still hold references to thermal_cooling_device 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.
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free vulnerability
Action: Upgrade Kernel
AI Analysis

Impact

The Linux kernel Tegra SoC thermal driver previously failed to unregister its cooling device on removal, leaving dangling references in the thermal framework. When the driver was torn down, the stale pointers pointed to memory that had already been freed by the platform device’s devm cleanup, creating a classic use‑after‑free scenario that could lead to kernel crashes or privileged memory corruption.

Affected Systems

All Linux kernel builds that include the Tegra soctherma driver and have not incorporated the commit that switches to devm_thermal_of_cooling_device_register(). The affected releases are unspecified, but any kernel version before the change through the latest patched commit is likely vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity vulnerability. The EPSS score of <1% and the fact that the vulnerability is not listed in the CISA KEV catalog indicate that it has not yet been widely exploited in the wild. The likely attack vector requires local privileged access or the ability to load and unload kernel modules on a Tegra platform. An attacker with such access could trigger a kernel panic by forcibly removing the driver or otherwise manipulating the device state.

Generated by OpenCVE AI on October 1, 2026 at 15:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel upgrade that includes commit 6f2a863e7e9adf6088fe644259576181e60ee5e5 or later, ensuring the tegra/soctherma driver uses devm_thermal_of_cooling_device_register() and unregisters devices on removal.
  • Rebuild any custom kernel configurations to incorporate the updated driver code and reinstall the kernel.
  • If an immediate kernel update is not possible, disable the Tegra soctherma driver or remove associated cooling devices from sysfs until the patched kernel can be deployed.

Generated by OpenCVE AI on October 1, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/tegra/soctherma: Switch to devm cooling device registration Use devm_thermal_of_cooling_device_register() 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 tegra_soctherm_remove() only called debugfs_remove_recursive() and never called thermal_cooling_device_unregister() for any of the cooling devices registered here. After the driver removal, the thermal framework's cdev list would still hold references to thermal_cooling_device 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.
Title thermal/drivers/tegra/soctherma: Switch to devm cooling device registration
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-03T10:58:43.093Z

Reserved: 2026-09-24T16:01:01.149Z

Link: CVE-2026-97475

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:24.800

Modified: 2026-10-03T11:17:57.737

Link: CVE-2026-97475

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97475 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T15:15:10Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference