CVE-2022-50318
perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
5.5CVSSMEDIUM
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 Vector Breakdown
Exploitability
AV:LAttack VectorLocal
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:HAvailabilityHigh
Weaknesses
Affected Products
and 3 more affected products View all →
Exploitability
Official Patch Available
References
https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be
git.kernel.org
https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e
git.kernel.org
https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25
git.kernel.org
and 15 more references View all →
Timeline
Published
Sep 15, 2025
Last Updated
Dec 4, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2022-50318 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows