CVEvulnerability
CVE-2022-50318
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-09-15
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (>= 4.19.189 < 4.19.270)
• linux linux kernel (>= 5.4.115 < 5.4.229)
• linux linux kernel (>= 5.10.33 < 5.10.163)
• linux linux kernel (>= 5.11.17 < 5.12)
• linux linux kernel (>= 5.12.1 < 5.15.86)
• linux linux kernel (>= 5.16 < 6.0.16)
• linux linux kernel (>= 6.1 < 6.1.2)
• linux linux kernel 5.12
References
- https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d Patch
- https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551 Patch
- https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123 Patch
- https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be Patch
- https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177 Patch
- https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25 Patch
- https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e Patch