CVE-2025-22079

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

State
Published
Severity
7.8 High
Published
Apr 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before ef34840bda333fe99bafbd2d73b70ceaaf9eba66Affected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before 538ed8b049ef801a86c543433e5061a91cc106e3Affected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before 17c99ab3db2ba74096d36c69daa6e784e98fc0b8Affected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before 11e24802e73362aa2948ee16b8fb4e32635d5b2aAffected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before 3d012ba4404a0bb517658699ba85e6abda386dc3Affected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before 49d2a2ea9d30991bae82107f9523915b91637683Affected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before b942f88fe7d2d789e51c5c30a675fa1c126f5a6dAffected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905cAffected
  • ccd979bdbce9fba8412beb3f1de68a9d0171b12c to before a406aff8c05115119127c962cbbbbd202e1973efAffected
LinuxLinux
  • 2.6.16Affected
  • before 2.6.16Not affected
  • 5.4.292 through 5.4.*Not affected
  • 5.10.236 through 5.10.*Not affected
  • 5.15.180 through 5.15.*Not affected
  • 6.1.134 through 6.1.*Not affected
  • 6.6.87 through 6.6.*Not affected
  • 6.12.23 through 6.12.*Not affected
  • 6.13.11 through 6.13.*Not affected
  • 6.14.2 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.