CVE-2024-35784
Linux Kernel vulnerability analysis and mitigation

Overview

A deadlock vulnerability was discovered in the Linux kernel's BTRFS filesystem implementation (CVE-2024-35784). The issue exists in the fiemap and extent locking mechanism, where holding the extent lock for the entire range during fiemap operations could lead to a deadlock condition. This vulnerability affects Linux kernel versions up to (excluding) 6.6.24 and versions from 6.7 up to (excluding) 6.7.12, as well as 6.8 release candidates (rc1-rc5) (NVD).

Technical details

The vulnerability occurs due to a locking issue where the extent lock is held for the entire duration of fiemap operations. When copying fiemap extent to user space, a page fault can occur, and if the process attempts to mkwrite into a memory-mapped range of the same file, it results in a deadlock. The issue has a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-667 (Improper Locking) (NVD, Kernel Patch).

Impact

The vulnerability can cause system deadlocks when using BTRFS filesystem operations, specifically during fiemap operations that interact with memory-mapped files. This can lead to system availability issues, though it does not directly impact confidentiality or integrity (NVD).

Exploitability

The vulnerability requires local access and can be triggered through normal filesystem operations when using BTRFS. A test case has been developed to reproduce the deadlock condition consistently (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by modifying the extent locking behavior to not hold the lock for the entire duration of the fiemap operation. The fix maintains a lock only when searching delalloc to ensure a consistent view of delalloc at the time of checking the delalloc flag. Users should upgrade to Linux kernel version 6.6.24, 6.7.12, or later versions that include the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-xilinx-zynqmp
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management