# CVE-2022-50742: misc: ocxl: fix possible refcount leak in afu\_ioctl()

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-24 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2022-50742, DEBIAN-CVE-2022-50742
- Record: https://cvemate.com/vulnerability/CVE-2022-50742 · JSON: https://cvemate.com/vulnerability/CVE-2022-50742/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.269%, percentile 20.302%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 119)

- debian linux (Debian): \< 6.0.3-1
- ubuntu linux (Ubuntu): \< 5.4.0-139.156 \| \< 5.15.0-60.66
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1096.104 \| \< 5.15.0-1030.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1030.34~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1096.104~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1096.104+fips1 \| All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1103.109 \| \< 5.15.0-1033.40
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1033.40~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/fc797285c40a9cc441357abb3521d3e51c743f67>
- <https://git.kernel.org/stable/c/7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1>
- <https://git.kernel.org/stable/c/11bd8bbdf8f6f5c1145bb158793107a57e3a1f07>
- <https://git.kernel.org/stable/c/843433a02e344d30fbb62dfd834c60631baaa527>
- <https://git.kernel.org/stable/c/66032c43291672bae8b93184d2806f05be3e16df>
- <https://git.kernel.org/stable/c/c3b69ba5114c860d730870c03ab4ee45276e5e35>
- <https://ubuntu.com/security/CVE-2022-50742>
- <https://www.cve.org/CVERecord?id=CVE-2022-50742>
- <https://security-tracker.debian.org/tracker/CVE-2022-50742>

---

Data as of 2026-12-06T04:48:46.988Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
