{"id":"CVE-2025-22079","summary":"ocfs2: validate l_tree_depth to avoid out-of-bounds access","details":"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].","modified":"2026-05-18T05:57:24.693068402Z","published":"2025-04-16T14:12:29.215Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22079.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683"},{"type":"WEB","url":"https://git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22079.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22079"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}