LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50337: ocxl: fix pci device refcount leak when calling get_function_0()

In the Linux kernel, the following vulnerability has been resolved: ocxl: fix pci device refcount leak when calling get_function_0() get_function_0() calls pci_get_domain_bus_and_slot(), as comment says, it returns a pci device with refcount increment, so after using it, pci_dev_put() needs be called. Get the device reference when get_function_0() is not called, so pci_dev_put() can be called in the error path and callers unconditionally. And add comment above get_dvsec_vendor0() to tell callers to call pci_dev_put().

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel defect in the ocxl driver where a PCI device reference may not be released correctly. The public record describes a refcount leak, not remote code execution or data theft. Business urgency depends on whether affected Linux kernels and ocxl/OpenCAPI-related hardware or drivers are in use.

Executive priority

Treat as a targeted kernel maintenance item, not an emergency, unless ocxl-capable systems are business-critical. Patch through normal kernel update processes after confirming exposure.

Technical view

get_function_0() calls pci_get_domain_bus_and_slot(), which increments a PCI device reference count. The fix ensures pci_dev_put() is called after use and on error paths, and documents caller responsibility around get_dvsec_vendor0(). Public scoring and CWE details are absent.

Likely exposure

Exposure appears limited to Linux systems running affected kernel versions with the ocxl driver path reachable. The source bundle lists Linux as affected but does not identify distributions, configurations, or reachable attack surfaces.

Exploitation context

CISA KEV is false, and the provided sources do not report active exploitation, exploit availability, or attacker prerequisites. The impact is described only as a PCI device refcount leak in kernel code.

Researcher notes

Evidence is narrow: the record names a refcount leak and upstream stable fixes but no CVSS, CWE, proof of exploitation, or distribution mapping. Avoid broad severity claims without vendor-specific analysis.

Mitigation direction

  • Check kernel.org stable commits and your Linux vendor advisories for fixed kernel packages.
  • Update affected kernels to vendor-supported builds containing the referenced ocxl fix.
  • Prioritize systems with ocxl/OpenCAPI hardware, enabled drivers, or custom kernels.
  • If patching is delayed, review vendor guidance for ocxl-specific risk reduction.

Validation and detection

  • Inventory Linux kernel versions across servers and appliances.
  • Check whether the ocxl driver is present, built, or loaded.
  • Compare package changelogs or source trees against the referenced stable commits.
  • Confirm vendor backport status for maintained distribution kernels.
Prepared
Confidence
medium
Sources
7

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-50337 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
6Source 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
LinuxLinux87db7579ebd5ded337056eb765542eb2608f16e3, 87db7579ebd5ded337056eb765542eb2608f16e3, 87db7579ebd5ded337056eb765542eb2608f16e3, 87db7579ebd5ded337056eb765542eb2608f16e3, 87db7579ebd5ded337056eb765542eb2608f16e3unaffected
LinuxLinux5.9, 0, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

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