{"api_version":"1","generated_at":"2026-06-11T14:57:17+00:00","cve":"CVE-2026-46021","urls":{"html":"https://cve.report/CVE-2026-46021","api":"https://cve.report/api/cve/CVE-2026-46021.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46021","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46021"},"summary":{"title":"thermal: core: Fix thermal zone governor cleanup issues","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:20","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06","name":"https://git.kernel.org/stable/c/64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/41ff66baf81c6541f4f985dd7eac4494d03d9440","name":"https://git.kernel.org/stable/c/41ff66baf81c6541f4f985dd7eac4494d03d9440","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13","name":"https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f412e541d25a3dfaf3d53e012ade6ff03cae8a45","name":"https://git.kernel.org/stable/c/f412e541d25a3dfaf3d53e012ade6ff03cae8a45","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75f8f3c3e09122270986de9d7aa347d701676761","name":"https://git.kernel.org/stable/c/75f8f3c3e09122270986de9d7aa347d701676761","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46021","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46021","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 37a430a2d4e66ec8238da6c7f7e48809bf265e13 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 f412e541d25a3dfaf3d53e012ade6ff03cae8a45 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 75f8f3c3e09122270986de9d7aa347d701676761 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 41ff66baf81c6541f4f985dd7eac4494d03d9440 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.86 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46021","cve":"CVE-2026-46021","epss":"0.000180000","percentile":"0.050770000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"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":"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":"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-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"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-rc1","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-05-27T12:56:23.515Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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-05-27T12:56:23.515Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:20","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46021","Ordinal":"1","Title":"thermal: core: Fix thermal zone governor cleanup issues","CVE":"CVE-2026-46021","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46021","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"thermal: core: Fix thermal zone governor cleanup issues"}]}}}