CVE
CVE-2025-22079
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.14, < 6.14.2Fixed in 6.14.2
- ≥ 6.13, < 6.13.11Fixed in 6.13.11
- ≥ 6.7, < 6.12.23Fixed in 6.12.23
- ≥ 6.2, < 6.6.87Fixed in 6.6.87
- ≥ 5.16, < 6.1.134Fixed in 6.1.134
- ≥ 5.11, < 5.15.180Fixed in 5.15.180
- ≥ 5.5, < 5.10.236Fixed in 5.10.236
- ≥ 2.6.16, < 5.4.292Fixed in 5.4.292
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a · Patch
- git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8 · Patch
- git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3 · Patch
- git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683 · Patch
- git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3 · Patch
- git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef · Patch
- git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d · Patch
- git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c · Patch
- git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.