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.
Published: 2026-08-22
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

A use‑after‑free flaw was introduced in the Linux kernel’s thermal_add_hwmon_sysfs function when a validity check was removed during a commit cleanup. On the error path, the missing check allows an attacker with local or physical access to trigger kernel memory corruption. The resulting corruption can lead to kernel‑level privilege escalation or system instability.

Affected Systems

All Linux kernel releases that contain commit 030a48b0f6ce and have not yet incorporated the revert. Kernel versions newer than the fix contain the revert commit, restoring the required validity check and eliminating the vulnerability.

Risk and Exploitability

The CVSS score of 8.4 indicates a high‑severity local vulnerability, while an EPSS score of < 1% shows a low probability of current exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation would require local or physical access to exercise the error path, but once achieved it could allow an attacker to gain kernel privileges or crash the system.

Generated by OpenCVE AI on August 25, 2026 at 15:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the revert commit that restores the missing validity check.
  • If an upgrade is not possible, disable the thermal_hwmon subsystem, or remove the related kernel module from the initramfs to eliminate the exploitation surface.
  • Apply kernel hardening such as KASLR, page‑fault protection, stack and address‑space randomization, and reduce the permissions on /sys/class/hwmon to limit local exploitation attempts.

Generated by OpenCVE AI on August 25, 2026 at 15:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 25 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 25 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 22 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-25T05:40:28.622Z

Reserved: 2026-08-15T05:44:03.919Z

Link: CVE-2026-74604

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:32.860

Modified: 2026-08-25T06:18:36.557

Link: CVE-2026-74604

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74604 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T16:00:15Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference