Local privilege escalation via unchecked extent-tree depth
Published Apr 16, 2025 · Updated Aug 5, 2026
Out-of-bounds write in Linux kernel OCFS2 allows local users to corrupt kernel memory through crafted on-disk extent-tree metadata. __ocfs2_find_path() trusts the 16-bit l_tree_depth value without enforcing OCFS2_MAX_PATH_DEPTH, so path descent writes beyond the fixed p_node array. Reachability requires a mounted corrupted OCFS2 volume or file access on one; the resulting heap corruption enables kernel-data disclosure, privilege escalation, hangs, and host panics.
Summary
What happened
Out-of-bounds write in Linux kernel OCFS2 allows local users to corrupt kernel memory through crafted on-disk extent-tree metadata. __ocfs2_find_path() trusts the 16-bit l_tree_depth value without enforcing OCFS2_MAX_PATH_DEPTH, so path descent writes beyond the fixed p_node array. Reachability requires a mounted corrupted OCFS2 volume or file access on one; the resulting heap corruption enables kernel-data disclosure, privilege escalation, hangs, and host panics.
The record
- CVE
- CVE-2025-22079
- Published
- Apr 16, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 16, 2025CVE 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=2.6.16
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <11e24802e73362aa2948ee16b8fb4e32635d5b2a
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <17c99ab3db2ba74096d36c69daa6e784e98fc0b8
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <3d012ba4404a0bb517658699ba85e6abda386dc3
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <49d2a2ea9d30991bae82107f9523915b91637683
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <538ed8b049ef801a86c543433e5061a91cc106e3
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <a406aff8c05115119127c962cbbbbd202e1973ef
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <b942f88fe7d2d789e51c5c30a675fa1c126f5a6d
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c
- Affected versionversion=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <ef34840bda333fe99bafbd2d73b70ceaaf9eba66
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
- syzbot OCFS2 __ocfs2_find_path reproducerproof of concept · validated
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