CVE-2025-22079

Source
https://cve.org/CVERecord?id=CVE-2025-22079
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22079.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22079
Downstream
Published
2025-04-16T14:12:29.215Z
Modified
2026-05-18T05:57:24.693068402Z
Summary
ocfs2: validate l_tree_depth to avoid out-of-bounds access
Details

In the Linux kernel, the following vulnerability has been resolved:

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

The ltreedepth field is 16-bit (_le16), but the actual maximum depth is limited to OCFS2MAXPATHDEPTH.

Add a check to prevent out-of-bounds access if ltreedepth has an invalid value, which may occur when reading from a corrupted mounted disk [1].

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22079.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ccd979bdbce9fba8412beb3f1de68a9d0171b12c
Fixed
ef34840bda333fe99bafbd2d73b70ceaaf9eba66
Fixed
538ed8b049ef801a86c543433e5061a91cc106e3
Fixed
17c99ab3db2ba74096d36c69daa6e784e98fc0b8
Fixed
11e24802e73362aa2948ee16b8fb4e32635d5b2a
Fixed
3d012ba4404a0bb517658699ba85e6abda386dc3
Fixed
49d2a2ea9d30991bae82107f9523915b91637683
Fixed
b942f88fe7d2d789e51c5c30a675fa1c126f5a6d
Fixed
e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c
Fixed
a406aff8c05115119127c962cbbbbd202e1973ef

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22079.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.16
Fixed
5.4.292
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.236
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.180
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.134
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.87
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.23
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22079.json"