PT-2024-31342 · Linux+1 · Linux Kernel+1
Jonáš Vidra
+1
·
Published
2024-08-20
·
Updated
2024-10-10
·
CVE-2024-44976
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
A vulnerability in the Linux kernel has been resolved, specifically in the
ata: pata macio component. The issue was caused by a commit that increased max segment size to 64KB, which led to a DMA table overflow when a sufficiently large request was made. This overflow triggered a BUG ON() exception, causing the system to crash. The bug was reported by Kolbjørn and Jonáš, who experienced crashes on their 32-bit PowerMacs. The vulnerability can be exploited when the request size exceeds the limit set by max sectors kb, which can be increased by some distros using udev rules.Recommendations
To fix the bug for 4KB kernels, revert to the old
max segment size.
For 64KB kernels, halve the sg tablesize to allow for the possibility that each sg will be split into two commands.Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel