# CVE-2026-80821: nvmet: pci-epf: put CQ ref on create\_cq mapping failure

> 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-28)
- **Published:** 2026-09-04T15:27:42.612Z
- **Modified:** 2026-10-19T09:17:16.970Z

## Who should check

- Anyone running Linux \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< f31650243c1ab32394077f234685e89ed8dece84; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< b5f97fae2503a763fa0f953abf5f121b0fef7d0d; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 56a7b6a6880dbabe28214ff88df8d229ca3a944a; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c
- Anyone running Linux 6.14

## Description

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

nvmet: pci-epf: put CQ ref on create\_cq mapping failure

nvmet\_pci\_epf\_create\_cq() calls nvmet\_cq\_create(), which takes a
reference on the controller and installs the completion queue. If the
subsequent PCI address-space mapping fails or returns a too-small partial
mapping, the function jumps to err\_internal / err\_unmap\_queue without
calling nvmet\_cq\_put(). The matching put in nvmet\_pci\_epf\_delete\_cq() is
gated on NVMET\_PCI\_EPF\_Q\_LIVE, which is only set after the mapping
succeeds, so teardown never releases these references. A remote PCI host
that drives Create IO CQ commands with a failing PRP1/pci\_addr therefore
leaks the CQ and a controller reference on each attempt.

Drop the CQ reference on the mapping-failure paths. The err\_internal and
err\_unmap\_queue labels are only reachable after nvmet\_cq\_create() has
succeeded, so this pairs the create/put correctly.

## Affected and fixed versions

- Linux: \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< f31650243c1ab32394077f234685e89ed8dece84; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< b5f97fae2503a763fa0f953abf5f121b0fef7d0d; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 56a7b6a6880dbabe28214ff88df8d229ca3a944a; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80821.md
Affected: Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < f31650243c1ab32394077f234685e89ed8dece84; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < b5f97fae2503a763fa0f953abf5f121b0fef7d0d; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 56a7b6a6880dbabe28214ff88df8d229ca3a944a; >= 0faa0fe6f90ea59b10d1b0f…
Fixed in: Linux 56a7b6a6880dbabe28214ff88df8d229ca3a944a, Linux 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c

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-80821 being exploited?

There is no confirmed exploitation: CVE-2026-80821 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< f31650243c1ab32394077f234685e89ed8dece84; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< b5f97fae2503a763fa0f953abf5f121b0fef7d0d; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 56a7b6a6880dbabe28214ff88df8d229ca3a944a; \>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, \< 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c; Linux 6.14.

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

Yes. Fixed in Linux 56a7b6a6880dbabe28214ff88df8d229ca3a944a, Linux 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c. Upgrade Linux to 659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c or later.

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

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/f31650243c1ab32394077f234685e89ed8dece84>
- other: <https://git.kernel.org/stable/c/b5f97fae2503a763fa0f953abf5f121b0fef7d0d>
- other: <https://git.kernel.org/stable/c/56a7b6a6880dbabe28214ff88df8d229ca3a944a>
- other: <https://git.kernel.org/stable/c/659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c>

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

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