CVE-2022-50742Published Dec 24, 2025 · Dec 24Updated Nov 12
misc: ocxl: fix possible refcount leak in afu_ioctl()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 060146614643ddc5978c73ffac0329762b4651c9 · < c3b69ba5114c860d730870c03ab4ee45276e5e35| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ocxl afu_ioctl() can leak an eventfd reference when ocxl_irq_set_handler fails. The input does not establish what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Engineers running the Linux kernel with the ocxl component should check their version; affected versions are not specified.