CVE-2026-97475

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

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Oct 3, 2026
Reserved
Sep 24, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before 78a2ba09fd7501df09239c7e3c311c80c259ed31Affected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before 0c65f786a69402620306828aa19817fd71f37f4bAffected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before e777ab46db8c2addffe801274d713252318ef750Affected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before a643ce49ddcdbdec173e7bbf4c32c897e0293ba9Affected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before 6f2a863e7e9adf6088fe644259576181e60ee5e5Affected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before deaeb7be8e6b04c8b71080acba1bd88698f56b1dAffected
  • ce0dbf04f685d48ffdec64a17ebb4965f828c3ff to before ee126267bc04bfb03816ae9d71ca24c5bf99e739Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.