CVE-2026-80821

Source
https://cve.org/CVERecord?id=CVE-2026-80821
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80821.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80821
Downstream
Published
2026-09-04T15:27:42.612Z
Modified
2026-09-06T03:46:49.371669236Z
Summary
nvmet: pci-epf: put CQ ref on create_cq mapping failure
Details

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

nvmet: pci-epf: put CQ ref on create_cq mapping failure

nvmetpciepfcreatecq() calls nvmetcqcreate(), 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 errinternal / errunmapqueue without calling nvmetcqput(). The matching put in nvmetpciepfdeletecq() is gated on NVMETPCIEPFQLIVE, 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/pciaddr therefore leaks the CQ and a controller reference on each attempt.

Drop the CQ reference on the mapping-failure paths. The errinternal and errunmapqueue labels are only reachable after nvmetcq_create() has succeeded, so this pairs the create/put correctly.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80821.json",
    "cna_assigner": "Linux"
}
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
0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186
Fixed
f31650243c1ab32394077f234685e89ed8dece84
Fixed
b5f97fae2503a763fa0f953abf5f121b0fef7d0d
Fixed
56a7b6a6880dbabe28214ff88df8d229ca3a944a
Fixed
659ae9d02cb5d72c76f74fff7441eb8fb64d8f5c

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.47
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.11
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.1

Database specific

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