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 434D43B636B for ; Wed, 25 Mar 2026 10:31:57 +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=1774434717; cv=none; b=f9tnoh++eSAnonDbuIxDPUbII9XFY9k6m8mmgAC+KqPetve6dk0m00i/8udxosYiOFwwHn5UJZsKLa2/TNfBB3OKkdQYTaUtILEPbJ3Anfm1geZPCEUWWRKofp5LMZ0eOxZ9PbyEOFD6QajEatNbnbsifUuTTz2eQvUCzRedLDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434717; c=relaxed/simple; bh=s1wTZYFdojVjyn8x3aCHvKX8n7+OedEKcDIlFaJQOlc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AeQlLJg0GqM8Sr1Q7/3I8dP9LCPFIpxjlHTTpaNcI/2Yf1dW/cN2/5L+EqDSExj5mc6tZWpPFXbskdAZBUObFh+lIKe5EgkraZuKme0buDAenSPDvJNa516OWgfOE2E6ZMIoO4gH1goR+bgfo/m7D5YyMF1puRISipHLpL1mcUM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=y/hklUiZ; 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="y/hklUiZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAF4CC4CEF7; Wed, 25 Mar 2026 10:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434717; bh=s1wTZYFdojVjyn8x3aCHvKX8n7+OedEKcDIlFaJQOlc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=y/hklUiZye8ll3Mtojznz24W7lWPCEeZ8bC0UUFVsiLPJisxJo3kHym8UD4KBYIdD 6pqxQ/VULpMhk6UA1/A0U4+pHIZXw5iLq3ct94IFOUXjbjDGlAfGiLlpNrCqiJ/BLz KL9G2fjuTo3xaN87weZS8s+3npbE+ZIEMqbxKaXk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23377: ice: change XDP RxQ frag_size from DMA write length to xdp.frame_sz Date: Wed, 25 Mar 2026 11:28:01 +0100 Message-ID: <2026032542-CVE-2026-23377-cb04@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=2493; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FfluRyYLQn/0MQcFv5zbm4P0oYWUTlc1imG8/uVO4Mc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdyQV3VE+di015fPM2Lb5FwW2MTK6nBeuzmAXsIh72 rxc4KtJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkTgfDXKm5szZn/086uHGf Z7foXUnLSxd+zWNYML+mf1k9RzTbj8T3HToLnWOYJ2/LBwA= 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: ice: change XDP RxQ frag_size from DMA write length to xdp.frame_sz The only user of frag_size field in XDP RxQ info is bpf_xdp_frags_increase_tail(). It clearly expects whole buff size instead of DMA write size. Different assumptions in ice driver configuration lead to negative tailroom. This allows to trigger kernel panic, when using XDP_ADJUST_TAIL_GROW_MULTI_BUFF xskxceiver test and changing packet size to 6912 and the requested offset to a huge value, e.g. XSK_UMEM__MAX_FRAME_SIZE * 100. Due to other quirks of the ZC configuration in ice, panic is not observed in ZC mode, but tailroom growing still fails when it should not. Use fill queue buffer truesize instead of DMA write size in XDP RxQ info. Fix ZC mode too by using the new helper. The Linux kernel CVE team has assigned CVE-2026-23377 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 and fixed in 6.19.7 with commit b0f05100e8795aadd1c0606bae9caefbda070d63 Issue introduced in 6.3 with commit 2fba7dc5157b6f85dbf1b8e26e63a724db1f3d79 and fixed in 7.0-rc3 with commit e142dc4ef0f451b7ef99d09aaa84e9389af629d7 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-23377 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/net/ethernet/intel/ice/ice_base.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/b0f05100e8795aadd1c0606bae9caefbda070d63 https://git.kernel.org/stable/c/e142dc4ef0f451b7ef99d09aaa84e9389af629d7