LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50742: 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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2022-50742 is a Linux kernel defect in the OCXL device driver. A failure path can leave a reference count unreleased, causing a resource leak. The public record does not provide CVSS scoring, confirmed impact severity, or evidence of active exploitation.

Executive priority

Handle through normal Linux kernel patch governance, with higher priority for systems using OCXL. Current public evidence supports remediation, but not emergency response, because severity and exploitation details are not established.

Technical view

In misc/ocxl, afu_ioctl() obtains an eventfd context via eventfd_ctx_fdget(). If ocxl_irq_set_handler() fails, the code must call eventfd_ctx_put() to release that reference. The referenced stable commits add that missing cleanup. Impact is described only as a possible refcount leak.

Likely exposure

Exposure appears limited to Linux systems running affected kernels with the OCXL driver present and relevant device access paths available. Organizations without OCXL hardware or driver use likely have reduced practical exposure, but the sources do not define exact attack prerequisites.

Exploitation context

CISA KEV status is false in the provided bundle, and no cited source reports active exploitation. The source material does not describe exploitability, required privileges, or whether the leak can be amplified into denial of service.

Researcher notes

The record is sparse: no CVSS, CWE, exploitability narrative, or distro-specific advisories are provided. Analysis should focus on the referenced kernel commits and local OCXL reachability. Avoid assuming broader Linux impact beyond the OCXL driver path.

Mitigation direction

  • Update to a vendor kernel containing the referenced stable OCXL fixes.
  • Prioritize OCXL-enabled Linux hosts or systems exposing OCXL device access.
  • If using distribution kernels, follow the distribution’s advisory and backport status.
  • Where feasible, disable unused OCXL functionality according to vendor guidance.

Validation and detection

  • Inventory Linux kernels and identify systems using or loading the OCXL driver.
  • Compare deployed kernel builds against vendor advisories and referenced stable commits.
  • Confirm kernel packages include the afu_ioctl() eventfd_ctx_put() cleanup fix.
  • Document OCXL hardware presence and device access controls.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50742 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux060146614643ddc5978c73ffac0329762b4651c9, 060146614643ddc5978c73ffac0329762b4651c9, 060146614643ddc5978c73ffac0329762b4651c9, 060146614643ddc5978c73ffac0329762b4651c9, 060146614643ddc5978c73ffac0329762b4651c9, 060146614643ddc5978c73ffac0329762b4651c9unaffected
LinuxLinux5.2, 0, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.