CVE-2022-50742
JSON

Not scored

misc: ocxl: fix possible refcount leak in afu_ioctl()

Severity
Not scored
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 060146614643ddc5978c73ffac0329762b4651c9 before fc797285c40a9cc441357abb3521d3e51c743f67, from 060146614643ddc5978c73ffac0329762b4651c9 before 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1, from 060146614643ddc5978c73ffac0329762b4651c9 before 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07, from 060146614643ddc5978c73ffac0329762b4651c9 before 843433a02e344d30fbb62dfd834c60631baaa527, from 060146614643ddc5978c73ffac0329762b4651c9 before 66032c43291672bae8b93184d2806f05be3e16df, from 060146614643ddc5978c73ffac0329762b4651c9 before c3b69ba5114c860d730870c03ab4ee45276e5e35, 5.2
Not affected: before 5.2, from 5.4.220 up to 5.4.*, from 5.10.150 up to 5.10.*, from 5.15.75 up to 5.15.*, from 5.19.17 up to 5.19.*, from 6.0.3 up to 6.0.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: varios: ocxl: corregir posible fuga de contador de referencias en afu_ioctl() eventfd_ctx_put necesita ser llamada para poner el contador de referencias que se obtiene mediante eventfd_ctx_fdget cuando ocxl_irq_set_handler falla.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50742 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50742 changed 2026-11-10Public domain