CVE-2024-43856
Last modified
CVE-2024-43856 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: dma: fix call order in dmam_free_coherent dmam_free_coherent() frees a DMA allocation, which makes the freed vaddr available for reuse, then calls devres_destroy() to remove and free the data structure used to track the DMA allocation. Between the two calls, it is possible for a concurrent task to make an allocation with the same vaddr and add it to the devres list. If this happens, there will be two entries in the devres list with the same vaddr and devres_destroy() can free the wrong entry, triggering the WARN_ON() in dmam_match. Fix by destroying the devres entry before freeing the DMA allocation. kokonut //net/encryption http://sponge2/b9145fe6-0f72-4325-ac2f-a84d81075b03. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: dma: fix call order in dmam_free_coherent dmam_free_coherent() frees a DMA allocation, which makes the freed vaddr available for reuse, then calls devres_destroy() to remove and free the data structure used to track the DMA allocation. Between the two calls, it is possible for a concurrent task to make an allocation with the same vaddr and add it to the devres list. If this happens, there will be two entries in the devres list with the same vaddr and devres_destroy() can free the wrong entry, triggering the WARN_ON() in dmam_match. Fix by destroying the devres entry before freeing the DMA allocation. kokonut //net/encryption http://sponge2/b9145fe6-0f72-4325-ac2f-a84d81075b03
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 2.6.21, < 4.19.320 |
| Linux | Linux Kernel | >= 4.20, < 5.4.282 |
| Linux | Linux Kernel | >= 5.5, < 5.10.224 |
| Linux | Linux Kernel | >= 5.11, < 5.15.165 |
| Linux | Linux Kernel | >= 5.16, < 6.1.103 |
| Linux | Linux Kernel | >= 6.2, < 6.6.44 |
| Linux | Linux Kernel | >= 6.7, < 6.10.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-43856?
How severe is CVE-2024-43856?
How do I fix CVE-2024-43856?
Are you affected by CVE-2024-43856?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
