All reports
Low

kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50742

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: misc: ocxl: fix possible refcount leak in afu_ioctl() eventfd_ctx_put need to be called to put the refcount that gotten by eventfd_ctx_fdget when ocxl_irq_set_handler fails.

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.