CVE-2022-48881 platform/x86/amd: Fix refcount leak in amd_pmc_probe

High 7.1 Published Updated

A refcount leak in the AMD PMC driver can lead to resource exhaustion and denial of service in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-48881?

CVE-2022-48881 is a high-severity vulnerability in Linux kernel, published on 21 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2022-48881?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48881?

Apply the vendor's patch.

Is CVE-2022-48881 being exploited?

There is no known exploitation of CVE-2022-48881 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48881, GHSA-8rqg-fx6m-3c97, UBUNTU-CVE-2022-48881.

Is CVE-2022-48881 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free