---
id: CVE-2026-74604
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
published: '2026-08-22'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74604'
references:
  - url: 'https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00138
epssPercentile: 0.02777
ingestedAt: '2026-10-14T13:30:58.513Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
