mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.166.1.26.2In 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.
From the CVE record · Linux
The Linux kernel’s mt7915 driver leaks a PCI device reference in mt7915_pci_init_hif2(). The input does not describe an attacker action or specify whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with the mt7915 driver should check their systems; affected versions are not specified.