CVE-2022-50742
published 2025-12-24CVE-2022-50742: 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…
PriorityP419low5.5
EPSS
0.22%
13.2th percentile
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
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.3-1 (bookworm) | linux 6.0.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < fc797285c40a9cc441357abb3521d3e51c743f67 | fc797285c40a9cc441357abb3521d3e51c743f67 |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1 | 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1 |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07 | 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07 |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < 843433a02e344d30fbb62dfd834c60631baaa527 | 843433a02e344d30fbb62dfd834c60631baaa527 |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < 66032c43291672bae8b93184d2806f05be3e16df | 66032c43291672bae8b93184d2806f05be3e16df |
| linux | linux | >= 060146614643ddc5978c73ffac0329762b4651c9 < c3b69ba5114c860d730870c03ab4ee45276e5e35 | c3b69ba5114c860d730870c03ab4ee45276e5e35 |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 5.11.0 < 5.15.75 | 5.15.75 |
| linux | linux_kernel | >= 5.16.0 < 5.19.17 | 5.19.17 |
| linux | linux_kernel | >= 5.2.0 < 5.4.220 | 5.4.220 |
| linux | linux_kernel | >= 5.20.0 < 6.0.3 | 6.0.3 |
| linux | linux_kernel | >= 5.5.0 < 5.10.150 | 5.10.150 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Linux Kernel up to 6.0.2 ocxl afu_ioctl reference count (Nessus ID 279752 / WID-SEC-2025-2929)
vuldb·2026-04-21
CVE-2022-50742 [CRITICAL] Linux Kernel up to 6.0.2 ocxl afu_ioctl reference count (Nessus ID 279752 / WID-SEC-2025-2929)
A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.4.219/5.10.149/5.15.74/5.19.16/6.0.2. This affects the function afu_ioctl of the component ocxl. Executing a manipulation can lead to improper update of reference count.
This vulnerability is tracked as CVE-2022-50742. The attack is only possible within the local network. No exploit exists.
You should upgrade the affected component.
OSV
misc: ocxl: fix possible refcount leak in afu_ioctl()
osv·2025-12-24
CVE-2022-50742 misc: ocxl: fix possible refcount leak in afu_ioctl()
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.
OSV
CVE-2022-50742: 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 c
osv·2025-12-24
CVE-2022-50742 CVE-2022-50742: 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 c
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.
GHSA
GHSA-7fvc-c9hj-7pgf: 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
ghsa_unreviewed·2025-12-24
CVE-2022-50742 GHSA-7fvc-c9hj-7pgf: 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
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.
Red Hat
kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()
vendor_redhat·2025-12-24·CVSS 5.5
CVE-2022-50742 [LOW] CWE-772 kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()
kernel: Linux kernel: Denial of Service via refcount leak in ocxl 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.
A flaw was found in the Linux kernel's `misc: ocxl` component. A local attacker with low privileges could exploit a reference count leak in the `afu_ioctl()` function. This flaw occurs when `ocxl_irq_set_handler` fails to call `eventfd_ctx_put` to release a reference count obtained by `eventfd_ctx_fdget`. This could lead to a denial of service (DoS) due to resource exhaustion.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise
Debian
CVE-2022-50742: linux - In the Linux kernel, the following vulnerability has been resolved: misc: ocxl:...
vendor_debian·2022
CVE-2022-50742 CVE-2022-50742: linux - In the Linux kernel, the following vulnerability has been resolved: misc: ocxl:...
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.
Scope: local
bookworm: resolved (fixed in 6.0.3-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.3-1)
sid: resolved (fixed in 6.0.3-1)
trixie: resolved (fixed in 6.0.3-1)
No detection rules found.
No public exploits indexed.
Wiz
CVE-2022-50742 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2022-50742 CVE-2022-50742 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2022-50742 :
Linux Kernel vulnerability analysis and mitigation
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.
Source : NVD
Published December 24, 2025
CNA Score N/A
Affected Technologies
Linux Kernel
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 10.8
Exploitation Probability (EPSS) N/A
Affected packages and libraries
linux-oracle
kernel-debug-core
Sources
NVD
Debian 11, 12, 13, 14 Has Fix Added at: Dec 26, 2025
Echo Has Fix Added at: Dec 26, 2025
Red Hat 8, 9 Sever
Bugzilla
CVE-2022-50742 kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()
bugzilla·2025-12-24
CVE-2022-50742 [LOW] CVE-2022-50742 kernel: Linux kernel: Denial of Service via refcount leak in ocxl afu_ioctl()
CVE-2022-50742 kernel: Linux kernel: Denial of Service via refcount leak in ocxl 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.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025122449-CVE-2022-50742-e130@gregkh/T
https://git.kernel.org/stable/c/11bd8bbdf8f6f5c1145bb158793107a57e3a1f07https://git.kernel.org/stable/c/66032c43291672bae8b93184d2806f05be3e16dfhttps://git.kernel.org/stable/c/7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1https://git.kernel.org/stable/c/843433a02e344d30fbb62dfd834c60631baaa527https://git.kernel.org/stable/c/c3b69ba5114c860d730870c03ab4ee45276e5e35https://git.kernel.org/stable/c/fc797285c40a9cc441357abb3521d3e51c743f67
2025-12-24
Published