CVE-2026-138882
wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()
Check your servers for CVE-2026-138882
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138882 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 98686cd21624c75a043e96812beadddf4f6f48e5, before 1483a35ee8deecf8edabf0f86e7935d0a8df5aeb affected from 98686cd21624c75a043e96812beadddf4f6f48e5, before 88a93ec95c90de07c51d483e947567e010dde4c1 affected from 98686cd21624c75a043e96812beadddf4f6f48e5, before b63fac9e76caf2586609d6728882254962cf7672 affected from 98686cd21624c75a043e96812beadddf4f6f48e5, before efd6cb0f3c91ddb28847b7f9ea6a7cf3503d3109 affected from 98686cd21624c75a043e96812beadddf4f6f48e5, before d92bac6b6af2602516ee82ae112709c71af27cf6
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138882 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138882
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138882
trivy image --scanners vuln IMAGE | grep CVE-2026-138882
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1483a35ee8deecf8edabf0f86e7935d0a8df5aeb git.kernel.org
- https://git.kernel.org/stable/c/88a93ec95c90de07c51d483e947567e010dde4c1 git.kernel.org
- https://git.kernel.org/stable/c/b63fac9e76caf2586609d6728882254962cf7672 git.kernel.org
- https://git.kernel.org/stable/c/efd6cb0f3c91ddb28847b7f9ea6a7cf3503d3109 git.kernel.org
- https://git.kernel.org/stable/c/d92bac6b6af2602516ee82ae112709c71af27cf6 git.kernel.org
Source: the record CVE-2026-138882 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse