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

CVE-2026-74604
HIGH 8.4

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < 2434f4765da8ccd7ef31be88b86f1bfa2e95be11 ; affected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366 ; affected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < 999e573212d5f1debf073c68be35e55bbfad12fc ; affected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a ; affected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < 8d34019d1413629a434a7e8d9f91c76d256196a0 ; affected 030a48b0f6ce393d78b8d33debb1e2043b8cc156 < 6b446d335ba16e93a266dd77adf1ba51abc82df4
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.* ; unaffected 6.12.104 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD