PT-2024-6174 · Linux+6 · Linux Kernel+6

Published

2024-07-03

·

Updated

2026-03-13

·

CVE-2024-42243

CVSS v3.1

5.5

Medium

VectorAV: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.40/6.9.9
Description The vulnerability is related to the Linux kernel's file mapping functionality, specifically with the xarray data structure. The issue arises because xarray cannot support arbitrary page cache sizes, leading to a potential denial-of-service (DoS) condition when a WARN ON statement is triggered in the xas split alloc function. This can occur on systems with a base page size of 64KB and a huge page size of 512MB. The vulnerability was reported a long time ago, and discussions about it can be found on the Linux-XFS mailing list. To fix the issue, adjustments to MAX PAGECACHE ORDER are necessary to make it compatible with xarray, and PMD-sized page caches should be avoided if needed.
Recommendations To resolve the issue, apply the patch series "mm/filemap: Limit page cache size to that supported by xarray", v2, which includes the following patches:
  • PATCH[1] adjusts MAX PAGECACHE ORDER to that supported by xarray.
  • PATCH[2-3] avoids PMD-sized page cache in the synchronous readahead path.
  • PATCH[4] avoids PMD-sized page cache for shmem files if needed. Update the Linux kernel to a version that includes these patches, such as version 6.6.40 or later, or 6.9.9 or later.

Exploit

Fix

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-47516
BDU:2024-07094
CVE-2024-42243
ECHO-49FA-229D-AFDB
OESA-2024-2124
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
RHSA-2024:10771
RHSA-2024:6744
RHSA-2024:6745
SUSE-SU-2024:3551-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Suse
Ubuntu