Kernel memory corruption via Btrfs folio double-unlock
Published Aug 17, 2024 · Updated Aug 5, 2026
Memory corruption in Linux kernel 6.10 allows local users to read page-cache data or interrupt the host via writes to mounted Btrfs. The cow_file_range_inline() error path ignores locked_page and unlocks a folio before __extent_writepage() calls btrfs_folio_end_all_writers(). Write access to any mounted Btrfs filesystem is sufficient; the broken lock can cause stale-page reads, memory corruption, a panic, or a persistent hang.
Summary
What happened
Memory corruption in Linux kernel 6.10 allows local users to read page-cache data or interrupt the host via writes to mounted Btrfs. The cow_file_range_inline() error path ignores locked_page and unlocks a folio before __extent_writepage() calls btrfs_folio_end_all_writers(). Write access to any mounted Btrfs filesystem is sufficient; the broken lock can cause stale-page reads, memory corruption, a panic, or a persistent hang.
The record
- CVE
- CVE-2024-42266
- Published
- Aug 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 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=0586d0a89e77d717da14df42648ace4a9fd67981 <061e41581606000a83ce0f0f01d6ad338f3704e9
- Affected versionversion=0586d0a89e77d717da14df42648ace4a9fd67981 <478574370bef7951fbd9ef5155537d6cbed49472
- Affected versionversion=6.10
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.
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