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.
https://git.kernel.org/stable/c/ccb32e2be14271a60e9ba89c6d5660cc9998773c
https://git.kernel.org/stable/c/3944162821295993ec89992dec98ab6be6306cc0