System hang via exFAT reclaim lock inversion
Published Aug 17, 2024 · Updated May 23, 2026
Improper locking in Linux kernel exFAT support allows local users to hang the system by accessing a directory with excessive entries. The __exfat_get_dentry_set path allocates a buffer-head array with GFP_KERNEL while sbi->s_lock is held, allowing filesystem reclaim to invert the same lock against inode eviction. Local access to an exFAT filesystem containing more than ES_MAX_ENTRY_NUM directory entries is required, and the resulting deadlock interrupts the host.
Summary
What happened
Improper locking in Linux kernel exFAT support allows local users to hang the system by accessing a directory with excessive entries. The __exfat_get_dentry_set path allocates a buffer-head array with GFP_KERNEL while sbi->s_lock is held, allowing filesystem reclaim to invert the same lock against inode eviction. Local access to an exFAT filesystem containing more than ES_MAX_ENTRY_NUM directory entries is required, and the resulting deadlock interrupts the host.
The record
- CVE
- CVE-2024-42315
- Published
- Aug 17, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 17, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=5.10.190 <5.10.232
- Affected versionversion=5.15.150 <5.15.175
- Affected versionversion=6.2
- Affected versionversion=92dcd7d6c6068bf4fd35a6f64d606e27d634807e <c052f775ee6ccacd3c97e4cf41a2a657e63d4259
- Affected versionversion=a3ff29a95fde16906304455aa8c0bd84eb770258 <1d1970493c289e3f44b9ec847ed26a5dbdf56a62
- Affected versionversion=a3ff29a95fde16906304455aa8c0bd84eb770258 <89fc548767a2155231128cb98726d6d2ea1256c9
- Affected versionversion=a3ff29a95fde16906304455aa8c0bd84eb770258 <a7ac198f8dba791e3144c4da48a5a9b95773ee4b
- Affected versionversion=bd3bdb9e0d656f760b11d0c638d35d7f7068144d <632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb
- Affected versionversion=d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c <cd1c7858641384191ff7033fb1fc65dfcd559c6f
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.
Public exploit references
No public exploit references are available in this record.
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