CVE-2022-49343
ext4: avoid cycles in directory h-tree
Check your servers for CVE-2022-49343
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49343 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before 24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3 affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0 affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before e157c8f87e8fac112d6c955e69a60cdb9bc80a60 affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before ff4cafa51762da3824881a9000ca421d4b78b138 affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before 3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before d5a16a6df2c16eaf4de04948553ef0089dee463f affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before 6084240bfc44bf265ab6ae7d96980469b05be0f1 affected from ac27a0ec112a089f1a5102bc8dffc79c8c815571, before 3ba733f879c2a88910744647e41edeefbc0d92b2
Other versions: unaffected
|
| Linux |
affected 2.6.19 unaffected before 2.6.19 unaffected from 4.14.283 up to and including 4.14.* unaffected from 4.19.247 up to and including 4.19.* unaffected from 5.4.198 up to and including 5.4.* unaffected from 5.10.121 up to and including 5.10.* unaffected from 5.15.46 up to and including 5.15.* unaffected from 5.17.14 up to and including 5.17.* unaffected from 5.18.3 up to and including 5.18.* unaffected 5.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49343 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49343
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49343
trivy image --scanners vuln IMAGE | grep CVE-2022-49343
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/24b8206fec1db21d7e82f21f0b2ff5e5672cf5b3 git.kernel.org
- https://git.kernel.org/stable/c/b3ad9ff6f06c1dc6abf7437691c88ca3d6da3ac0 git.kernel.org
- https://git.kernel.org/stable/c/e157c8f87e8fac112d6c955e69a60cdb9bc80a60 git.kernel.org
- https://git.kernel.org/stable/c/ff4cafa51762da3824881a9000ca421d4b78b138 git.kernel.org
- https://git.kernel.org/stable/c/3a3ce941645407cd0b0b7f01ad9e2ea3770f46cc git.kernel.org
- https://git.kernel.org/stable/c/d5a16a6df2c16eaf4de04948553ef0089dee463f git.kernel.org
- https://git.kernel.org/stable/c/6084240bfc44bf265ab6ae7d96980469b05be0f1 git.kernel.org
- https://git.kernel.org/stable/c/3ba733f879c2a88910744647e41edeefbc0d92b2 git.kernel.org
Source: the record CVE-2022-49343 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse