mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
En bref
Sévérité
Non disponible
EPSS
EPSS 0.16 % · centile 5 (2026-10-28)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed
Description
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.