{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99856",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.438Z",
        "datePublished": "2026-11-30T13:17:41.938Z",
        "dateUpdated": "2026-11-30T13:17:41.938Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:17:41.938Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/pci-epf.c"
                    ],
                    "versions": [
                        {
                            "version": "0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186",
                            "lessThan": "5dc1fa00e67e8ab728a1284b8c889675e6eb8605",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186",
                            "lessThan": "9274d3aa39ddf3cad4836b9ba3ca9759660c31b9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186",
                            "lessThan": "46ed7310a60029826eedb01081a4556643ed5f3b",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/pci-epf.c"
                    ],
                    "versions": [
                        {
                            "version": "6.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5dc1fa00e67e8ab728a1284b8c889675e6eb8605"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9274d3aa39ddf3cad4836b9ba3ca9759660c31b9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/46ed7310a60029826eedb01081a4556643ed5f3b"
                }
            ],
            "title": "nvmet: pci-epf: report transport errors in command completions",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}