In the Linux kernel, the following vulnerability has been resolved:
mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
As comment of pci_get_device() says, it returns a pci_device with its refcount increased. We need to call pci_dev_put() to decrease the refcount. Save the return value of pci_get_device() and call pci_dev_put() to decrease the refcount.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.12 | 6.0.16 |
| linux / linux_kernel | 6.1 | 6.1.2 |