CVE-2024-42315: Linux kernel · exfat: fix potential deadlock on __exfat_get_dentry_set
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:36 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that changes the memory allocation flag from GFP_KERNEL to GFP_NOFS for the bh-array in the exFAT driver. Users should apply the official Linux kernel patches that address this issue once released. Until then, no other specific mitigations are indicated.
Description
CVE-2024-42315 is a medium-severity vulnerability in the Linux kernel's exFAT filesystem driver. It involves a potential deadlock condition triggered when accessing files with more entries than ES_MAX_ENTRY_NUM. The issue arises because the buffer head array (bh-array) is allocated with GFP_KERNEL, which can cause a deadlock on the sbi->s_lock between concurrent processes. The fix involves changing the allocation to GFP_NOFS to prevent this deadlock.
References
- nvd.nist.gov/vuln/detail/CVE-2024-42315 (opens in a new tab)
- git.kernel.org/stable/c/1d1970493c289e3f44b9ec847ed26a5dbdf56a62 (opens in a new tab)
- git.kernel.org/stable/c/632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb (opens in a new tab)
- git.kernel.org/stable/c/89fc548767a2155231128cb98726d6d2ea1256c9 (opens in a new tab)
- git.kernel.org/stable/c/a7ac198f8dba791e3144c4da48a5a9b95773ee4b (opens in a new tab)
- git.kernel.org/stable/c/c052f775ee6ccacd3c97e4cf41a2a657e63d4259 (opens in a new tab)
- git.kernel.org/stable/c/cd1c7858641384191ff7033fb1fc65dfcd559c6f (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)