Description

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.

Affected products

VendorProductVersions
LinuxLinux0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to <5dc1fa00e67e8ab728a1284b8c889675e6eb8605 [affected]; 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to <9274d3aa39ddf3cad4836b9ba3ca9759660c31b9 [affected]; 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to <46ed7310a60029826eedb01081a4556643ed5f3b [affected]
LinuxLinux6.14 [affected]; 0 to <6.14 [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 01 Dec 2026 08:04 UTC.