CVE-2022-49343
ext4: avoid cycles in directory h-tree
Mitigation
- Upgrade Linux to 3ba733f879c2a88910744647e41edeefbc0d92b2 or later.
Who should check
- Anyone running Linux >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < e157c8f87e8fac112d6c955e69a60cdb9bc80a60; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < ff4cafa51762da3824881a9000ca421d4b78b138; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < d5a16a6df2c16eaf4de04948553ef0089dee463f; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 6084240bfc44bf265ab6ae7d96980469b05be0f1; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3ba733f879c2a88910744647e41edeefbc0d92b2
- Anyone running Linux 2.6.19
Vulnerability facts
- Affected
- Linux >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < e157c8f87e8fac112d6c955e69a60cdb9bc80a60; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < ff4cafa51762da3824881a9000ca421d4b78b138; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < d5a16a6df2c16eaf4de04948553ef0089dee463f; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 6084240bfc44bf265ab6ae7d96980469b05be0f1; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3ba733f879c2a88910744647e41edeefbc0d92b2; Linux 2.6.19
- Fixed in
- Linux 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3, Linux 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc, Linux 6084240bfc44bf265ab6ae7d96980469b05be0f1, Linux 3ba733f879c2a88910744647e41edeefbc0d92b2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid cycles in directory h-tree A maliciously corrupted filesystem can contain cycles in the h-tree stored inside a directory. That can easily lead to the kernel corrupting tree nodes that were already verified under its hands while doing a node split and consequently accessing unallocated memory. Fix the problem by verifying traversed block numbers are unique.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < e157c8f87e8fac112d6c955e69a60cdb9bc80a60; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < ff4cafa51762da3824881a9000ca421d4b78b138; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < d5a16a6df2c16eaf4de04948553ef0089dee463f; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 6084240bfc44bf265ab6ae7d96980469b05be0f1; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3ba733f879c2a88910744647e41edeefbc0d92b2 | — | cvelist |
| Linux | 2.6.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49343. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49343.md Affected: Linux >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < e157c8f87e8fac112d6c955e69a60cdb9bc80a60; >= ac27a0ec112a089f1a5102b… Fixed in: Linux 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3, Linux 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc, Linux 6084240bfc44bf265ab6ae7d96980469b05be0f1, Linux 3ba733f879c2a88910744647e41edeefbc0d92b2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3
- https://git.kernel.org/stable/c/b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0
- https://git.kernel.org/stable/c/e157c8f87e8fac112d6c955e69a60cdb9bc80a60
- https://git.kernel.org/stable/c/ff4cafa51762da3824881a9000ca421d4b78b138
- https://git.kernel.org/stable/c/3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc
- https://git.kernel.org/stable/c/d5a16a6df2c16eaf4de04948553ef0089dee463f
- https://git.kernel.org/stable/c/6084240bfc44bf265ab6ae7d96980469b05be0f1
- https://git.kernel.org/stable/c/3ba733f879c2a88910744647e41edeefbc0d92b2
FAQ
Is CVE-2022-49343 being exploited?
There is no confirmed exploitation: CVE-2022-49343 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49343?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-49343?
Linux >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < e157c8f87e8fac112d6c955e69a60cdb9bc80a60; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < ff4cafa51762da3824881a9000ca421d4b78b138; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < d5a16a6df2c16eaf4de04948553ef0089dee463f; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 6084240bfc44bf265ab6ae7d96980469b05be0f1; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 3ba733f879c2a88910744647e41edeefbc0d92b2; Linux 2.6.19.
Is there a fix for CVE-2022-49343?
Yes. Fixed in Linux 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3, Linux 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc, Linux 6084240bfc44bf265ab6ae7d96980469b05be0f1, Linux 3ba733f879c2a88910744647e41edeefbc0d92b2. Upgrade Linux to 3ba733f879c2a88910744647e41edeefbc0d92b2 or later.
How do I check if I'm affected by CVE-2022-49343?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.