CVE-2026-46021 (GCVE-0-2026-46021)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:56 – Updated: 2026-06-19 11:59
VLAI?
Title
thermal: core: Fix thermal zone governor cleanup issues
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < a172fa18bc370b776ac1510abb0dcb50a7a35fac (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < 8e563d8db50f303171aceb79eec0807e7ba06951 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < d4eb861adde5ce22e459fbd29366f47bb2167977 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < 37a430a2d4e66ec8238da6c7f7e48809bf265e13 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < f412e541d25a3dfaf3d53e012ade6ff03cae8a45 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < 75f8f3c3e09122270986de9d7aa347d701676761 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < 64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06 (git)
Affected: e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 , < 41ff66baf81c6541f4f985dd7eac4494d03d9440 (git)
Create a notification for this product.
    Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.140 , ≤ 6.6.* (semver)
Unaffected: 6.12.86 , ≤ 6.12.* (semver)
Unaffected: 6.18.27 , ≤ 6.18.* (semver)
Unaffected: 7.0.4 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/thermal/thermal_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a172fa18bc370b776ac1510abb0dcb50a7a35fac",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "8e563d8db50f303171aceb79eec0807e7ba06951",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "d4eb861adde5ce22e459fbd29366f47bb2167977",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "37a430a2d4e66ec8238da6c7f7e48809bf265e13",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "f412e541d25a3dfaf3d53e012ade6ff03cae8a45",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "75f8f3c3e09122270986de9d7aa347d701676761",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            },
            {
              "lessThan": "41ff66baf81c6541f4f985dd7eac4494d03d9440",
              "status": "affected",
              "version": "e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/thermal/thermal_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.27",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.140",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.86",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.27",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.4",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nthermal: core: Fix thermal zone governor cleanup issues\n\nIf thermal_zone_device_register_with_trips() fails after adding\na thermal governor to the thermal zone being registered, the\ngovernor is not removed from it as appropriate which may lead to\na memory leak.\n\nIn turn, thermal_zone_device_unregister() calls thermal_set_governor()\nwithout acquiring the thermal zone lock beforehand which may race with\na governor update via sysfs and may lead to a use-after-free in that\ncase.\n\nAddress these issues by adding two thermal_set_governor() calls, one to\nthermal_release() to remove the governor from the given thermal zone,\nand one to the thermal zone registration error path to cover failures\npreceding the thermal zone device registration."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-19T11:59:02.097Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a172fa18bc370b776ac1510abb0dcb50a7a35fac"
        },
        {
          "url": "https://git.kernel.org/stable/c/8e563d8db50f303171aceb79eec0807e7ba06951"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4eb861adde5ce22e459fbd29366f47bb2167977"
        },
        {
          "url": "https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13"
        },
        {
          "url": "https://git.kernel.org/stable/c/f412e541d25a3dfaf3d53e012ade6ff03cae8a45"
        },
        {
          "url": "https://git.kernel.org/stable/c/75f8f3c3e09122270986de9d7aa347d701676761"
        },
        {
          "url": "https://git.kernel.org/stable/c/64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06"
        },
        {
          "url": "https://git.kernel.org/stable/c/41ff66baf81c6541f4f985dd7eac4494d03d9440"
        }
      ],
      "title": "thermal: core: Fix thermal zone governor cleanup issues",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46021",
    "datePublished": "2026-05-27T12:56:23.515Z",
    "dateReserved": "2026-05-13T15:03:33.092Z",
    "dateUpdated": "2026-06-19T11:59:02.097Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…