# CVE-2026-80940: wifi: rtw88: pci: fix resource leak on failed NAPI setup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-11T19:42:13.084Z
- **Modified:** 2026-10-19T09:17:25.230Z

## Who should check

- Anyone running Linux \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 481fff9bda01720c70b19fb260808145a3f21594; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< b1596e212ab1739930b25b9d3daf6b5cd307b537; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< e779df4806cd29cbcca5c9dc0a1073662c76b889
- Anyone running Linux 6.11

## 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.

## Affected and fixed versions

- Linux: \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 481fff9bda01720c70b19fb260808145a3f21594; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< b1596e212ab1739930b25b9d3daf6b5cd307b537; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< e779df4806cd29cbcca5c9dc0a1073662c76b889 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80940. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80940.md
Affected: Linux >= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, < 481fff9bda01720c70b19fb260808145a3f21594; >= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, < 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84; >= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, < b1596e212ab1739930b25b9d3daf6b5cd307b537; >= d0bcb10e7b94861c714ab1e…
Fixed in: Linux 481fff9bda01720c70b19fb260808145a3f21594, Linux 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80940 being exploited?

There is no confirmed exploitation: CVE-2026-80940 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80940?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80940?

Linux \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 481fff9bda01720c70b19fb260808145a3f21594; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< b1596e212ab1739930b25b9d3daf6b5cd307b537; \>= d0bcb10e7b94861c714ab1e62c98bf8abaa37527, \< e779df4806cd29cbcca5c9dc0a1073662c76b889; Linux 6.11.

### Is there a fix for CVE-2026-80940?

Yes. Fixed in Linux 481fff9bda01720c70b19fb260808145a3f21594, Linux 34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80940?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/481fff9bda01720c70b19fb260808145a3f21594>
- other: <https://git.kernel.org/stable/c/34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84>
- other: <https://git.kernel.org/stable/c/b1596e212ab1739930b25b9d3daf6b5cd307b537>
- other: <https://git.kernel.org/stable/c/e779df4806cd29cbcca5c9dc0a1073662c76b889>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80940>

HTML: <https://flawdb.com/CVE-2026-80940> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80940>
