From mboxrd@z Thu Jan 1 00:00:00 1970 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 E942F451071 for ; Fri, 4 Sep 2026 15:16:25 +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=1788534987; cv=none; b=g+ZmyAN5bpx1jPnT8T5L/IxblRPbQglLz3Q72bOpZ0D3Wgn1PXdUnGkYOnSTzeCb14y0h1rrQ8t/bwcdqr4qLBiPnU7pnocpYIharswH+yuSd7HJbQ74LDqr0+480L6IOcZjuuRQex31Xl/pnvhbqh16BYYWrBIzCNda9At+ak8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788534987; c=relaxed/simple; bh=4S0cynDh0wr0FC5HWrlHJ8A7/e+onVnWPa55y+AIdUo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nM5rjOZKiHi65rQ6Kwii8tSj+DZmUCXmJn3SJga6Ud1H9nAioiNQqEv9m/wEOH3zBU0ibJ7FUfitdm/0gi6YLOznE+hC/fEc5OM6R4owvK/tL1FbyDlR1IvP/hSOEW/9zGFaG8K+eAHNpJclUa3WMdvPLt4Yfu9dplt5TH3Yc3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o1uIz+Pi; 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="o1uIz+Pi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 906A11F00A3E; Fri, 4 Sep 2026 15:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788534985; bh=R942VzEItYkMdFUlW7kOk2S/G0q6HA4nyJetpRJ5xwA=; h=From:To:Cc:Subject:Date:Reply-To; b=o1uIz+PicnTrLzg5de4fraoJqyRWUI9W2a3pPo62nUsiZHo7uwl7AxzszAzpLZBXR NiKdTmEgCFONz5aWqs6VTjq209pUgVFneH371fOqCLTKruYb0D4CrljooIxsrs85zK RlVGsR9fAthr+vJ7X/55mIRap/PKOZcjZR6v33SI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80788: nvmet-tcp: Do not WARN on remotely-controlled oversized SGL allocations Date: Fri, 4 Sep 2026 17:11:27 +0200 Message-ID: <2026090406-CVE-2026-80788-c2b2@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=3464; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lrVbwV/CrRzglKLg/UdTip0uWH65P0hRJdkKmcqT7N0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz7ndpb+2c3fTlcp5e9GHGny0+4jtkW1Y1mHCaT1t+/ EBVn7lLRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExET5JhwYmkus07vnJZmM2I LMzq+j9N9d8OXoYFbRybypZdSyly+SF8RCX52aMpm7sSAQ== 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: Do not WARN on remotely-controlled oversized SGL allocations When fuzzing the nvme target code, I tripped a kernel warning in nvmet_tcp_map_data() because the length passed into the allocator is controlled by the remote initiator. A remote initiator that sends a command with an SGL claiming a huge number, can create a scatterlist and iovec allocation of over 1 million entries, which causes the backing kmalloc call to exceed MAX_PAGE_ORDER and then the page allocator will trip on a WARN_ON_ONCE_GFP() message: WARNING: mm/page_alloc.c:5280 __alloc_frozen_pages_noprof Workqueue: nvmet_tcp_wq nvmet_tcp_io_work ... sgl_alloc_order nvmet_tcp_map_data nvmet_tcp_try_recv_pdu As it's never good to trip a kernel warning remotely due to many systems having panic-on-warn enabled, let's silence it by just add GFP_NOWARN to the allocation flags. The Linux kernel CVE team has assigned CVE-2026-80788 to this issue. Affected and fixed versions =========================== Fixed in 5.10.267 with commit 8d01f0d0e96485e39ad89b859ef85e1dc3020465 Fixed in 5.15.218 with commit 7b6a54d4e7b0da423c2b53ed293fd36b16c0b19e Fixed in 6.1.185 with commit e7077e6c45423dd2bb7de7b5fc4b018a8e6c4741 Fixed in 6.6.154 with commit 86cc450022473c4a29b43a09f3ec22a9ef566dac Fixed in 6.12.106 with commit c509f20be1cabda3087810bb2d658d66b3f31f35 Fixed in 6.18.47 with commit 9c95f7e66c62ee6c6abedcf1c04311f430ff5833 Fixed in 7.1.11 with commit 7fd6da0f28932442b51658bac4ff55565ca9b377 Fixed in 7.2.1 with commit 9b770e40bc00381e5ebf53653de5776773415be3 Fixed in 7.3-rc1 with commit 737a3b535247226f6e1a7988fd9d6e63e7d6fc71 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-80788 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/8d01f0d0e96485e39ad89b859ef85e1dc3020465 https://git.kernel.org/stable/c/7b6a54d4e7b0da423c2b53ed293fd36b16c0b19e https://git.kernel.org/stable/c/e7077e6c45423dd2bb7de7b5fc4b018a8e6c4741 https://git.kernel.org/stable/c/86cc450022473c4a29b43a09f3ec22a9ef566dac https://git.kernel.org/stable/c/c509f20be1cabda3087810bb2d658d66b3f31f35 https://git.kernel.org/stable/c/9c95f7e66c62ee6c6abedcf1c04311f430ff5833 https://git.kernel.org/stable/c/7fd6da0f28932442b51658bac4ff55565ca9b377 https://git.kernel.org/stable/c/9b770e40bc00381e5ebf53653de5776773415be3 https://git.kernel.org/stable/c/737a3b535247226f6e1a7988fd9d6e63e7d6fc71