CVE-2024-36932
thermal/debugfs: Prevent use-after-free from occurring after cdev removal
Reported by linux · Published May 30, 2024
In the Linux kernel, the following vulnerability has been resolved: thermal/debugfs: Prevent use-after-free from occurring after cdev removal Since thermal_debug_cdev_remove() does not run under cdev->lock, it can run in parallel with thermal_debug_cdev_state_update() and it may free the struct thermal_debugfs object used by the latter after it has been checked against NULL. If that happens, thermal_debug_cdev_state_update() will access memory that has been freed already causing the kernel to crash. Address this by using cdev->lock in thermal_debug_cdev_remove() around the cdev->debugfs value check (in case the same cdev is removed at the same time in two different threads) and its reset to NULL. Cc :6.8+ <stable@vger.kernel.org> # 6.8+
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 755113d7678681a137c330f7997ceb680adb644e, 755113d7678681a137c330f7997ceb680adb644e |
| Linux | Linux | 6.8, 0, 6.8.10 |
| linux | linux_kernel | 6.8, 6.8 |
| Linux | Linux | 6.9, 755113d7678681a137c330f7997ceb680adb644e, 755113d7678681a137c330f7997ceb680adb644e |
| linux | linux_kernel | 755113d76786, 0, 6.8.10 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 9, 2026 Security Advisory (323 in total, the first dated here)
- Mar 31, 2026 Distribution Patch (227 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36932
vulnetix vdb fixes CVE-2024-36932
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36932/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart