CVE-2022-50318

published 15 Sep 2025 · updated 17 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5a96c10a56037db006ba6769307a9731cf6073be, Kernel 5.12, Kernel 5.4.229 and 11 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=a8e87042482fd2d31c5cee62875b2ae75759ae8b <5a96c10a56037db006ba6769307a9731cf6073be, >=5.11.17 <5.12, >=5.4.115 <5.4.229, >=6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b <c0539d5d474ee6fa4ebc41f927a0f98f81244f25, >=9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 <1ff9dd6e7071a561f803135c1d684b13c7a7d01d, >=9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 <3485f197518061371568f842405159aa9e4df551, >=9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 <48f32b9a74e2ac8e854bb87bfefdbc745125a123, >=9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 <bd66877c0b3b42eed0ecee0bd2a2a505c1e54177, =5.12, =d2c79105a90323a2a93484c85f9ac419ae9b183d, >=319a06e58ed7f1443f7133c05513de470f90628d <e293263248f25c6b8aa1caf7c1103d40aa03311e, >=4.19.189 <4.19.270, >=5.10.33 <5.10.1635a96c10a56037db006ba6769307a9731cf6073be, 5.12, 5.4.229, c0539d5d474ee6fa4ebc41f927a0f98f81244f25, 1ff9dd6e7071a561f803135c1d684b13c7a7d01d, 3485f197518061371568f842405159aa9e4df551, 48f32b9a74e2ac8e854bb87bfefdbc745125a123, bd66877c0b3b42eed0ecee0bd2a2a505c1e54177, e293263248f25c6b8aa1caf7c1103d40aa03311e, 4.19.270, 5.10.163
linux-kernel: Kernel>=5.10.33 <5.10.163, >=5.11.17 <5.12, >=5.12.0 <5.15.86, >=5.16.0 <6.0.16, >=5.4.115 <5.4.229, >=6.1.0 <6.1.2, >=4.19.189 <4.19.2705.10.163, 5.12, 5.15.86, 6.0.16, 5.4.229, 6.1.2, 4.19.270

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50318 severity on Zeptric[![CVE-2022-50318](https://zeptric.io/badge/cve/CVE-2022-50318.svg)](https://zeptric.io/cve/CVE-2022-50318)