Filesystem hang via recursive FIEMAP locking
Published Sep 23, 2025 · Updated Sep 23, 2025
Improper locking in Linux OCFS2 2.6.28 and later affected branches allows local users to hang the filesystem through a crafted FIEMAP request. ocfs2_fiemap() holds ip_alloc_sem for reading while copying extent data to a user buffer; a page fault enters ocfs2_page_mkwrite() and recursively requests the same semaphore for writing. The user must locally issue FS_IOC_FIEMAP against the extent list of a specially crafted memory-mapped OCFS2 file, and the resulting deadlock interrupts filesystem service.
Summary
What happened
Improper locking in Linux OCFS2 2.6.28 and later affected branches allows local users to hang the filesystem through a crafted FIEMAP request. ocfs2_fiemap() holds ip_alloc_sem for reading while copying extent data to a user buffer; a page fault enters ocfs2_page_mkwrite() and recursively requests the same semaphore for writing. The user must locally issue FS_IOC_FIEMAP against the extent list of a specially crafted memory-mapped OCFS2 file, and the resulting deadlock interrupts filesystem service.
The record
- CVE
- CVE-2025-39885
- Published
- Sep 23, 2025
- Updated
- Sep 23, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 23, 2025CVE publishedPublication date reported by the CVE source.
- Sep 23, 2025Record 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=00dc417fa3e763345b34ccb6034d72de76eea0a1 <04100f775c2ea501927f508f17ad824ad1f23c8d
- Affected versionversion=00dc417fa3e763345b34ccb6034d72de76eea0a1 <0709bc11b942870fc0a7be150e42aea42321093a
- Affected versionversion=00dc417fa3e763345b34ccb6034d72de76eea0a1 <1d3c96547ee2ddeaddf8f19a3ef99ea06cc8115e
- Affected versionversion=00dc417fa3e763345b34ccb6034d72de76eea0a1 <36054554772f95d090eb45793faf6aa3c0254b02
- Affected versionversion=00dc417fa3e763345b34ccb6034d72de76eea0a1 <9efcb7a8b97310efed995397941a292cf89fa94f
- Affected versionversion=2.6.28
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