CVE-2022-50318 Details
Description
In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() pci_get_device() will increase the reference count for the returned 'dev'. We need to call pci_dev_put() to decrease the reference count. Since 'dev' is only used in pci_read_config_dword(), let's add pci_dev_put() right after it.
A reference count leak vulnerability has been identified in the Linux kernel's handling of Intel uncore performance events. This issue arises in the 'hswep_has_limit_sbox()' function, where the 'pci_get_device()' call increases the reference count of the returned device. The vulnerability requires a corresponding 'pci_dev_put()' call to decrease the reference count, which was initially missing. The issue affects several versions of the Linux kernel.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d | kernel.org | Patch |
| https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551 | kernel.org | Patch |
| https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be | kernel.org | Patch |
| https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19.189, < 4.19.270 >= 5.4.115, < 5.4.229 >= 5.10.33, < 5.10.163 >= 5.11.17, < 5.12 >= 5.12.1, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 5.12 - |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |