Skip to content
Heist/ feed
Unrated

thermal: core: Fix thermal zone governor cleanup issues

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: thermal: core: Fix thermal zone governor cleanup issues If thermal_zone_device_register_with_trips() fails after adding a thermal governor to the thermal zone being registered, the governor is not removed from it as appropriate which may lead to a memory leak. In turn, thermal_zone_device_unregister() calls thermal_set_governor() without acquiring the thermal zone lock beforehand which may race with a governor update via sysfs and may lead to a use-after-free in that case. Address these issues by adding two thermal_set_governor() calls, one to thermal_release() to remove the governor from the given thermal zone, and one to the thermal zone registration error path to cover failures preceding the thermal zone device registration.

Announced Source revision 1
Original source ↗

CVE-2026-46021

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-46021

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": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "a172fa18bc370b776ac1510abb0dcb50a7a35fac",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "8e563d8db50f303171aceb79eec0807e7ba06951",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "d4eb861adde5ce22e459fbd29366f47bb2167977",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "37a430a2d4e66ec8238da6c7f7e48809bf265e13",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "f412e541d25a3dfaf3d53e012ade6ff03cae8a45",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "75f8f3c3e09122270986de9d7aa347d701676761",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
        "lessThan": "41ff66baf81c6541f4f985dd7eac4494d03d9440",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/thermal/thermal_core.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.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.259",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.210",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.176",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.140",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.86",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.27",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/thermal/thermal_core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-46021

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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