{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49343","id":"CVE-2022-49343","title":"ext4: avoid cycles in directory h-tree","description":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid cycles in directory h-tree\n\nA maliciously corrupted filesystem can contain cycles in the h-tree\nstored inside a directory. That can easily lead to the kernel corrupting\ntree nodes that were already verified under its hands while doing a node\nsplit and consequently accessing unallocated memory. Fix the problem by\nverif","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid cycles in directory h-tree\n\nA maliciously corrupted filesystem can contain cycles in the h-tree\nstored inside a directory. That can easily lead to the kernel corrupting\ntree nodes that were already verified under its hands while doing a node\nsplit and consequently accessing unallocated memory. Fix the problem by\nverifying traversed block numbers are unique.","published":"2025-02-26T02:10:59.970Z","updated":"2026-10-28T02:30:30.326705078Z","reserved":"2025-02-26T02:08:31.542Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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:N/UI:R/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:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"e157c8f87e8fac112d6c955e69a60cdb9bc80a60","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"ff4cafa51762da3824881a9000ca421d4b78b138","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"d5a16a6df2c16eaf4de04948553ef0089dee463f","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"6084240bfc44bf265ab6ae7d96980469b05be0f1","status":"affected","versionType":"git"},{"version":"ac27a0ec112a089f1a5102bc8dffc79c8c815571","lessThan":"3ba733f879c2a88910744647e41edeefbc0d92b2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","status":"unaffected","versionType":"semver"},{"version":"4.14.283","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e157c8f87e8fac112d6c955e69a60cdb9bc80a60","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ff4cafa51762da3824881a9000ca421d4b78b138","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d5a16a6df2c16eaf4de04948553ef0089dee463f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6084240bfc44bf265ab6ae7d96980469b05be0f1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ba733f879c2a88910744647e41edeefbc0d92b2","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49343.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49343","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.00294,"epssPercentile":0.22296,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49343","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49343","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49343","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-2022-49343","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}