Back
CVE-2022-50318
perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
Medium5.5EPSS 0.16%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected a8e87042482fd2d31c5cee62875b2ae75759ae8b – < 5a96c10a56037db006ba6769307a9731cf6073be
- affected 319a06e58ed7f1443f7133c05513de470f90628d – < e293263248f25c6b8aa1caf7c1103d40aa03311e
- affected 6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b – < c0539d5d474ee6fa4ebc41f927a0f98f81244f25
- affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 – < 3485f197518061371568f842405159aa9e4df551
- affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 – < 48f32b9a74e2ac8e854bb87bfefdbc745125a123
- affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 – < bd66877c0b3b42eed0ecee0bd2a2a505c1e54177
- affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 – < 1ff9dd6e7071a561f803135c1d684b13c7a7d01d
- affected d2c79105a90323a2a93484c85f9ac419ae9b183d
- affected 4.19.189 – < 4.19.270
- affected 5.4.115 – < 5.4.229
- affected 5.10.33 – < 5.10.163
- affected 5.11.17 – < 5.12
- affected 5.12
- unaffected < 5.12
- unaffected 4.19.270 – ≤ 4.19.*
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.86 – ≤ 5.15.*
- unaffected 6.0.16 – ≤ 6.0.*
- unaffected 6.1.2 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References (7)
- https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be (opens in a new tab)
- https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e (opens in a new tab)
- https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25 (opens in a new tab)
- https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551 (opens in a new tab)
- https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123 (opens in a new tab)
- https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177 (opens in a new tab)
- https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50318)Record last updated .