CVE-2026-80940

Source
https://cve.org/CVERecord?id=CVE-2026-80940
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80940.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80940
Downstream
Published
2026-09-11T19:42:13Z
Modified
2026-09-13T03:46:54Z
Summary
wifi: rtw88: pci: fix resource leak on failed NAPI setup
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80940.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
d0bcb10e7b94861c714ab1e62c98bf8abaa37527
Fixed
481fff9bda01720c70b19fb260808145a3f21594
Fixed
34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84
Fixed
b1596e212ab1739930b25b9d3daf6b5cd307b537
Fixed
e779df4806cd29cbcca5c9dc0a1073662c76b889

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.109
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.50
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

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