Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A25AF35DA79 for ; Sat, 15 Aug 2026 06:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774474; cv=none; b=gDdkVmq2NEooV+RfajmM+Un4SfxqcvamPY1Snm45+JdL50M00ZKh2yO4Iex3+ue3mkQc1Ove08A/MdexhiF7WjQSiePd2Ers/uj6fPAaqzIpyU0APiIMkkZyb7HIuUcm88VcSwtH42/DMx3zQHdz4ojCPQHGf/Sw6fGV2YHC/4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774474; c=relaxed/simple; bh=dDc09kpPsxlSe1+PWuCq3zCgiUOjZldwz/LquX8I3LE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NHBCIDJYxptEjm+2cTh99kqbPI/sFX8wmq82bydCYxWbPIRN7TsJP6jZREjEbVm8VhFk5yL8bIu1dNylj8wsEcu1cKbAiFYTG1efs3+1CkNEe5eMMsK3Kp0u9L6nDPoG/PZ5oblcyNC6DiO/zguAovOsy/b8MJGs1vKuaQ1YWRk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v+0jDgKq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="v+0jDgKq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05B2C1F000E9; Sat, 15 Aug 2026 06:14:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774473; bh=sDMTfFqql0NV+VjpSslp6Kt+8lKSTc8lQ6CEtZfBoj0=; h=From:To:Cc:Subject:Date:Reply-To; b=v+0jDgKq4SCuCQ8T0cW3cFEgiFQ8P2Tfpyy9FGIUCWRydMjyFOtAEL8EatkQDoYxn Pap1ZjMqKRCnGZrnG3x/9frFobGcqb/gR+CCOEXYAjapjPRxDsoppjkHx7bJ+8Dc8t F4qu9z1spjB3ERtdFfu0g6ai482e5BMTMw3m5gis= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72129: nvmet-rdma: handle inline data with a nonzero offset Date: Sat, 15 Aug 2026 15:03:28 +0900 Message-ID: <2026081530-CVE-2026-72129-841e@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4399; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MLsQAY+PlDHGi5MV/Wsb5pQ8yRCN+n8E59+Jo462VRE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLvMH4oK7r+w57bV+QvnjprfbW39fuzhMy21xwp+Z xQWHtLb0RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmRPHMD/2vAH7nAdmXbp7 p5rfyuIq3SDHu5hhwRx/57NG365np+U3W3wNvcEVo9X8BAA= 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-rdma: handle inline data with a nonzero offset nvmet_rdma_use_inline_sg() maps the host-controlled inline data offset into the per-command inline scatterlist. The bounds check admits any offset with off + len <= inline_data_size, but the mapping still assumes the data begins in the first inline page: sg->offset = off; sg->length = min_t(int, len, PAGE_SIZE - off); When a port is configured with inline_data_size > PAGE_SIZE (settable up to max(SZ_16K, PAGE_SIZE)), an offset in (PAGE_SIZE, inline_data_size] makes "PAGE_SIZE - off" underflow, so sg->length is set to ~4 GiB and the block backend reads far past the first inline page. num_pages(len) also ignores the offset, so an in-bounds offset whose [off, off+len) span crosses a page boundary under-counts the scatterlist. Map the offset properly: split it into a page index and an in-page offset, start the scatterlist at that page, and size the page count from page_off + len. Because the request scatterlist may now start at inline_sg[page_idx] rather than inline_sg[0], generalize the inline-SGL identity test in nvmet_rdma_release_rsp() to a range test; otherwise the persistent inline scatterlist is mistaken for an allocated one and nvmet_req_free_sgls() frees an inline page (and warns in free_large_kmalloc()). The Linux kernel CVE team has assigned CVE-2026-72129 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 5.10.261 with commit c2106ba1b14d644a5203bea1a50dbe25dcad713c Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 5.15.212 with commit bf8bcc1c137d54a62a428b00051fdbb13660673b Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 6.1.178 with commit 11401371152b228448a41d79c6de1c938f93049a Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 6.6.145 with commit 7c96581169c9d9a7d0726e554313acfbead6141c Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 6.12.97 with commit 42a8ea3acd883f4f210d9e54e0975b1e2292b529 Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 6.18.40 with commit 2944113ad5fbcdf5d349d857c03d2a44b6de75b8 Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 7.1.5 with commit 98bcdfa619150b2f41fa15bac140dbaf2584ad05 Issue introduced in 4.19 with commit 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349 and fixed in 7.2-rc1 with commit 48c0162f647bb47e6084ffbc71b8f213f5e2f4f8 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-72129 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/rdma.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/c2106ba1b14d644a5203bea1a50dbe25dcad713c https://git.kernel.org/stable/c/bf8bcc1c137d54a62a428b00051fdbb13660673b https://git.kernel.org/stable/c/11401371152b228448a41d79c6de1c938f93049a https://git.kernel.org/stable/c/7c96581169c9d9a7d0726e554313acfbead6141c https://git.kernel.org/stable/c/42a8ea3acd883f4f210d9e54e0975b1e2292b529 https://git.kernel.org/stable/c/2944113ad5fbcdf5d349d857c03d2a44b6de75b8 https://git.kernel.org/stable/c/98bcdfa619150b2f41fa15bac140dbaf2584ad05 https://git.kernel.org/stable/c/48c0162f647bb47e6084ffbc71b8f213f5e2f4f8