Filesystem corruption via extent-buffer read race
Published May 17, 2024 · Updated Aug 5, 2026
Race condition in Linux kernel 6.5 before 6.9 allows local users to corrupt Btrfs metadata through concurrent extent-buffer reads. In read_extent_buffer_pages(), a second reader sets EXTENT_BUFFER_READING after the first sets UPTODATE and clears READING, without rechecking UPTODATE, so another caller returns while the redundant read modifies the buffer. Exploitation requires local low-privileged access and a mounted Btrfs filesystem; the documented consequence is corrupted-node errors and concurrent in-memory extent-buffer modification.
Summary
What happened
Race condition in Linux kernel 6.5 before 6.9 allows local users to corrupt Btrfs metadata through concurrent extent-buffer reads. In read_extent_buffer_pages(), a second reader sets EXTENT_BUFFER_READING after the first sets UPTODATE and clears READING, without rechecking UPTODATE, so another caller returns while the redundant read modifies the buffer. Exploitation requires local low-privileged access and a mounted Btrfs filesystem; the documented consequence is corrupted-node errors and concurrent in-memory extent-buffer modification.
The record
- CVE
- CVE-2024-35798
- Published
- May 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-362, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=6.5
- Affected versionversion=d7172f52e9933b6ec9305e7fe6e829e3939dba04 <0427c8ef8bbb7f304de42ef51d69c960e165e052
- Affected versionversion=d7172f52e9933b6ec9305e7fe6e829e3939dba04 <2885d54af2c2e1d910e20d5c8045bae40e02fbc1
- Affected versionversion=d7172f52e9933b6ec9305e7fe6e829e3939dba04 <3a25878a3378adce5d846300c9570f15aa7f7a80
- Affected versionversion=d7172f52e9933b6ec9305e7fe6e829e3939dba04 <ef1e68236b9153c27cb7cf29ead0c532870d4215
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.
Weakness, pattern, technique
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