
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2022-50337) was identified related to a PCI device refcount leak in the OpenCAPI (ocxl) subsystem when calling the getfunction0() function. The issue was discovered and publicly disclosed on September 15, 2025 (NVD).
The vulnerability occurs because getfunction0() calls pcigetdomainbusandslot(), which returns a PCI device with refcount increment. After using it, pcidevput() needs to be called. The fix involves getting the device reference when getfunction0() is not called, so pcidevput() can be called in the error path and callers unconditionally. Additionally, a comment was added above getdvsecvendor0() to inform callers to call pcidev_put() (NVD).
The vulnerability could lead to memory leaks in the Linux kernel due to improper reference counting of PCI devices. This affects various Linux distributions and their kernel versions, including Ubuntu 22.04 LTS and several other enterprise distributions (Ubuntu).
The vulnerability has been fixed in various Linux distributions. Ubuntu has released patches for affected versions, specifically in version 5.15.0-69.76 for Ubuntu 22.04 LTS (jammy). Similar fixes have been implemented for other affected versions including linux-kvm (5.15.0-1030.35), linux-aws (5.15.0-1033.37), and linux-azure (5.15.0-1035.42) (Ubuntu).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."