CVE-2026-74604

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

8.4 high EPSS 0.14%

Published 22 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74604

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74604 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

8.4 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.38% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before 2434f4765da8ccd7ef31be88b86f1bfa2e95be11
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before 999e573212d5f1debf073c68be35e55bbfad12fc
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before 8d34019d1413629a434a7e8d9f91c76d256196a0
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before 6b446d335ba16e93a266dd77adf1ba51abc82df4
affected from 030a48b0f6ce393d78b8d33debb1e2043b8cc156, before ff8da20b6f47c48d46e47f93f7a59e2d56ee9107
Other versions: unaffected
Linux
affected 5.11
unaffected before 5.11
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.152 up to and including 6.6.*
unaffected from 6.12.104 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74604 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74604

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74604
trivy image --scanners vuln IMAGE | grep CVE-2026-74604

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74604 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.