Skip to content
Heist/ feed
Unrated

thermal: hwmon: Remove hwmon class device along with its parent

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: thermal: hwmon: Remove hwmon class device along with its parent The current code creates one hwmon device per thermal zone type and that device is registered under the first thermal zone of the given type. That turns out to be problematic when the thermal zone holding the hwmon device is removed. For example, say that there are two ACPI thermal zones on a system /sys/devices/virtual/thermal/thermal_zone0/ /sys/devices/virtual/thermal/thermal_zone1/ The current code registers a hwmon class device for thermal_zone0 only: /sys/devices/virtual/thermal/thermal_zone0/hwmon0/ because the type is "acpitz" for both of them, but it adds a sysfs attribute that belongs to thermal_zone1 under it: /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp2_input There is also /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp1_input which belongs to thermal_zone0. When thermal_zone0 is removed, say because the ACPI thermal driver is unbound from the underlying platform device, thermal_remove_hwmon_sysfs() skips the removal of hwmon0 because of the temp2_input attribute belonging to thermal_zone1 which effectively prevents thermal_zone0 removal from making progress. Address this by making thermal_remove_hwmon_sysfs() remove the entire hwmon class device interface for the given thermal zone type when the thermal zone device holding it is removed. To prevent races with thermal_add_hwmon_sysfs() that may interfere with this, c

Announced Source revision 1
Original source ↗

CVE-2026-90311

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90311

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5",
        "lessThan": "df002834cfd880b800fa607135e4bb2e403ce187",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5",
        "lessThan": "23094544b8e8c43909fd61ca8866ecfe38093ae8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5",
        "lessThan": "9b405b3e7e131ee85dd78b9cc951b41f0828a333",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5",
        "lessThan": "4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5",
        "lessThan": "2b57e24d34b2dfc43c81942bb359d6315bf302fb",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/thermal/thermal_hwmon.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/thermal/thermal_hwmon.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90311

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48657 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement