PT-2024-10495 · Linux+7 · Linux Kernel+7
Joao Pinto
·
Published
2024-04-07
·
Updated
2026-03-14
·
CVE-2024-40970
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the dw-axi-dmac component in the Linux kernel, where an error in resource management can cause a kernel panic due to an overrun of the hw desc array. This occurs when the number of allocated hw descs exceeds the expected amount, such as in a scenario where nr buffers = 3 and each descriptor is composed of 3 segments, resulting in 9 descs allocated. To address this, a proposal has been made to add a new member to the axi dma desc structure to track the number of allocated hw descs and use this information in axi desc put() to handle the hw desc array correctly. Additionally, removing the axi chan start first queued() call after completing the transfer has been suggested, as it can cause unbalance and interrupt started descriptors.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu