CVE-2025-37738: Use-after-free in Linux kernel ext4 extended-attribute cleanup
- Vendors
- Debian ProjectLinux
CVE-2025-37738 is a use-after-free vulnerability in the Linux kernel ext4 filesystem extended-attribute cleanup path. The ext4_xattr_inode_dec_ref_all() function could process extended-attribute entries located beyond the valid end entry during inode deletion and eviction. This resulted in a KASAN-detected four-byte read from a freed slab object. The fix makes ext4 ignore xattr entries past the applicable end boundary.
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 invalid extended-attribute entries beyond the end boundary can cause the kernel to dereference freed memory in ext4_xattr_inode_dec_ref_all(). The reported failure is a slab use-after-free read during inode deletion and eviction. The supplied information does not establish a reliable confidentiality, integrity, availability, or privilege-escalation outcome beyond the invalid kernel memory access.
Mitigation
If you can’t patch tonight, do this now.
Until the kernel update can be deployed, restrict untrusted local access to affected systems and reduce exposure to optional kernel attack surfaces where operationally feasible. No CVE-specific workaround is identified; applying the updated kernel and rebooting is the primary mitigation.
Remediation
Patch, then assume compromise.
Install the vendor-supplied Linux kernel update containing the ext4 fix, then reboot the system so that the patched kernel is running. Red Hat advisories for affected RHEL releases provide updated kernel packages that cause ext4 to ignore extended attributes beyond the valid end of data.
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-2025-37738 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2025-37738 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-37738?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2025-37738.
- Is there a patch for CVE-2025-37738?
- Install the vendor-supplied Linux kernel update containing the ext4 fix, then reboot the system so that the patched kernel is running. Red Hat advisories for affected RHEL releases provide updated kernel packages that cause ext4 to ignore extended attributes beyond the valid end of data.
- What products are affected by CVE-2025-37738?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-37738?
- CVE-2025-37738 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.31% (17th percentile) as of Oct 16, 2026.
Recent activity
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.