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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A use‑after‑free flaw was introduced into the error path of the thermal_add_hwmon_sysfs function when a validity check was removed. The defect can corrupt kernel memory or cause the system to crash, potentially allowing an attacker with local access to gain kernel privileges or destabilize the system. The vulnerability arises from improper handling of a freed object that may still be in use.

Affected Systems

Linux kernel, all releases that contain commit 030a48b0f6ce before it was reverted. The fix is included in recent stable kernel releases that incorporate the revert of that commit.

Risk and Exploitability

Because the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, no public exploitation data exists yet. Nonetheless, the use‑after‑free flaw in a core kernel subsystem provides a high‑impact local attack vector; an attacker with physical or local logon access could trigger memory corruption leading to privilege escalation or denial of service.

Generated by OpenCVE AI on August 22, 2026 at 16:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the system to a Linux kernel version that incorporates the revert commit, which restores the missing validity check.
  • Verify that the kernel code does not include commit 030a48b0f6ce by comparing the kernel source with the official repository or checking the commit history for the revert hash.
  • If an upgrade is not immediately possible, apply kernel hardening such as enabling KASLR, page‑fault protection, and stack mitigation, and consider disabling the thermal_hwmon subsystem or restricting sysfs permissions to limit exposure.

Generated by OpenCVE AI on August 22, 2026 at 16:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-22T15:31:52.295Z

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-22T16:16:32.860

Link: CVE-2026-74604

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T17:30:02Z

Weaknesses