What’s Vulnerable › Vulnerabilities
CVE-2026-74604: Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-22 · updated 2026-10-16
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.
Affected products
- Linux kernel: 5.11 — fixed in 7.2
How to fix
Upgrade to a fixed version: Linux kernel 7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11
- https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a
- https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4
- https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0
- https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc
- https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366
- https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107
Get alerted when CVE-2026-74604 or the next vulnerability affects your stack