CVE-2026-138882

Source
https://cve.org/CVERecord?id=CVE-2026-138882
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138882.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138882
Downstream
Published
2026-11-30T13:25:52Z
Modified
2026-11-30T15:01:12Z
Summary
wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()
Details

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

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

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

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138882.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
98686cd21624c75a043e96812beadddf4f6f48e5
Fixed
1483a35ee8deecf8edabf0f86e7935d0a8df5aeb
Fixed
88a93ec95c90de07c51d483e947567e010dde4c1
Fixed
b63fac9e76caf2586609d6728882254962cf7672
Fixed
efd6cb0f3c91ddb28847b7f9ea6a7cf3503d3109
Fixed
d92bac6b6af2602516ee82ae112709c71af27cf6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138882.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138882.json"