{"id":"CVE-2025-22079","aliases":["CVE-2025-22079"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: validate l_tree_depth to avoid out-of-bounds access","summary":"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].","summarySource":"cvelist","descriptions":[{"lang":"en","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].","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ocfs2: Validar l_tree_depth para evitar accesos fuera de los límites. El campo l_tree_depth es de 16 bits (__le16), pero la profundidad máxima real está limitada a OCFS2_MAX_PATH_DEPTH. Se ha añadido una comprobación para evitar accesos fuera de los límites si l_tree_depth tiene un valor no válido, lo que puede ocurrir al leer desde un disco montado dañado [1].","source":"nvd"}],"published":"2025-04-16T14:12:29.215Z","modified":"2026-08-05T11:56:34.590Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"ef34840bda333fe99bafbd2d73b70ceaaf9eba66","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"538ed8b049ef801a86c543433e5061a91cc106e3","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"17c99ab3db2ba74096d36c69daa6e784e98fc0b8","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"11e24802e73362aa2948ee16b8fb4e32635d5b2a","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"3d012ba4404a0bb517658699ba85e6abda386dc3","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"49d2a2ea9d30991bae82107f9523915b91637683","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"b942f88fe7d2d789e51c5c30a675fa1c126f5a6d","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c","status":"affected"},{"type":"git","introduced":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","fixed":"a406aff8c05115119127c962cbbbbd202e1973ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.16","status":"unaffected"},{"type":"semver","introduced":"5.4.292","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.236","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.134","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.87","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.16","fixed":"5.4.292"},{"status":"affected","introduced":"5.5","fixed":"5.10.236"},{"status":"affected","introduced":"5.11","fixed":"5.15.180"},{"status":"affected","introduced":"5.16","fixed":"6.1.134"},{"status":"affected","introduced":"6.2","fixed":"6.6.87"},{"status":"affected","introduced":"6.7","fixed":"6.12.23"},{"status":"affected","introduced":"6.13","fixed":"6.13.11"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22079","url":"https://www.cve.org/CVERecord?id=CVE-2025-22079","licence":"CVE Terms of Use","modified":"2026-08-05T11:56:34.590Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22079","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22079","licence":"Public domain","modified":"2026-07-30T06:22:10.903Z"}],"updatedAt":"2026-11-25T22:58:56.599Z","epss":{"score":0.00255,"percentile":0.18277,"date":"2026-12-01T12:00:22.000Z"}}