AZL-116788: CVE-2026-138882 affecting package kernel 6.6.161.1-1

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
azure-linux/kernel<=6.6.161.1-1

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() before returning.

Event History

Nov 30, 2026
Advisory Published
via OSV·02:17 PM
Data Sourced
via OSV·02:17 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are most relevant to assess?

Assess systems running the listed kernel package version that use the mt76 mt7996 Wi-Fi PCI driver. The leak occurs in the mt7996_pci_init_hif2() initialization path.

2

What resource is leaked when the affected path runs?

The code leaks PCI device references. It makes three pci_get_device() calls, discards the returned struct pci_dev pointers after NULL checks, and does not call pci_dev_put().

3

What does the resolved code change to prevent the leak?

The fix stores the pci_get_device() return values and calls pci_dev_put() before returning. It follows the reference-management pattern used by the sibling mt7915 PCI driver.

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