# CVE-2026-74604: Revert "thermal/drivers/hwmon: Cleanup coding style a bit"

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-08-22T15:31:52.295Z
- Modified: 2026-10-16T20:17:45.607Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before 2434f4765da8ccd7ef31be88b86f1bfa2e95be11; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before 999e573212d5f1debf073c68be35e55bbfad12fc; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before 8d34019d1413629a434a7e8d9f91c76d256196a0; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before 6b446d335ba16e93a266dd77adf1ba51abc82df4; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156 before ff8da20b6f47c48d46e47f93f7a59e2d56ee9107; 5.11 (not affected: before 5.11; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.152 up to 6.6.*; from 6.12.104 up to 6.12.*; from 6.18.45 up to 6.18.*; from 7.1.9 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11>
- <https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366>
- <https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc>
- <https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a>
- <https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0>
- <https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4>
- <https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107>

## Sources

- CVE List: [CVE-2026-74604](https://www.cve.org/CVERecord?id=CVE-2026-74604), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-74604](https://nvd.nist.gov/vuln/detail/CVE-2026-74604), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74604 · Whole record: https://cve.day/CVE-2026-74604.json · Rebuilt by cve.day 2026-11-25T22:59:34.892Z
