CVE-2022-50639
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50639 is a memory leak vulnerability in the Linux kernel's io-wq (io_uring work queue) subsystem, specifically in the worker creation path. When CPU mask allocation for a NUMA node fails during io_wq_create(), the memory allocated for the io_wqe struct of the current node is not freed on the error handling path because it has not yet been added to the wqes array. The vulnerability affects Linux kernel versions from 5.14 up to (but not including) the patched releases in the 5.15.x and 6.0.x stable series. It was discovered via Syzkaller fuzzing of v6.1-rc1 and publicly disclosed on December 9, 2025. The CVSS base score is not formally assigned (estimated Medium severity by Feedly; EPSS score: 0.000170) (Feedly, EUVD).

Technical details

The root cause is a missing kfree() call on the error handling path in io_wq_create() (CWE-401: Missing Release of Memory after Effective Lifetime). When alloc_cpumask_var_node() fails for a given NUMA node, the previously allocated io_wqe struct for that node has not yet been inserted into the wqes array, so the subsequent cleanup loop that iterates over wqes does not reach it and the memory is leaked. The bug is triggered via the io_uring_setup syscall, specifically through the call chain: io_uring_setupio_uring_alloc_task_contextio_wq_create. The fix involves freeing the partially-initialized io_wqe struct before returning on the error path (Feedly, Kernel Git).

Impact

Successful triggering of this vulnerability results in a kernel memory leak, gradually exhausting kernel memory resources over time. The primary availability impact is potential system instability or denial of service if the leak is triggered repeatedly, as kernel memory is a finite and critical resource. There is no direct confidentiality or integrity impact, and the vulnerability does not enable privilege escalation or remote code execution on its own (Feedly).

Exploitability

No public exploit code or weaponized proof-of-concept is known for this vulnerability. The bug was discovered through automated fuzzing (Syzkaller) rather than targeted exploitation, and there is no evidence of in-the-wild exploitation. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is very low at 0.000170, reflecting minimal exploitation probability (Feedly).

Mitigation and workarounds

The fix has been backported to multiple stable Linux kernel branches. Patched versions include Linux 5.15.75, 6.0.4, and 6.1 (mainline). The relevant upstream commits are b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c (5.15.x), ed981911a7c90a604f4a2bee908ab07e3b786aca (6.0.x), and 996d3efeb091c503afd3ee6b5e20eabf446fd955 (6.1). Users should update to a patched kernel version; Amazon Linux 2 users can refer to ALAS2KERNEL-5.15-2025-090. No configuration-based workaround is available beyond disabling io_uring if operationally feasible (Kernel Git, Amazon ALAS).

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-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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