CVE-2022-50318Missing Release of Resource after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

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

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel4.19.1894.19.270+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxa8e87042482fd2d31c5cee62875b2ae75759ae8b5a96c10a56037db006ba6769307a9731cf6073be+8
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50318: 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_2025-09-15
GHSA
GHSA-jgqm-9hcq-78pw: In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() pci_ge2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()2025-09-15
Debian
CVE-2022-50318: linux - In the Linux kernel, the following vulnerability has been resolved: perf/x86/in...2022
CVE-2022-50318 — Linux vulnerability | cvebase