CVE-2022-50742
Not scored
misc: ocxl: fix possible refcount leak in afu_ioctl()
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.
Exploit probability
0.2%
Published
December 24, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2022-50742
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- 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
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50742.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-50742