Local task hang via missing Btrfs inode lock
Published May 21, 2024 · Updated Jun 1, 2026
Improper locking in the Linux kernel's Btrfs implementation allows local users to hang tasks through concurrent fiemap and fsync operations. The Btrfs fiemap path locks only an inode I/O-tree range, so a user-buffer page fault can deadlock with fsync on i_mmap_lock. A local user must race fiemap against fsync on the same Btrfs file; successful triggering leaves affected tasks blocked indefinitely.
Summary
What happened
Improper locking in the Linux kernel's Btrfs implementation allows local users to hang tasks through concurrent fiemap and fsync operations. The Btrfs fiemap path locks only an inode I/O-tree range, so a user-buffer page fault can deadlock with fsync on i_mmap_lock. A local user must race fiemap against fsync on the same Btrfs file; successful triggering leaves affected tasks blocked indefinitely.
The record
- CVE
- CVE-2023-52737
- Published
- May 21, 2024
- Updated
- Jun 1, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Jun 1, 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=5.13
- Affected versionversion=885f46d87f29a94eafe3cc707d5c4dea2be248f3 <519b7e13b5ae8dd38da1e52275705343be6bb508
- Affected versionversion=885f46d87f29a94eafe3cc707d5c4dea2be248f3 <d8c594da79bc0244e610a70594e824a401802be1
- Affected versionversion=885f46d87f29a94eafe3cc707d5c4dea2be248f3 <e425191073a80906d8502b5179471cc58b0b9e9a
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