Kernel memory disclosure via unchecked xattr length
Published Apr 3, 2024 · Updated Aug 5, 2026
Out-of-bounds read in the Linux kernel ntfs3 driver allows local users to read kernel memory or crash the system via crafted NTFS metadata. ntfs_list_ea trusts an extended-attribute name_len value and copies that many bytes even when the name exceeds the remaining EA record space. Exploitation requires local access to invoke listxattr on an NTFS3 filesystem containing the malformed metadata; no integrity impact is reported.
Summary
What happened
Out-of-bounds read in the Linux kernel ntfs3 driver allows local users to read kernel memory or crash the system via crafted NTFS metadata. ntfs_list_ea trusts an extended-attribute name_len value and copies that many bytes even when the name exceeds the remaining EA record space. Exploitation requires local access to invoke listxattr on an NTFS3 filesystem containing the malformed metadata; no integrity impact is reported.
The record
- CVE
- CVE-2023-52640
- Published
- Apr 3, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 3, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <0830c5cf19bdec50d0ede4755ddc463663deb21c
- Affected versionversion=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <52fff5799e3d1b5803ecd2f5f19c13c65f4f7b23
- Affected versionversion=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <6ed6cdbe88334ca3430c5aee7754dc4597498dfb
- Affected versionversion=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <731ab1f9828800df871c5a7ab9ffe965317d3f15
- Affected versionversion=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <a585faf0591548fe0920641950ebfa8a6eefe1cd
- Affected versionversion=5.15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot ntfs_listxattr C reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo