Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D6EEF3612E2 for ; Fri, 13 Feb 2026 13:30:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770989411; cv=none; b=D6xxcB51LjC7obU9McKi0i2MzSl11LRXz3iWNdbR8YDjYMq9bWERTkYhTF8URtcKQioRSR6BCKP75M+BZ8hdqG9bTUroocjOzlkyejloO8rY+Lc+NDPhCUmokOsW6RwXFoNHcC4Tc+KUys9akw6xkuPdh/A5t5wPR8Ez2vbEwTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770989411; c=relaxed/simple; bh=MLI78vykMN7/PJBjoewbsdbkp+v1CQZYDu2WFIWNNP0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zx1nJcml4azDzEzkbXPrauYShS13WjXvb3vrgiufbORGpHUipGYa3R3GrWNBVpW05CepYGEkASVm41JrgO4IAPk/HYtC0jU54J+ng+7nlXvcKbjozFApAokjxVpponEpn8/qX+w2R9z4SIJN3D410n8PCeXIW8CkiUxP+axGthE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L89JoheB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L89JoheB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC1FC116C6; Fri, 13 Feb 2026 13:30:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770989411; bh=MLI78vykMN7/PJBjoewbsdbkp+v1CQZYDu2WFIWNNP0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=L89JoheBsGhfHw+6S2PP/qUJJ9BlUcraYWTlg5llPGBJDl8o58EuECjasJtPmSZO1 hpOrF8TP2U/dWW2nWrPsZyBxHLyHLECUljtHD+fWhn0NuGl4n2tHh9TJgkxq5EDTbK v1W8JaJMuqqmAvq1xONB5CWGSZj/nPsn33XFCQ+Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23112: nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec Date: Fri, 13 Feb 2026 14:30:01 +0100 Message-ID: <2026021302-CVE-2026-23112-6499@gregkh> X-Mailer: git-send-email 2.53.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=3172; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GdIP2RqJF5D/zYkc0xFshk3ilkJOaBt25YMfAtWDeUc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJn96lH1JVV9DBN2761g+Hgk+FPXmy2uBaeXFShkHQw6n d+WfS6xI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbys4xhfo7SxqS5jRFu6645 Tg624/rdE8ZXxzBP9e/0kjklXP3T1k6OzdczkVrcsGgaAA== 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-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec nvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU length or offset exceeds sg_cnt and then use bogus sg->length/offset values, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining entries, and sg->length/offset before building the bvec. The Linux kernel CVE team has assigned CVE-2026-23112 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 5.10.250 with commit 043b4307a99f902697349128fde93b2ddde4686c Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 5.15.200 with commit 42afe8ed8ad2de9c19457156244ef3e1eca94b5d Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 6.1.163 with commit 1385be357e8acd09b36e026567f3a9d5c61139de Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 6.6.124 with commit dca1a6ba0da9f472ef040525fab10fd9956db59f Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 6.12.70 with commit 19672ae68d52ff75347ebe2420dde1b07adca09f Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 6.18.10 with commit ab200d71553bdcf4de554a5985b05b2dd606bc57 Issue introduced in 5.0 with commit 872d26a391da92ed8f0c0f5cb5fef428067b7f30 and fixed in 6.19 with commit 52a0a98549344ca20ad81a4176d68d28e3c05a5c 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-23112 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/tcp.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/043b4307a99f902697349128fde93b2ddde4686c https://git.kernel.org/stable/c/42afe8ed8ad2de9c19457156244ef3e1eca94b5d https://git.kernel.org/stable/c/1385be357e8acd09b36e026567f3a9d5c61139de https://git.kernel.org/stable/c/dca1a6ba0da9f472ef040525fab10fd9956db59f https://git.kernel.org/stable/c/19672ae68d52ff75347ebe2420dde1b07adca09f https://git.kernel.org/stable/c/ab200d71553bdcf4de554a5985b05b2dd606bc57 https://git.kernel.org/stable/c/52a0a98549344ca20ad81a4176d68d28e3c05a5c