CVE-2024-35784: Linux kernel · btrfs: fix deadlock with fiemap and extent locking
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 30 Oct 2026, 16:33 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 17 May 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 30 Oct 2026.
What to do
AI-suggested
A fix for this deadlock vulnerability has been implemented in the Linux kernel. Users should update to the fixed kernel version once available. Since this is a kernel-level fix, applying the official kernel update from the Linux vendor or distribution is the recommended remediation. No additional mitigation steps are indicated.
Description
CVE-2024-35784 is a deadlock vulnerability in the Linux kernel's btrfs filesystem related to extent locking during the fiemap ioctl operation. The issue occurs because the extent lock is held for the entire fiemap range, which can lead to a deadlock when page faults happen during copying extents to user space. The fix involves reducing the lock duration to avoid holding the extent lock throughout the entire fiemap operation while maintaining consistency when checking delayed allocations.
References
- git.kernel.org/stable/c/06d3879bb51be205a04b3da752cfd121a3367fb1 (opens in a new tab)
- git.kernel.org/stable/c/ded566b4637f1b6b4c9ba74e7d0b8493e93f19cf (opens in a new tab)
- git.kernel.org/stable/c/89bca7fe6382d61e88c67a0b0e7bce315986fb8b (opens in a new tab)
- git.kernel.org/stable/c/b0ad381fa7690244802aed119b478b4bdafc31dd (opens in a new tab)