{"id":"CVE-2026-99856","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:19.250","lastModified":"2026-11-30T14:20:19.250","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: pci-epf: report transport errors in command completions\n\nWhen the PCI endpoint target fails a command itself, the host receives a\nsuccessful completion. This happens for a data length above MDTS,\nmalformed PRPs or SGLs, a buffer allocation failure, an SQ that is not\nlive, and a failed DMA of the command data. A write whose data cannot be\nfetched from the host is thus reported as written, though nothing was\nexecuted.\n\nEach of these paths sets iod->status and calls\nnvmet_pci_epf_complete_iod(), which then reloads iod->status from\niod->cqe.status. The nvmet core only fills that field when it completes\nthe request, which these paths never do, so it is still zero and\nnvmet_pci_epf_cq_work() posts a success status to the host.\n\nDrop the reload. Every path already sets iod->status before completion:\nnvmet_pci_epf_queue_response() copies it from the request's CQE, and\nthe transport error paths set it themselves.\n\nFound by code inspection."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/nvme/target/pci-epf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","lessThan":"5dc1fa00e67e8ab728a1284b8c889675e6eb8605","versionType":"git","status":"affected"},{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","lessThan":"9274d3aa39ddf3cad4836b9ba3ca9759660c31b9","versionType":"git","status":"affected"},{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","lessThan":"46ed7310a60029826eedb01081a4556643ed5f3b","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/nvme/target/pci-epf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/46ed7310a60029826eedb01081a4556643ed5f3b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5dc1fa00e67e8ab728a1284b8c889675e6eb8605","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9274d3aa39ddf3cad4836b9ba3ca9759660c31b9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}