CVE-2022-50743
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50743 is a memory leak (memleak) vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) compressed file system driver. The flaw exists in the z_erofs_register_pcluster() function, where a pcluster object is leaked when its block address (map->m_pa) is zero and ztailpacking is false. This causes the pcluster's obj.index to be set to zero, making it indistinguishable from an inline pcluster, leading to a reference count imbalance and kernel memory leak. The vulnerability was published on December 24, 2025, and affects Linux kernel versions starting from 5.17 up to the patched releases (6.1.2, 6.0.16, and 6.2). It carries an estimated CVSS severity of Medium and an EPSS score of 0.017% (Feedly, EUVD).

Technical details

The root cause is a missing validation check in z_erofs_register_pcluster() within the Linux kernel's EROFS subsystem (CWE-401: Missing Release of Memory after Effective Lifetime). When ztailpacking is false and map->m_pa equals zero, the pcluster's obj.index is set to zero, which is the same value used to identify inline pclusters. Subsequent calls to z_erofs_readahead()z_erofs_do_read_page()z_erofs_collector_begin()erofs_find_workgroup()erofs_workgroup_get() increment the reference count for the workgroup (grp), but the reference is never released because the code incorrectly treats the pcluster as inline. The fix adds a validity check to reject registration of non-inline pclusters with a zero block address, preventing the leak. The issue was originally identified by the syzkaller fuzzer (Feedly, EUVD).

Impact

The primary impact of this vulnerability is a kernel memory leak, which can gradually exhaust available kernel memory on affected systems over time. This affects system availability, as sustained memory exhaustion may lead to degraded performance or system instability. There is no direct confidentiality or integrity impact, and the vulnerability does not enable remote code execution or privilege escalation based on currently available information (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches addressing this vulnerability in the following stable versions: 6.1.2, 6.0.16, and 6.2. The fix is applied via commits ac54c1f7b288d83b6ba1e320efff24ecc21309cd (6.1.x), 618e712b99c78d1004b70a1a9ab0a4830d0b2673 (6.0.x), and c42c0ffe81176940bd5dead474216b7198d77675 (mainline). Administrators running Linux kernel versions 5.17 through the affected range should update to a patched kernel version. No configuration-based workaround is available; upgrading is the recommended remediation (EUVD, Kernel Patch 6.1.x).

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