Skip to main content
← All vulnerabilities
CVE-2022-50318

perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.270, 5.4.229, 5.10.163, 5.12
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.19.189 · fixed in 4.19.270; From 5.4.115 · fixed in 5.4.229; From 5.10.33 · fixed in 5.10.163; From 5.11.17 · fixed in 5.12

  • Linux Linux

    5.12

References 7

git.kernel.org