{"id":"CVE-2026-46021","aliases":["CVE-2026-46021"],"related":[],"kind":"vulnerability","state":"published","title":"thermal: core: Fix thermal zone governor cleanup issues","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-27T12:56:23.515Z","modified":"2026-11-10T13:19:13.840Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"a172fa18bc370b776ac1510abb0dcb50a7a35fac","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"8e563d8db50f303171aceb79eec0807e7ba06951","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"d4eb861adde5ce22e459fbd29366f47bb2167977","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"37a430a2d4e66ec8238da6c7f7e48809bf265e13","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"f412e541d25a3dfaf3d53e012ade6ff03cae8a45","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"75f8f3c3e09122270986de9d7aa347d701676761","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06","status":"affected"},{"type":"git","introduced":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","fixed":"41ff66baf81c6541f4f985dd7eac4494d03d9440","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a172fa18bc370b776ac1510abb0dcb50a7a35fac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e563d8db50f303171aceb79eec0807e7ba06951","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4eb861adde5ce22e459fbd29366f47bb2167977","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f412e541d25a3dfaf3d53e012ade6ff03cae8a45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75f8f3c3e09122270986de9d7aa347d701676761","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41ff66baf81c6541f4f985dd7eac4494d03d9440","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:05:28.766Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46021","url":"https://www.cve.org/CVERecord?id=CVE-2026-46021","licence":"CVE Terms of Use","modified":"2026-11-10T12:46:55.118Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46021","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46021","licence":"Public domain","modified":"2026-11-10T13:19:13.840Z"}],"updatedAt":"2026-11-25T22:59:22.548Z","epss":{"score":0.00181,"percentile":0.07976,"date":"2026-12-01T12:00:22.000Z"}}