CVE-2026-80940
wifi: rtw88: pci: fix resource leak on failed NAPI setup
Check your servers for CVE-2026-80940
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-80940 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: rtw88: pci: fix resource leak on failed NAPI setup
rtw_pci_probe() allocates PCI resources through rtw_pci_setup_resource() before it sets up NAPI. If rtw_pci_napi_init() fails, the error path jumps straight to err_pci_declaim and skips rtw_pci_destroy(), leaving the PCI resources allocated by rtw_pci_setup_resource() behind.
Add a dedicated cleanup label for the NAPI setup failure path so probe destroys the PCI resources.
The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing current mainline kernels. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc7.
An x86_64 allyesconfig build showed no new warnings. As we do not have a suitable rtw88 PCI board to test with, no runtime testing was able to be performed.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.35% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d0bcb10e7b94861c714ab1e62c98bf8abaa37527, before 481fff9bda01720c70b19fb260808145a3f21594 affected from d0bcb10e7b94861c714ab1e62c98bf8abaa37527, before 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84 affected from d0bcb10e7b94861c714ab1e62c98bf8abaa37527, before b1596e212ab1739930b25b9d3daf6b5cd307b537 affected from d0bcb10e7b94861c714ab1e62c98bf8abaa37527, before e779df4806cd29cbcca5c9dc0a1073662c76b889
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 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-80940 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80940
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-80940
trivy image --scanners vuln IMAGE | grep CVE-2026-80940
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/481fff9bda01720c70b19fb260808145a3f21594 git.kernel.org
- https://git.kernel.org/stable/c/34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84 git.kernel.org
- https://git.kernel.org/stable/c/b1596e212ab1739930b25b9d3daf6b5cd307b537 git.kernel.org
- https://git.kernel.org/stable/c/e779df4806cd29cbcca5c9dc0a1073662c76b889 git.kernel.org
Source: the record CVE-2026-80940 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