{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46021","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-05-13T15:03:33.092Z","datePublished":"2026-05-27T12:56:23.515Z","dateUpdated":"2026-06-19T11:59:02.097Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-06-19T11:59:02.097Z"},"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"],"versions":[{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"a172fa18bc370b776ac1510abb0dcb50a7a35fac","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"8e563d8db50f303171aceb79eec0807e7ba06951","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"d4eb861adde5ce22e459fbd29366f47bb2167977","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"37a430a2d4e66ec8238da6c7f7e48809bf265e13","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"f412e541d25a3dfaf3d53e012ade6ff03cae8a45","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"75f8f3c3e09122270986de9d7aa347d701676761","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06","status":"affected","versionType":"git"},{"version":"e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8","lessThan":"41ff66baf81c6541f4f985dd7eac4494d03d9440","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"],"versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"5.10.259","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.210","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.176","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.140","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.86","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.27","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.4","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"5.10.259"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"5.15.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.6.140"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.12.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.18.27"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.0.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.1"}]}]}],"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"}}}}