SecurityContext

CVE-2022-50668: Linux Kernel ext4 - Denial of Service

  • Cve: CVE-2022-50668
  • Name: Linux Kernel ext4 - Denial of Service
  • 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").
  • Impact: Attackers can cause infinite deadlock in ext4, leading to denial of service by hanging the system.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: race_condition
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00866
  • Epss percentile: 0.5959
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-12-09T16:17:18Z
  • Age in days: 350
  • Modified at: 2026-08-04T10:18:20Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-50668
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/127b80cefb941a81255c72f11081123f3a705369
https://git.kernel.org/stable/c/1be16a0c2f10186df505e28b0cc92d7f3366e2a8
https://git.kernel.org/stable/c/5bc0b2fda4b47c86278f7c6d30c211f425bf51cf
https://git.kernel.org/stable/c/a44e84a9b7764c72896f7241a0ec9ac7e7ef38dd
https://git.kernel.org/stable/c/af53065276376750dfac35a7248af18806404c5d
https://git.kernel.org/stable/c/cc1538c693d25e282bed8c54b65c914a04023a78
https://git.kernel.org/stable/c/efaa0ca678f56d47316a08030b2515678cebbc50

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 4.6, < 6.2; >= 4.6, < 6.1.4; >= 4.6, < 6.0.18; >= 4.6, < 5.15.87; >= 4.6, < 5.10.163; >= 4.6, < 5.4.229; >= 4.6, < 4.19.270nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports