Skip to main content
Mallory
MediumVulnerability

CVE-2023-2513: Use-After-Free in Linux Kernel ext4 Extended-Attribute Handling

Published May 8, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.7Medium · v3.1
EPSS0.30%16th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
LinuxRed Hat
IdentifiersCVE-2023-2513CWE-416 · Use After Free

CVE-2023-2513 is a use-after-free vulnerability in the Linux kernel ext4 filesystem's extended-attribute handling. The flaw occurs in ext4_xattr_set_entry() while processing extra inode size for extended attributes. A privileged local user with write access to an affected ext4 filesystem can trigger use of freed memory when the filesystem is mounted using the debug_want_extra_isize=128 debug option.

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.

Successful exploitation can crash the system or produce undefined kernel behavior. As a kernel memory-safety flaw, the use-after-free may potentially affect confidentiality, integrity, and availability through memory disclosure or corruption, depending on memory reuse and exploitability conditions. The documented direct impact is local denial of service or undefined behavior.

Mitigation

If you can’t patch tonight, do this now.

Do not mount production ext4 filesystems with the debug_want_extra_isize=128 debug mount option. Restrict write access to ext4 filesystems to trusted privileged users until the patched kernel is deployed.

Remediation

Patch, then assume compromise.

Install the vendor-provided Linux kernel or kernel-rt security update appropriate to the affected distribution, product stream, and architecture, then reboot to load the updated kernel. Red Hat fixes are available through relevant RHEL 8 and RHEL 9 kernel advisories, including RHSA-2023:2458, RHSA-2023:2148, RHSA-2023:6901, RHSA-2023:7077, RHSA-2024:0412, and subsequent supported-stream updates.

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
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2023-2513 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-2513 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-2513?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-2513.
Is there a patch for CVE-2023-2513?
Install the vendor-provided Linux kernel or kernel-rt security update appropriate to the affected distribution, product stream, and architecture, then reboot to load the updated kernel. Red Hat fixes are available through relevant RHEL 8 and RHEL 9 kernel advisories, including RHSA-2023:2458, RHSA-2023:2148, RHSA-2023:6901, RHSA-2023:7077, RHSA-2024:0412, and subsequent supported-stream updates.
What products are affected by CVE-2023-2513?
Linux Kernel and Red Hat Enterprise Linux.
How severe is CVE-2023-2513?
CVE-2023-2513 has a CVSS v3.1 score of 6.7 (Medium) and an EPSS score of 0.30% (16th percentile) as of Oct 16, 2026.
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.