CVE-2022-50746
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50746 is a use-after-free vulnerability in the Linux kernel's erofs (Enhanced Read-Only File System) subsystem, caused by improper validation of extent length for uncompressed physical clusters (pclusters). The flaw was discovered via syzkaller fuzzing and involves a condition where the logical length of a pcluster exceeds its physical length, triggering a KASAN-reported use-after-free. It affects Linux kernel versions starting from commit 02827e1796b33f1794966f5c3101f8da2dfa9c1d, with patches available for kernel versions 4.19, 6.0.16, 6.1.2, and 6.2. It was publicly disclosed on December 24, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is improper input validation (CWE-20) in the erofs filesystem's handling of uncompressed pcluster extents, where the kernel fails to verify that a pcluster's logical length does not exceed its physical length. When a specially crafted or malicious erofs filesystem image is mounted, this mismatch can cause the kernel to access memory beyond the intended buffer boundary, resulting in a use-after-free condition as reported by KASAN. The attack vector is local, requiring the attacker to mount or interact with a crafted erofs image. The syzkaller fuzzer identified the issue via a fuzzed image with two distinct problems: a zero memory address (m_pa == 0) for a non-inlined pcluster (addressed separately) and the logical-exceeds-physical length issue addressed by this patch (Red Hat Bugzilla).

Impact

Successful exploitation can cause system instability and denial of service by triggering a kernel use-after-free condition. The vulnerability has a high availability impact, meaning an attacker could crash or destabilize the affected system. There is no confidentiality or integrity impact identified; the primary risk is disruption of system availability (Red Hat Advisory).

Mitigation and workarounds

Patches are available for multiple Linux kernel stable branches: kernel 6.2 (commit 40c73b2ea961), kernel 6.1.2 (commit c505feba4c0d), kernel 6.0.16 (commit dc8b6bd587b1), and kernel 4.19. Administrators should update to the latest patched kernel version corresponding to their deployment. As a workaround, restricting local user access to mount erofs filesystem images can reduce exposure until patching is feasible (Red Hat Bugzilla, Kernel Patch 6.2).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management