perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 · < bd66877c0b3b42eed0ecee0bd2a2a505c1e54177| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s hswep_has_limit_sbox() function fails to release a PCI device reference after reading its configuration. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Teams running the Linux kernel should check their versions; affected versions are not specified in the input.