CVE-2024-35784: Linux kernel · btrfs: fix deadlock with fiemap and extent locking
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 6.8.0-2002.2 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-2002.2
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 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade the Ubuntu linux-raspi-realtime package to 6.8.0-2002.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected Linux kernel versions to resolve the deadlock issue. Users and administrators should update to a fixed kernel version where the extent locking during fiemap has been corrected. No additional mitigations are necessary beyond applying the official fix.
Description
A deadlock vulnerability was identified and fixed in the Linux kernel's Btrfs filesystem related to extent locking during fiemap operations. The issue occurs because the extent lock was held for the entire duration of the fiemap call, which could cause a deadlock when page faults happen while copying extents to user space. The fix reduces the locking scope to avoid deadlocks while maintaining consistency during delalloc checks.
References
- ubuntu.com/security/CVE-2024-35784 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-35784 (opens in a new tab)
- git.kernel.org/linus/b0ad381fa7690244802aed119b478b4bdafc31dd (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)