CVE-2022-50742

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

N/A
Published: December 24, 2025 at 01:05 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.2 ≤ v < 5.10.1505.2 ≤ v < 5.15.755.2 ≤ v < 5.19.175.2 ≤ v < 5.4.2205.2 ≤ v < 6.0.35.2 ≤ v < 6.15.260146614643ddc5978c73ffac329762b4651c9
Vendor states this is fixed in 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07 (fixed)
Vendor states this is fixed in 66032c43291672bae8b93184d2806f05be3e16df (fixed)
Vendor states this is fixed in 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1 (fixed)
Vendor states this is fixed in 843433a02e344d30fbb62dfd834c60631baaa527 (fixed)
Vendor states this is fixed in c3b69ba5114c860d730870c03ab4ee45276e5e35 (fixed)
Vendor states this is fixed in fc797285c40a9cc441357abb3521d3e51c743f67 (fixed)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card