Security mailing lists by PureSourceCode

CVE-2026-99856

not scored yet

nvmet: pci-epf: report transport errors in command completions

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 5dc1fa00e67e8ab728a1284b8c889675e6eb8605; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 9274d3aa39ddf3cad4836b9ba3ca9759660c31b9; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 46ed7310a60029826eedb01081a4556643ed5f3b 5dc1fa00e67e8ab728a1284b8c889675e6eb8605, 9274d3aa39ddf3cad4836b9ba3ca9759660c31b9, 46ed7310a60029826eedb01081a4556643ed5f3b
CVE List Linux Linux = 6.14

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.