Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50668

published high CVSS 3.1 · 7.5

ext4: fix deadlock due to mbcache entry corruption

Published
09 Dec 2025, 01:29:19 UTC
Updated
05 Aug 2026, 08:59:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6048c64b26097a0ffbd966866b599f990e674e9b to < efaa0ca678f56d47316a08030b2515678cebbc50 · 6048c64b26097a0ffbd966866b599f990e674e9b to < af53065276376750dfac35a7248af18806404c5d · 6048c64b26097a0ffbd966866b599f990e674e9b to < 1be16a0c2f10186df505e28b0cc92d7f3366e2a8 · 6048c64b26097a0ffbd966866b599f990e674e9b to < 5bc0b2fda4b47c86278f7c6d30c211f425bf51cf · 6048c64b26097a0ffbd966866b599f990e674e9b to < 127b80cefb941a81255c72f11081123f3a705369 · 6048c64b26097a0ffbd966866b599f990e674e9b to < cc1538c693d25e282bed8c54b65c914a04023a78 · 6048c64b26097a0ffbd966866b599f990e674e9b to < a44e84a9b7764c72896f7241a0ec9ac7e7ef38dd · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 4.19.270 through 4.19.* (unaffected · semver) · 5.4.229 through 5.4.* (unaffected · semver) · 5.10.163 through 5.10.* (unaffected · semver) · 5.15.87 through 5.15.* (unaffected · semver) · 6.0.18 through 6.0.* (unaffected · semver) · 6.1.4 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-026 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-013 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2023-042 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix deadlock due to mbcache entry corruption When manipulating xattr blocks, we can deadlock infinitely looping inside ext4_xattr_block_set() where we constantly keep finding xattr block for reuse in mbcache but we are unable to reuse it because its reference count is too big. This happens because cache entry for the xattr block is marked as reusable (e_reusable set) although its reference count is too big. When this inconsistency happens, this inconsistent state is kept indefinitely and so ext4_xattr_block_set() keeps retrying indefinitely. The inconsistent state is caused by non-atomic update of e_reusable bit. e_reusable is part of a bitfield and e_reusable update can race with update of e_referenced bit in the same bitfield resulting in loss of one of the updates. Fix the problem by using atomic bitops instead. This bug has been around for many years, but it became *much* easier to hit after commit 65f8b80053a1 ("ext4: fix race when reusing xattr blocks").

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The vulnerable ext4 xattr reuse path is reachable via VFS setxattr, and the same operations are driven remotely through in-kernel servers such as ksmbd and nfsd on an ext4-backed writable export, a reasonable severe deployment for file servers. AC:L - The attacker controls both sides of the race by issuing concurrent setxattr/removexattr operations that update e_reusable and e_referenced on a shared mbcache entry; creating ~1024 files with identical xattrs to reach REFCOUNT_MAX is also attacker-controlled. PR:N - In the most severe reasonable deployment, a guest/anonymous writable network export exposes create and xattr operations without real authentication; AUTH_SYS NFS UID spoofing similarly requires no privileged credentials. UI:N - The attacker triggers the bug directly by issuing filesystem requests; no separate victim action such as mounting a crafted image is required. S:U - The hang remains within the kernel/filesystem security authority with no VM escape, IOMMU bypass, or other cross-boundary impact. C:N - The bug only corrupts mbcache flag state into an inconsistent reusable/refcount combination; it does not disclose kernel or filesystem contents. I:N - There is no exploitable memory corruption or attacker-controlled data modification; the inconsistent flags only cause an infinite retry loop, not integrity compromise of stored data. A:H - ext4_xattr_block_set() loops indefinitely while holding a journal handle and inode xattr_sem, causing hung tasks and filesystem-wide denial of service; deadlock/infinite loop is high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6048c64b26097a0ffbd966866b599f990e674e9b to < efaa0ca678f56d47316a08030b2515678cebbc50 (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < af53065276376750dfac35a7248af18806404c5d (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < 1be16a0c2f10186df505e28b0cc92d7f3366e2a8 (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < 5bc0b2fda4b47c86278f7c6d30c211f425bf51cf (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < 127b80cefb941a81255c72f11081123f3a705369 (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < cc1538c693d25e282bed8c54b65c914a04023a78 (affected · git)6048c64b26097a0ffbd966866b599f990e674e9b to < a44e84a9b7764c72896f7241a0ec9ac7e7ef38dd (affected · git)Default: unaffected Linux · cna
Linux Linux 4.6 (affected)0 to < 4.6 (unaffected · semver)4.19.270 through 4.19.* (unaffected · semver)5.4.229 through 5.4.* (unaffected · semver)5.10.163 through 5.10.* (unaffected · semver)5.15.87 through 5.15.* (unaffected · semver)6.0.18 through 6.0.* (unaffected · semver)6.1.4 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ext4: fix deadlock due to mbcache entry corruption

Provenance

Schema
5.2
Searchable
yes
Content hash
c7ba875795149c07096db69d091ff99ef80b3ebff4142c8b507cbf71627b70ff
Ingested
23 Sep 2026, 08:04:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected