What’s Vulnerable › Vulnerabilities

CVE-2022-50318: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.270, 5.10.163, 5.12, 5.15.86. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50318 or the next vulnerability affects your stack