CVE-2023-2513: Use-After-Free in Linux Kernel ext4 Extended-Attribute Handling
- Vendors
- LinuxRed Hat
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.
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.
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-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.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.