CVE-2025-22079

published 16 Apr 2025 · updated 5 Aug 2026

ocfs2: validate l_tree_depth to avoid out-of-bounds access

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 11e24802e73362aa2948ee16b8fb4e32635d5b2a, Kernel 17c99ab3db2ba74096d36c69daa6e784e98fc0b8, Kernel 3d012ba4404a0bb517658699ba85e6abda386dc3 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.16, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <11e24802e73362aa2948ee16b8fb4e32635d5b2a, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <17c99ab3db2ba74096d36c69daa6e784e98fc0b8, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <3d012ba4404a0bb517658699ba85e6abda386dc3, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <49d2a2ea9d30991bae82107f9523915b91637683, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <538ed8b049ef801a86c543433e5061a91cc106e3, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <a406aff8c05115119127c962cbbbbd202e1973ef, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <b942f88fe7d2d789e51c5c30a675fa1c126f5a6d, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c, >=ccd979bdbce9fba8412beb3f1de68a9d0171b12c <ef34840bda333fe99bafbd2d73b70ceaaf9eba6611e24802e73362aa2948ee16b8fb4e32635d5b2a, 17c99ab3db2ba74096d36c69daa6e784e98fc0b8, 3d012ba4404a0bb517658699ba85e6abda386dc3, 49d2a2ea9d30991bae82107f9523915b91637683, 538ed8b049ef801a86c543433e5061a91cc106e3, a406aff8c05115119127c962cbbbbd202e1973ef, b942f88fe7d2d789e51c5c30a675fa1c126f5a6d, e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c, ef34840bda333fe99bafbd2d73b70ceaaf9eba66

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22079 severity on Zeptric[![CVE-2025-22079](https://zeptric.io/badge/cve/CVE-2025-22079.svg)](https://zeptric.io/cve/CVE-2025-22079)