CVE-2024-41013: Out-of-bounds read in Linux kernel XFS directory processing
- Vendor
- Linux
CVE-2024-41013 is an out-of-bounds read vulnerability in Linux kernel XFS directory data-block processing. Directory traversal validates the starting offsets of xfs_dir2_data_unused and xfs_dir2_data_entry structures without adequately checking that sufficient bytes remain for their fixed members. A crafted filesystem image can shorten the final unused entry by one byte, leaving a one-byte remainder that subsequent traversal interprets as another entry. Accessing that apparent entry can read beyond the valid directory data block, potentially compromising confidentiality or system availability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Processing a malformed XFS directory data block can trigger an out-of-bounds kernel read, potentially causing a kernel fault and denial of service or exposing kernel memory. The vulnerability-specific CVSS v3 assessment assigns high confidentiality and availability impacts and no integrity impact. A demonstrated information-disclosure mechanism, arbitrary code execution, and privilege escalation are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted XFS filesystem images or attacker-modified XFS volumes from being mounted and processed on affected systems. Restrict access to raw block devices and workflows that mount user-supplied images. These precautions reduce exposure but do not replace the kernel update; no vulnerability-specific vendor workaround is identified.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the fix for CVE-2024-41013 and reboot into the updated kernel. The fix validates the remaining space before accessing unused-entry structures, enforces XFS_DIR2_DATA_ALIGN alignment, and requires enough remaining bytes for a directory entry with a single-byte name. Applicable updates include RHEL 9 advisory RHSA-2024:8617 and Echo Linux kernel package version 6.1.147-1 or later; use the update appropriate to the installed distribution and kernel stream.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-41013 exploited in the wild?
- As of Nov 21, 2026, Mallory has no reports of CVE-2024-41013 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-41013?
- As of Nov 21, 2026, Mallory has found no public exploit for CVE-2024-41013.
- Is there a patch for CVE-2024-41013?
- Install a vendor-supported kernel update containing the fix for CVE-2024-41013 and reboot into the updated kernel. The fix validates the remaining space before accessing unused-entry structures, enforces XFS_DIR2_DATA_ALIGN alignment, and requires enough remaining bytes for a directory entry with a single-byte name.
- What products are affected by CVE-2024-41013?
- Linux Kernel.
- How severe is CVE-2024-41013?
- CVE-2024-41013 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.32% (17th percentile) as of Nov 21, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.