CVE-2022-48881Published Aug 21, 2024 · Aug 21Updated Oct 28
platform/x86/amd: Fix refcount leak in amd_pmc_probe
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd: Fix refcount leak in amd_pmc_probe
pci_get_domain_bus_and_slot() takes reference, the caller should release the reference by calling pci_dev_put() after use. Call pci_dev_put() in the error path to fix this.
From the CVE record · Linux
The Linux kernel's amd_pmc_probe error path fails to release a PCI device reference, causing a reference-count leak. The input does not specify whether an attacker can trigger it or any required access or user interaction.
Engineers running Linux kernels with the AMD PMC driver should check their installations; affected versions are not specified.