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 4106A322A1F for ; Wed, 18 Mar 2026 17:41:41 +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=1773855701; cv=none; b=aO/Dodq7FbkgCkPdMfew45Z4DnBDX6C2X64/wcY0jQRnYgDcbfJza2NIBTo4R2FM0bvPMFbOdkLjsuPYU/kgjHL2fDHiy2GyU83J5JBvTunz8FZsiDmqj23uTGH6w/NOnnrjiJ/rMn0MXvmA0wKBY6L1Iwvww5s/CPWVCMJXntI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855701; c=relaxed/simple; bh=uQ2GrcqBbfbklUoEK7tRbrejfSgwzU3p4EB3l9O0OLU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ccCaMhSy9m2k0WKFCjnfSuEjSTImGNLcqjhLXywI9NzYa8YM95k8XMBO8qVNq4CXe7JFQgGgxKqRWkyiuZ4uGYIXjGDOTr5pED04TLqnUXSMOyl1S/mZAjzmnJwZKVj+915aaCDhUXwlxcUrdsjMvZ6TF2ocHtG8Vo7lkuHNVr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ULd2r2PQ; 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="ULd2r2PQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93708C19421; Wed, 18 Mar 2026 17:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773855701; bh=uQ2GrcqBbfbklUoEK7tRbrejfSgwzU3p4EB3l9O0OLU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ULd2r2PQ/mGu3JLPwdiF0bBcbOfT3IT5eU/A3eBJpkEuKeRs6HNV1C/Skh7eVEfpv Dnxufufx8cJ+1Dp3EaywRsiNqRIyvUMQq0iqeYgkTZJfgSNnAMtzvYnLBuBjqhT7/V zDa197aew6SrIFCxy/rrn+DXt5tPGMbV96yKPp6Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23254: net: gro: fix outer network offset Date: Wed, 18 Mar 2026 18:41:17 +0100 Message-ID: <2026031817-CVE-2026-23254-6387@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=3064; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VxEdbZlyuZ9/K4RSG1dg5Se0mlpcdI0VmbbdRIXCRIU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7Hu91f7xRyq0h/ZF/6fcMPjPzCVwvA3cU+j4UMtTRX HB58zrnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIBQOGeUr3/sz4xtjV5jDz ZfzR/TMb7Nu1rjPMr3X6eT/n+kXmUPP3Fx9rHbXNbL2QCwA= 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: net: gro: fix outer network offset The udp GRO complete stage assumes that all the packets inserted the RX have the `encapsulation` flag zeroed. Such assumption is not true, as a few H/W NICs can set such flag when H/W offloading the checksum for an UDP encapsulated traffic, the tun driver can inject GSO packets with UDP encapsulation and the problematic layout can also be created via a veth based setup. Due to the above, in the problematic scenarios, udp4_gro_complete() uses the wrong network offset (inner instead of outer) to compute the outer UDP header pseudo checksum, leading to csum validation errors later on in packet processing. Address the issue always clearing the encapsulation flag at GRO completion time. Such flag will be set again as needed for encapsulated packets by udp_gro_complete(). The Linux kernel CVE team has assigned CVE-2026-23254 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.31 with commit af276a5ac8e938c8b058e3e124073cc1e322d98b and fixed in 6.6.124 with commit 9d40a85138568696387ef04cd004c64612a70874 Issue introduced in 6.9 with commit 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 and fixed in 6.12.70 with commit b83557bc6f560433fe5d727e241069f8db5ba709 Issue introduced in 6.9 with commit 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 and fixed in 6.18.10 with commit 2e5edb69e5d0e23ef248c56fc977039268c77a7b Issue introduced in 6.9 with commit 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 and fixed in 6.19 with commit 5c2c3c38be396257a6a2e55bd601a12bb9781507 Issue introduced in 6.8.10 with commit dbd9466d323a72e22efe09151253d195d36d3bf6 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-23254 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: net/core/gro.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/9d40a85138568696387ef04cd004c64612a70874 https://git.kernel.org/stable/c/b83557bc6f560433fe5d727e241069f8db5ba709 https://git.kernel.org/stable/c/2e5edb69e5d0e23ef248c56fc977039268c77a7b https://git.kernel.org/stable/c/5c2c3c38be396257a6a2e55bd601a12bb9781507