In the Linux kernel, the following vulnerability has been resolved:
mmc: sdhci-pci: Fix possible memory leak caused by missing pcidevput()
pcigetdevice() will increase the reference count for the returned pcidev. We need to use pcidevput() to decrease the reference count before amdprobe() returns. There is no problem for the 'smbusdev == NULL' branch because pcidev_put() can also handle the NULL input parameter case.