CVE-2022-50318
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-15

Last updated on: 2025-12-04

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-15
Last Modified
2025-12-04
Generated
2026-05-27
AI Q&A
2025-09-15
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 8 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 4.19.189 (inc) to 4.19.270 (exc)
linux linux_kernel From 5.4.115 (inc) to 5.4.229 (exc)
linux linux_kernel From 5.10.33 (inc) to 5.10.163 (exc)
linux linux_kernel From 5.11.17 (inc) to 5.12 (exc)
linux linux_kernel From 5.12.1 (inc) to 5.15.86 (exc)
linux linux_kernel From 5.16 (inc) to 6.0.16 (exc)
linux linux_kernel From 6.1 (inc) to 6.1.2 (exc)
linux linux_kernel 5.12
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-Other
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a reference count leak in the Linux kernel's perf/x86/intel/uncore component, specifically in the hswep_has_limit_sbox() function. The issue arises because pci_get_device() increases the reference count for a device object, but pci_dev_put() was not called to decrease the reference count after the device was used in pci_read_config_dword(). This leads to a resource leak.


How can this vulnerability impact me? :

The reference count leak can cause resource exhaustion in the kernel, potentially leading to degraded system performance or instability over time as resources are not properly released.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart