CVE-2022-49343

ext4: avoid cycles in directory h-tree

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.2832.6.19 ≤ v < 4.14.2832.6.19 ≤ v < 4.19.2472.6.19 ≤ v < 5.10.1212.6.19 ≤ v < 5.15.462.6.19 ≤ v < 5.17.142.6.19 ≤ v < 5.18.32.6.19 ≤ v < 5.192.6.19 ≤ v < 5.4.1984.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1212.6.19ac27a0ec112a089f1a5102bc8dffc79c8c815571
Vendor states this is fixed in 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3 (fixed)
Vendor states this is fixed in 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc (fixed)
Vendor states this is fixed in 3ba733f879c2a88910744647e41edeefbc0d92b2 (fixed)
Vendor states this is fixed in 6084240bfc44bf265ab6ae7d96980469b05be0f1 (fixed)
Vendor states this is fixed in b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0 (fixed)
Vendor states this is fixed in d5a16a6df2c16eaf4de04948553ef0089dee463f (fixed)
Vendor states this is fixed in e157c8f87e8fac112d6c955e69a60cdb9bc80a60 (fixed)
Vendor states this is fixed in ff4cafa51762da3824881a9000ca421d4b78b138 (fixed)
Vendor states this is fixed in 2.6.19 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ba733f879c2a88910744647e41edeefbc0d92b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6084240bfc44bf265ab6ae7d96980469b05be0f1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5a16a6df2c16eaf4de04948553ef0089dee463f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e157c8f87e8fac112d6c955e69a60cdb9bc80a60
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff4cafa51762da3824881a9000ca421d4b78b138

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card