NetSight
medium5.5

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_device() …

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.19.189 before 4.19.270
from 5.4.115 before 5.4.229
from 5.10.33 before 5.10.163
from 5.11.17 before 5.12
from 5.12.1 before 5.15.86
from 5.16 before 6.0.16

References