cveboard RSS feed

CVE-2022-50668

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2022
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

ext4: fix deadlock due to mbcache entry corruption

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").

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6048c64b26097a0ffbd966866b599f990e674e9baffectedgitefaa0ca678f56d47316a08030b2515678cebbc50UnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgitaf53065276376750dfac35a7248af18806404c5dUnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgit1be16a0c2f10186df505e28b0cc92d7f3366e2a8UnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgit5bc0b2fda4b47c86278f7c6d30c211f425bf51cfUnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgit127b80cefb941a81255c72f11081123f3a705369UnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgitcc1538c693d25e282bed8c54b65c914a04023a78UnavailableNone listed
6048c64b26097a0ffbd966866b599f990e674e9baffectedgita44e84a9b7764c72896f7241a0ec9ac7e7ef38ddUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.6affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.6UnavailableNone listed
4.19.270unaffectedsemverUnavailable4.19.*None listed
5.4.229unaffectedsemverUnavailable5.4.*None listed
5.10.163unaffectedsemverUnavailable5.10.*None listed
5.15.87unaffectedsemverUnavailable5.15.*None listed
6.0.18unaffectedsemverUnavailable6.0.*None listed
6.1.4unaffectedsemverUnavailable6.1.*None listed
6.2unaffectedoriginal_commit_for_fixUnavailable*None listed