Unmount hang via asynchronous reclaim deadlock
Published Feb 26, 2025 · Updated May 11, 2026
Improper locking in Linux kernel 5.13 allows local users to hang Btrfs unmounts during concurrent block-group and space reclaim. In close_ctree(), cancellation of async reclaim waits on delayed iputs after the cleaner thread is parked, while relocation creates another delayed iput that only the parked cleaner can process. The deadlock requires a Btrfs unmount while block-group relocation and asynchronous metadata or data-space reclaim are both active, leaving unmount and worker tasks stuck.
Summary
What happened
Improper locking in Linux kernel 5.13 allows local users to hang Btrfs unmounts during concurrent block-group and space reclaim. In close_ctree(), cancellation of async reclaim waits on delayed iputs after the cleaner thread is parked, while relocation creates another delayed iput that only the parked cleaner can process. The deadlock requires a Btrfs unmount while block-group relocation and asynchronous metadata or data-space reclaim are both active, leaving unmount and worker tasks stuck.
The record
- CVE
- CVE-2022-49702
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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=18bb8bbf13c1839b43c9e09e76d397b753989af2 <31e70e527806c546a72262f2fc3d982ee23c42d3
- Affected versionversion=18bb8bbf13c1839b43c9e09e76d397b753989af2 <341d33128a940c6634175dcb6ca92dc454cfa7d2
- Affected versionversion=18bb8bbf13c1839b43c9e09e76d397b753989af2 <9fadb11f1295289e0da4d3342ecb6b92c1c99540
- Affected versionversion=5.13
What conditions does exploitation require?
What is affected?
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