{"id":"CVE-2026-99856","summary":"nvmet: pci-epf: report transport errors in command completions","details":"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-\u003estatus and calls\nnvmet_pci_epf_complete_iod(), which then reloads iod-\u003estatus from\niod-\u003ecqe.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-\u003estatus 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.","modified":"2026-11-30T15:02:31.807508366Z","published":"2026-11-30T13:17:41.938Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99856.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46ed7310a60029826eedb01081a4556643ed5f3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dc1fa00e67e8ab728a1284b8c889675e6eb8605"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9274d3aa39ddf3cad4836b9ba3ca9759660c31b9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99856.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99856"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186"},{"fixed":"5dc1fa00e67e8ab728a1284b8c889675e6eb8605"},{"fixed":"9274d3aa39ddf3cad4836b9ba3ca9759660c31b9"},{"fixed":"46ed7310a60029826eedb01081a4556643ed5f3b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99856.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99856.json"}}],"schema_version":"1.9.2"}