CVE-2026-138882: wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7996: fix PCI device reference leak in mt7996pciinithif2()

pcigetdevice() increments the reference count on the returned struct pcidev. In mt7996pciinithif2(), three pcigetdevice() calls are made but their return values are only checked for NULL and then discarded. pcidevput() is never called, causing a PCI device reference count leak.

Fix this by storing the return value and calling pcidevput() before returning, following the same pattern already used in the sibling driver mt7915/pci.c.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In mt7996_pci_init_hif2(), store the return values of the three pci_get_device() calls and call pci_dev_put() on each returned struct pci_dev before returning.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203