{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22079","id":"CVE-2025-22079","title":"ocfs2: validate l_tree_depth to avoid out-of-bounds access","description":"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].","descriptionLong":"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].","published":"2025-04-16T14:12:29.215Z","updated":"2026-10-28T02:30:35.405242899Z","reserved":"2024-12-29T08:45:45.815Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"ef34840bda333fe99bafbd2d73b70ceaaf9eba66","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"538ed8b049ef801a86c543433e5061a91cc106e3","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"17c99ab3db2ba74096d36c69daa6e784e98fc0b8","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"11e24802e73362aa2948ee16b8fb4e32635d5b2a","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"3d012ba4404a0bb517658699ba85e6abda386dc3","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"49d2a2ea9d30991bae82107f9523915b91637683","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"b942f88fe7d2d789e51c5c30a675fa1c126f5a6d","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c","status":"affected","versionType":"git"},{"version":"ccd979bdbce9fba8412beb3f1de68a9d0171b12c","lessThan":"a406aff8c05115119127c962cbbbbd202e1973ef","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"5.4.292","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.236","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.180","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.134","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.87","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.23","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.11","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14.2","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ef34840bda333fe99bafbd2d73b70ceaaf9eba66","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/538ed8b049ef801a86c543433e5061a91cc106e3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/17c99ab3db2ba74096d36c69daa6e784e98fc0b8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/11e24802e73362aa2948ee16b8fb4e32635d5b2a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3d012ba4404a0bb517658699ba85e6abda386dc3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/49d2a2ea9d30991bae82107f9523915b91637683","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b942f88fe7d2d789e51c5c30a675fa1c126f5a6d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a406aff8c05115119127c962cbbbbd202e1973ef","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22079.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22079","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00255,"epssPercentile":0.17335,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22079","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22079","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22079","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22079","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}