CVE-2025-22079
ocfs2: validate l_tree_depth to avoid out-of-bounds access
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 11e24802e73362aa2948ee16b8fb4e32635d5b2a; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 3d012ba4404a0bb517658699ba85e6abda386dc3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 49d2a2ea9d30991bae82107f9523915b91637683; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b942f88fe7d2d789e51c5c30a675fa1c126f5a6d; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < a406aff8c05115119127c962cbbbbd202e1973ef
- Anyone running Linux 2.6.16
Vulnerability facts
- Affected
- Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 11e24802e73362aa2948ee16b8fb4e32635d5b2a; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 3d012ba4404a0bb517658699ba85e6abda386dc3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 49d2a2ea9d30991bae82107f9523915b91637683; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b942f88fe7d2d789e51c5c30a675fa1c126f5a6d; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < a406aff8c05115119127c962cbbbbd202e1973ef; Linux 2.6.16
- Fixed in
- Linux 538ed8b049ef801a86c543433e5061a91cc106e3, Linux 17c99ab3db2ba74096d36c69daa6e784e98fc0b8, Linux 11e24802e73362aa2948ee16b8fb4e32635d5b2a, Linux 3d012ba4404a0bb517658699ba85e6abda386dc3, Linux 49d2a2ea9d30991bae82107f9523915b91637683
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate l_tree_depth to avoid out-of-bounds access The l_tree_depth field is 16-bit (__le16), but the actual maximum depth is limited to OCFS2_MAX_PATH_DEPTH. Add a check to prevent out-of-bounds access if l_tree_depth has an invalid value, which may occur when reading from a corrupted mounted disk [1].
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 11e24802e73362aa2948ee16b8fb4e32635d5b2a; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 3d012ba4404a0bb517658699ba85e6abda386dc3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 49d2a2ea9d30991bae82107f9523915b91637683; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b942f88fe7d2d789e51c5c30a675fa1c126f5a6d; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < a406aff8c05115119127c962cbbbbd202e1973ef | — | cvelist |
| Linux | 2.6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-22079. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-22079.md Affected: Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8; >= ccd979bdbce9fba8412beb3… Fixed in: Linux 538ed8b049ef801a86c543433e5061a91cc106e3, Linux 17c99ab3db2ba74096d36c69daa6e784e98fc0b8, Linux 11e24802e73362aa2948ee16b8fb4e32635d5b2a, Linux 3d012ba4404a0bb517658699ba85e6abda386dc3, Linux 49d2a2ea9d30991bae82107f9523915b91637683 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66
- https://git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3
- https://git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8
- https://git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a
- https://git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3
- https://git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683
- https://git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d
- https://git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c
- https://git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef
FAQ
Is CVE-2025-22079 being exploited?
There is no confirmed exploitation: CVE-2025-22079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-22079?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-22079?
Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 11e24802e73362aa2948ee16b8fb4e32635d5b2a; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 3d012ba4404a0bb517658699ba85e6abda386dc3; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 49d2a2ea9d30991bae82107f9523915b91637683; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b942f88fe7d2d789e51c5c30a675fa1c126f5a6d; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < a406aff8c05115119127c962cbbbbd202e1973ef; Linux 2.6.16.
Is there a fix for CVE-2025-22079?
Yes. Fixed in Linux 538ed8b049ef801a86c543433e5061a91cc106e3, Linux 17c99ab3db2ba74096d36c69daa6e784e98fc0b8, Linux 11e24802e73362aa2948ee16b8fb4e32635d5b2a, Linux 3d012ba4404a0bb517658699ba85e6abda386dc3, Linux 49d2a2ea9d30991bae82107f9523915b91637683. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-22079?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.