In the Linux kernel, the following vulnerability has been resolved: mt76: mt7915: Fix PCI device refcount leak in mt7915pciinithif2() As comment of pcigetdevice() says, it returns a pcidevice with its refcount increased. We need to call pcidevput() to decrease the refcount. Save the return value of pcigetdevice() and call pcidevput() to decrease the refcount.