CVE-2022-50318

Updated on 15 Sep 2025

Severity

5.5 Medium severity

Details

CVSS score
5.5
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

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.

Details

Affected packages:
kernel @ 4.18.0 (+4 more)

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.

Fixes