{"id":"CVE-2026-43332","state":"PUBLISHED","title":"thermal: core: Fix thermal zone device registration error path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal: core: Fix thermal zone device registration error path\n\nIf thermal_zone_device_register_with_trips() fails after registering\na thermal zone device, it needs to wait for the tz->removal completion\nlike thermal_zone_device_unregister(), in case user space has managed\nto take a reference to the thermal zone device's kobject, in which case\nthermal_release() may not be called by the error path itself and tz may\nbe freed prematurely.\n\nAdd the missing wait_for_completion() call to the thermal zone device\nregistration error path.","publishedAt":"2026-05-08T13:31:19.460Z","updatedAt":"2026-10-19T19:16:26.610Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"335176dd8ebaca6493807dceea33c478305667fa","status":"affected","lessThan":"9e796001af97a1f7368d5114b7a8533dd98d797a","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"604da9c04c218362e1c1457304ebeb9c199d537c","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"c4c7219e93319bba9ba0765dee597784c78f63c5","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"4d390f0e507dfb16d58f83a58d78d1150dc8b9d7","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"9e07e3b81807edd356e1f794cffa00a428eff443","versionType":"git"},{"version":"02871710b93058eb1249d5847c0b2d1c2c3c98ae","status":"affected","versionType":"git"},{"version":"6.6.14","status":"affected","lessThan":"6.6.134","versionType":"semver"},{"version":"6.7.2","status":"affected","lessThan":"6.8","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.134","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.81","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"]}],"references":["https://git.kernel.org/stable/c/9e796001af97a1f7368d5114b7a8533dd98d797a","https://git.kernel.org/stable/c/604da9c04c218362e1c1457304ebeb9c199d537c","https://git.kernel.org/stable/c/c4c7219e93319bba9ba0765dee597784c78f63c5","https://git.kernel.org/stable/c/4d390f0e507dfb16d58f83a58d78d1150dc8b9d7","https://git.kernel.org/stable/c/9e07e3b81807edd356e1f794cffa00a428eff443"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43332.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43332","state":"PUBLISHED","datePublished":"2026-05-08T13:31:19.460Z","dateUpdated":"2026-10-19T19:16:26.610Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.002Z"},"containers":{"cna":{"title":"thermal: core: Fix thermal zone device registration error path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal: core: Fix thermal zone device registration error path\n\nIf thermal_zone_device_register_with_trips() fails after registering\na thermal zone device, it needs to wait for the tz->removal completion\nlike thermal_zone_device_unregister(), in case user space has managed\nto take a reference to the thermal zone device's kobject, in which case\nthermal_release() may not be called by the error path itself and tz may\nbe freed prematurely.\n\nAdd the missing wait_for_completion() call to the thermal zone device\nregistration error path."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"335176dd8ebaca6493807dceea33c478305667fa","status":"affected","lessThan":"9e796001af97a1f7368d5114b7a8533dd98d797a","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"604da9c04c218362e1c1457304ebeb9c199d537c","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"c4c7219e93319bba9ba0765dee597784c78f63c5","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"4d390f0e507dfb16d58f83a58d78d1150dc8b9d7","versionType":"git"},{"version":"04e6ccfc93c5a1aa1d75a537cf27e418895e20ea","status":"affected","lessThan":"9e07e3b81807edd356e1f794cffa00a428eff443","versionType":"git"},{"version":"02871710b93058eb1249d5847c0b2d1c2c3c98ae","status":"affected","versionType":"git"},{"version":"6.6.14","status":"affected","lessThan":"6.6.134","versionType":"semver"},{"version":"6.7.2","status":"affected","lessThan":"6.8","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.134","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.81","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/thermal_core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9e796001af97a1f7368d5114b7a8533dd98d797a"},{"url":"https://git.kernel.org/stable/c/604da9c04c218362e1c1457304ebeb9c199d537c"},{"url":"https://git.kernel.org/stable/c/c4c7219e93319bba9ba0765dee597784c78f63c5"},{"url":"https://git.kernel.org/stable/c/4d390f0e507dfb16d58f83a58d78d1150dc8b9d7"},{"url":"https://git.kernel.org/stable/c/9e07e3b81807edd356e1f794cffa00a428eff443"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is thermal zone registration/error handling exposed through local kernel device/sysfs activity, not through remote packets or an adjacent/physical protocol.\nAC:L - The race is between local userspace taking a sysfs/kobject reference and the registration error path dropping the device reference; a local attacker can influence the reference side and resource pressure, so under the overestimate rule this is low complexity.\nPR:L - No capability is needed to take references to readable thermal sysfs objects, and a basic local user can race that exposure; root-only debugfs testing paths also exist, but the higher-severity defensible metric is low privileges.\nUI:N - Exploitation does not require a separate victim to open a file or mount anything; the attacker can run local code to monitor/open the thermal sysfs object during registration failure.\nS:U - The corrupted object is in the kernel thermal core and impacts the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossing.\nC:H - The missing wait can free the thermal zone while a kobject reference keeps release deferred, producing a use-after-free on a kernel object; such memory corruption can be leveraged for kernel memory disclosure.\nI:H - The delayed release path dereferences and frees fields from the prematurely freed thermal zone, giving exploitable heap corruption/use-after-free conditions that can support arbitrary modification or code execution.\nA:H - Even without full exploitation, the use-after-free in the device release path can cause kernel oops/panic or heap corruption, resulting in high availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:27:17.446Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.14","versionEndExcluding":"6.6.134"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.81"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-43332","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:16:27.233039Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","type":"CWE","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T19:16:26.610Z"}}]}}}