CVE-2022-50742

Source
https://cve.org/CVERecord?id=CVE-2022-50742
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50742.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50742
Downstream
Related
Published
2025-12-24T13:05:39.566Z
Modified
2026-03-20T11:47:36.185413Z
Summary
misc: ocxl: fix possible refcount leak in afu_ioctl()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

eventfdctxput need to be called to put the refcount that gotten by eventfdctxfdget when ocxlirqset_handler fails.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50742.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
060146614643ddc5978c73ffac0329762b4651c9
Fixed
fc797285c40a9cc441357abb3521d3e51c743f67
Fixed
7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1
Fixed
11bd8bbdf8f6f5c1145bb158793107a57e3a1f07
Fixed
843433a02e344d30fbb62dfd834c60631baaa527
Fixed
66032c43291672bae8b93184d2806f05be3e16df
Fixed
c3b69ba5114c860d730870c03ab4ee45276e5e35

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50742.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50742.json"