What’s Vulnerable › Vulnerabilities
CVE-2022-50742: misc: ocxl: fix possible refcount leak in afu_ioctl()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-24 · updated 2026-06-17
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.
Affected products
- Linux kernel: 5.2 — fixed in 6.1
How to fix
Upgrade to a fixed version: Linux kernel 6.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/11bd8bbdf8f6f5c1145bb158793107a57e3a1f07
- https://git.kernel.org/stable/c/66032c43291672bae8b93184d2806f05be3e16df
- https://git.kernel.org/stable/c/7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1
- https://git.kernel.org/stable/c/843433a02e344d30fbb62dfd834c60631baaa527
- https://git.kernel.org/stable/c/c3b69ba5114c860d730870c03ab4ee45276e5e35
- https://git.kernel.org/stable/c/fc797285c40a9cc441357abb3521d3e51c743f67
Get alerted when CVE-2022-50742 or the next vulnerability affects your stack