CVE-2026-74604

Revert "thermal/drivers/hwmon: Cleanup coding style a bit"

State
Published
Severity
8.4 High
Published
Aug 22, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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

Revert "thermal/drivers/hwmon: Cleanup coding style a bit"

Revert commit 030a48b0f6ce ("thermal/drivers/hwmon: Cleanup coding style a bit") that introduced a use-after-free into the error path of thermal_add_hwmon_sysfs() by removing a valid check from it.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before 2434f4765da8ccd7ef31be88b86f1bfa2e95be11Affected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366Affected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before 999e573212d5f1debf073c68be35e55bbfad12fcAffected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519aAffected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before 8d34019d1413629a434a7e8d9f91c76d256196a0Affected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before 6b446d335ba16e93a266dd77adf1ba51abc82df4Affected
  • 030a48b0f6ce393d78b8d33debb1e2043b8cc156 to before ff8da20b6f47c48d46e47f93f7a59e2d56ee9107Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.152 through 6.6.*Not affected
  • 6.12.104 through 6.12.*Not affected
  • 6.18.45 through 6.18.*Not affected
  • 7.1.9 through 7.1.*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.