CVE-2022-50742
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50742 is a reference count leak vulnerability in the Linux kernel's misc/ocxl (Open Coherent Accelerator Processor Interface) subsystem, specifically within the afu_ioctl() function. The flaw occurs because eventfd_ctx_put() is not called to release the reference obtained by eventfd_ctx_fdget() when ocxl_irq_set_handler() fails, resulting in a resource leak. It affects Linux kernel versions from 5.2 up to (but not including) the patched stable releases. It was published on December 24, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is a missing reference count decrement (CWE-911: Improper Update of Reference Count) in the afu_ioctl() function of the Linux kernel's OCXL (Open Coherent Accelerator Processor Interface) driver. When ocxl_irq_set_handler() returns an error, the code path fails to invoke eventfd_ctx_put() to release the eventfd context reference previously acquired via eventfd_ctx_fdget(). This results in a reference count leak that can prevent proper resource cleanup. The vulnerability requires local access and low privileges to trigger, as it is reachable through an ioctl call on an OCXL device (Red Hat CVE, EUVD).

Impact

The primary impact is an availability issue — the reference count leak can lead to resource exhaustion or improper kernel object lifecycle management, potentially causing system instability or denial of service conditions on affected systems. There is no confidentiality or integrity impact associated with this vulnerability. The scope is limited to the local system, and lateral movement or data exfiltration are not applicable in this context (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been patched in multiple Linux kernel stable branches. Fixed versions include Linux kernel 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, and 6.1 and later. Users should update to the appropriate patched stable kernel release for their distribution. SUSE has also issued kernel security advisories (e.g., SUSE-2026-0263-1, SUSE-2026-0317-1, SUSE-2026-0350-1, SUSE-2026-0411-1) addressing this issue (Red Hat CVE, Linux Security SUSE).

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