nvmet: pci-epf: report transport errors in command completions
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.14.0, < 6.18.63→ 6.18.63 ≥ 6.19.0, < 7.3.4→ 7.3.4 |
6.18.63 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99856 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99856 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99856 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
nvmet: pci-epf: report transport errors in command completions
When the PCI endpoint target fails a command itself, the host receives a
successful completion. This happens for a data length above MDTS,
malformed PRPs or SGLs, a buffer allocation failure, an SQ that is not
live, and a failed DMA of the command data. A write whose data cannot be
fetched from the host is thus reported as written, though nothing was
executed.
Each of these paths sets iod->status and calls
nvmet_pci_epf_complete_iod(), which then reloads iod->status from
iod->cqe.status. The nvmet core only fills that field when it completes
the request, which these paths never do, so it is still zero and
nvmet_pci_epf_cq_work() posts a success status to the host.
Drop the reload. Every path already sets iod->status before completion:
nvmet_pci_epf_queue_response() copies it from the request's CQE, and
the transport error paths set it themselves.
Found by code inspection.
Source: Linux kernel CVE announcements NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- LINUX-CVE-ANNOUNCE CVE-2026-99856: nvmet: pci-epf: report transport errors in command completions
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com