CVE-2022-50742
kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's misc: ocxl component. A local attacker with low privileges could exploit a reference count leak in the afu_ioctl() function. This flaw occurs when ocxl_irq_set_handler fails to call eventfd_ctx_put to release a reference count obtained by eventfd_ctx_fdget. This could lead to a denial of service (DoS) due to resource exhaustion.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-772 · Missing Release of Resource after Effective Lifetime