{"id":"CVE-2025-22079","published":"2025-04-16T14:12:29Z","modified":"2026-08-05T11:56:34Z","title":"ocfs2: validate l_tree_depth to avoid out-of-bounds access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate l_tree_depth to avoid out-of-bounds access\n\nThe l_tree_depth field is 16-bit (__le16), but the actual maximum depth is\nlimited to OCFS2_MAX_PATH_DEPTH.\n\nAdd a check to prevent out-of-bounds access if l_tree_depth has an invalid\nvalue, which may occur when reading from a corrupted mounted disk [1].","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00255,"percentile":0.17218,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66","tags":[]},{"url":"https://git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3","tags":[]},{"url":"https://git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8","tags":[]},{"url":"https://git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a","tags":[]},{"url":"https://git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3","tags":[]},{"url":"https://git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683","tags":[]},{"url":"https://git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d","tags":[]},{"url":"https://git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c","tags":[]},{"url":"https://git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.44},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < ef34840bda333fe99bafbd2d73b70ceaaf9eba66",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 538ed8b049ef801a86c543433e5061a91cc106e3",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 17c99ab3db2ba74096d36c69daa6e784e98fc0b8",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 11e24802e73362aa2948ee16b8fb4e32635d5b2a",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 3d012ba4404a0bb517658699ba85e6abda386dc3",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 49d2a2ea9d30991bae82107f9523915b91637683",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b942f88fe7d2d789e51c5c30a675fa1c126f5a6d",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c",">= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < a406aff8c05115119127c962cbbbbd202e1973ef"]},{"vendor":"Linux","product":"Linux","versions":["2.6.16"]}],"euvd":{"id":"EUVD-2025-11222","exploited":false,"provenance":"source"}}