PT-2024-29212 · Linux+5 · Linux Kernel+5
David Hildenbrand
+1
·
Published
2024-07-03
·
Updated
2026-05-26
·
CVE-2024-41031
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 versions prior to 6.6.43
Description
The Linux kernel has a vulnerability related to the creation of PMD-sized page cache. On ARM64 systems, when the base page size is 64KB, HPAGE PMD ORDER is 13, which cannot be supported by xarray. This results in error messages indicating a problem with the
xas split alloc function. The issue arises when the size of the PMD-sized page cache exceeds MAX PAGECACHE ORDER. To resolve this, the kernel will skip allocating PMD-sized page cache when its size is larger than MAX PAGECACHE ORDER and fall back to the regular path, where the readahead window is determined by BDI's sysfs file (read ahead kb).Recommendations
To resolve the issue, update the Linux kernel to version 6.6.43 or later. If updating is not possible, consider temporarily disabling the
xas split alloc function or restricting the use of PMD-sized page cache until a patch is available. Additionally, ensure that BDI's sysfs file (read ahead kb) is properly configured to determine the readahead window.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Suse
Ubuntu