From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045310; b=0eN0IeE8QrHGsriVoeV9zGlLsvHOuiyxpYTamZ8JU0QC3XUCwHC6CNvEctjIfq0fzLr2 pU41FJGXKUnIoFVtaJzurbv49XCKv3T3CuQX/w0xDNjrsb5i2AWe5KAdd/r379p6hH2VT n9Lj9p8ULUKLeGRY+pinLUZ2nUkQF8akPDEdOIy/i32Z+sdguF/rpioSb1rgjFUKFUwLw npR4fNsZ17VshYFcuRuZrTEKB2SCS5b4OksvxIHNSZNqSYuOH7OmKkMEqjcWrSOPx0hnJ CtNIqQ4xwYFMD6rGM2sGK9XxlhaCXiNQnxVUv9S+WJeX3k13hOTHyB6emQ0Gndl0tOg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045310; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=ix/Ikd6L2ZUKNJjLYLxL3hUm+OKlopqLMw+CCZ6H6v4=; b=pEsR1x3bNLs6Befw8QGO0vN+NkhR/TAzLBeB4rN5qsYxvEWkvUZ3b97qLJmBRVPBYBSF ef/+OENgxsP664zDraB7CnCcg1U9cyeod1RLPJIwKeMTPlTOmuOd4gztkMy4AHzsOBFCp mJnd55xhEMOZ2u7tTgChBGMCvcL0kFK6U4DfObKsE6oDUcEc3QUozEovV2x4zvOmnfJKX 1hYv4gMGiWUY2IuHlBV/RpYOVEXoQAH/PPcXGh8znNTMDvAJalZr4pgf0JWRwh2zqWJoM w+SkQVM+PDOHl/lzlKSgtU5xHLEdvGZWpKw2TNi9AGbKBk+z2apyNx39mB+SwAJNKMw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=yhjvUKT3; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBD27606A31C for ; Mon, 30 Nov 2026 13:28:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=yhjvUKT3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CFC61F000C1; Mon, 30 Nov 2026 13:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045310; bh=ix/Ikd6L2ZUKNJjLYLxL3hUm+OKlopqLMw+CCZ6H6v4=; h=From:To:Cc:Subject:Date:Reply-To; b=yhjvUKT39Iko3vxaz89xkDSelgOwrostUZfsirrMndBDlRWsCmbJ1pNhenHv1qmAS kPCMYjOVbWjNwnEE+Sc58aLs6Yfk16sNY3Al+jeAT/NSfzmNkpUTxT8cqDyM71xoio iACl5m+yL2ZSSbZ1o8oCJ5yfBxSdBal7e9TA3vEo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99856: nvmet: pci-epf: report transport errors in command completions Date: Mon, 30 Nov 2026 14:18:06 +0100 Message-ID: <2026113039-CVE-2026-99856-d2cd@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2910; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xJOAYVHoOq8clK1Md9W4aYq8x7ZtUkkkhScwWonLTyY=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm85cVJna6n62X0OMvlSq+olh3tj9/6THyzbMKLKdeWL F2Q1/O+I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSJsswz+ChzdFp86fv6NPb K98w6+GbRQY+PAxzuNfu3Zk3z75YoZs1Lc9nkUVlILssAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99856 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 and fixed in 6.18.63 with commit 5dc1fa00e67e8ab728a1284b8c889675e6eb8605 Issue introduced in 6.14 with commit 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 and fixed in 7.3.4 with commit 9274d3aa39ddf3cad4836b9ba3ca9759660c31b9 Issue introduced in 6.14 with commit 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 and fixed in 7.4-rc1 with commit 46ed7310a60029826eedb01081a4556643ed5f3b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99856 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/nvme/target/pci-epf.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/5dc1fa00e67e8ab728a1284b8c889675e6eb8605 https://git.kernel.org/stable/c/9274d3aa39ddf3cad4836b9ba3ca9759660c31b9 https://git.kernel.org/stable/c/46ed7310a60029826eedb01081a4556643ed5f3b