CVE-2022-48881

platform/x86/amd: Fix refcount leak in amd_pmc_probe

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before 3944162821295993ec89992dec98ab6be6306cc0Affected
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before ccb32e2be14271a60e9ba89c6d5660cc9998773cAffected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.7 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.