{"id":"CVE-2026-99856","aliases":["CVE-2026-99856"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: pci-epf: report transport errors in command completions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:17:41.938Z","modified":"2026-11-30T14:20:19.250Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","fixed":"5dc1fa00e67e8ab728a1284b8c889675e6eb8605","status":"affected"},{"type":"git","introduced":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","fixed":"9274d3aa39ddf3cad4836b9ba3ca9759660c31b9","status":"affected"},{"type":"git","introduced":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","fixed":"46ed7310a60029826eedb01081a4556643ed5f3b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5dc1fa00e67e8ab728a1284b8c889675e6eb8605","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9274d3aa39ddf3cad4836b9ba3ca9759660c31b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46ed7310a60029826eedb01081a4556643ed5f3b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99856","url":"https://www.cve.org/CVERecord?id=CVE-2026-99856","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:41.938Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99856","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99856","licence":"Public domain","modified":"2026-11-30T14:20:19.250Z"}],"updatedAt":"2026-11-30T14:33:26.777Z","epss":{"score":0.00206,"percentile":0.11346,"date":"2026-12-01T12:00:22.000Z"}}