What’s Vulnerable › Vulnerabilities

CVE-2025-22079: ocfs2: validate l_tree_depth to avoid out-of-bounds access

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.236, 5.15.180, 5.4.292, 6.1.134. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22079 or the next vulnerability affects your stack