Skip to main content
Mallory
HighVulnerability

CVE-2024-41013: Out-of-bounds read in Linux kernel XFS directory processing

Published Jul 29, 2024 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v3.1
EPSS0.32%17th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2024-41013CWE-125 · Out-of-bounds Read

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.