CVE-2022-50742

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 060146614643ddc5978c73ffac0329762b4651c9 to before fc797285c40a9cc441357abb3521d3e51c743f67Affected
  • 060146614643ddc5978c73ffac0329762b4651c9 to before 7ba19a60c74fb0057d4daef2fa2cbfc9522f3ba1Affected
  • 060146614643ddc5978c73ffac0329762b4651c9 to before 11bd8bbdf8f6f5c1145bb158793107a57e3a1f07Affected
  • 060146614643ddc5978c73ffac0329762b4651c9 to before 843433a02e344d30fbb62dfd834c60631baaa527Affected
  • 060146614643ddc5978c73ffac0329762b4651c9 to before 66032c43291672bae8b93184d2806f05be3e16dfAffected
  • 060146614643ddc5978c73ffac0329762b4651c9 to before c3b69ba5114c860d730870c03ab4ee45276e5e35Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.