# CVE-2025-22079: ocfs2: validate l\_tree\_depth to avoid out-of-bounds access

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-16 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-22079, DEBIAN-CVE-2025-22079
- Record: https://cvemate.com/vulnerability/CVE-2025-22079 · JSON: https://cvemate.com/vulnerability/CVE-2025-22079/json

## Description

```text
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].
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.255%, percentile 18.221%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 141)

- debian linux (Debian): \< 6.1.135-1 \| \< 6.12.25-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-218.238 \| \< 5.15.0-142.152 \| \< 6.8.0-86.87
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1147.157 \| \< 5.15.0-1086.93 \| \< 6.8.0-1041.43
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1086.93~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1147.157~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1041.43~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1147.157+fips1 \| \< 5.15.0-1086.93+fips1 \| \< 6.8.0-1041.43+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1152.159 \| \< 5.15.0-1091.100 \| \< 6.8.0-1041.47
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 54)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://ubuntu.com/security/CVE-2025-22079>
- <https://www.cve.org/CVERecord?id=CVE-2025-22079>
- <https://git.kernel.org/linus/a406aff8c05115119127c962cbbbbd202e1973ef>
- <https://ubuntu.com/security/notices/USN-7585-1>
- <https://ubuntu.com/security/notices/USN-7585-2>
- <https://ubuntu.com/security/notices/USN-7591-1>
- <https://ubuntu.com/security/notices/USN-7591-2>
- <https://ubuntu.com/security/notices/USN-7591-3>
- <https://ubuntu.com/security/notices/USN-7592-1>

---

Data as of 2026-12-05T04:22:49.503Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
