Bug 2586478 (CVE-2026-99856) - CVE-2026-99856 kernel: kernel: Data corruption via improper command completion in NVMe target PCI endpoint
Summary: CVE-2026-99856 kernel: kernel: Data corruption via improper command completio...
Keywords:
Status: NEW
Alias: CVE-2026-99856
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:51 UTC by OSIDB Bzimport
Modified: 2026-11-30 22:41 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:51:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.