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 79431384CD3 for ; Thu, 25 Jun 2026 08:48:00 +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=1782377281; cv=none; b=ukovhi/1kjkJD73HjeYJwl09jHDEgIex+k4I1P8YcA0fcAObz2BwXreRBaalBySXP9SLuHNUZrny/89dKrV0zauXhThm18XbpRzOM9gemLM992NX9Bp26AkOV02cwIRjxgQxnPVOtjJEBcl28gUXETa6NNrWa+bVtTOb8XEPup0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377281; c=relaxed/simple; bh=lm9XCYF1l/CAlrKITHjyaiO01bKRJdphbq03CwJlCi0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OUps3DeXilOzYAW5W83ziTUfNbH5OBtiSJQo5JIHm69ov3czoh1e4WW9SucqxeSqaXV7GmTBsMeR78tOWOE2aDxNPTNFNLlldQL1L/CImOC9ncW7hf2JuejkaXVbpHmsM9oFaDwoXKQ3OQy0C4usMIdH+7BICeVPBT5HXu6K3Wc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qeyFuIni; 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="qeyFuIni" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B84C61F000E9; Thu, 25 Jun 2026 08:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377280; bh=Rhjyzl6WshtPsbUG483d7vrBpyIUNp+0iOIkPoiGLDk=; h=From:To:Cc:Subject:Date:Reply-To; b=qeyFuIni90BO5w3OXYiY2aiAzLUv3icRN9MEff7A+/FQAtwtxa8wz2B/YzSEVyi8E gvgvLEULVw677Tm7Q8GH2wks7PKNfSlrdLcIpHfpQpHVxgniVpITzsIHF8RiWhGsBy A13KQFMptG/xy1MHPOwfrFuEi+jO6plKs8WzCqvw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53235: net: add pskb_may_pull() to skb_gro_receive_list() Date: Thu, 25 Jun 2026 09:41:23 +0100 Message-ID: <2026062509-CVE-2026-53235-a7f3@gregkh> X-Mailer: git-send-email 2.54.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=3137; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ODHHPio0ZQFGw088YrHmJ+FqhnvD1vzBHN/viuLPO2g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2LzNlV5W2VZ2UzjxUzfGCL/b283uqPt+mz1iWmBTDX LNMjmdZRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk8B/D/NLjLx4/5l0qdXll ttPevCnHtK5POcYwV0x+7bbOtNbz4ZlT1/Tsl/h0/n/yagA= 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: add pskb_may_pull() to skb_gro_receive_list() skb_gro_receive_list() calls skb_pull(skb, skb_gro_offset(skb)) without first ensuring the data is in the linear area via pskb_may_pull(). When the skb arrives via napi_gro_frags(), skb_headlen can be 0 (all data in page fragments) while skb_gro_offset is non-zero (after IP+TCP header parsing). The skb_pull() then decrements skb->len by skb_gro_offset but skb->data_len stays unchanged, hitting BUG_ON(skb->len < skb->data_len) in __skb_pull(). The UDP fraglist GRO path already contains this guard at udp_offload.c:749. Adding it to skb_gro_receive_list() itself provides centralized protection for all callers (TCP, UDP, and any future protocols), and ensures the precondition of skb_pull() is satisfied before it is called. On pskb_may_pull() failure, set NAPI_GRO_CB(skb)->flush = 1 so the skb is not held as a new GRO head and is instead delivered through the normal receive path, matching the UDP handling. The Linux kernel CVE team has assigned CVE-2026-53235 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 8d95dc474f85481652a0e422d2f1f079de81f63c and fixed in 6.12.94 with commit 9e636c995b7beeb74ea882968248752821c244c4 Issue introduced in 6.10 with commit 8d95dc474f85481652a0e422d2f1f079de81f63c and fixed in 6.18.36 with commit 0cde3a004119db637b401c54e77536e4145fc0b4 Issue introduced in 6.10 with commit 8d95dc474f85481652a0e422d2f1f079de81f63c and fixed in 7.0.13 with commit 848571dcbbbea7ba44dd4f7ebe1fbb274afe08ac Issue introduced in 6.10 with commit 8d95dc474f85481652a0e422d2f1f079de81f63c and fixed in 7.1 with commit f2bb3434544454099a5b6dec213567267b05d79d 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-53235 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/9e636c995b7beeb74ea882968248752821c244c4 https://git.kernel.org/stable/c/0cde3a004119db637b401c54e77536e4145fc0b4 https://git.kernel.org/stable/c/848571dcbbbea7ba44dd4f7ebe1fbb274afe08ac https://git.kernel.org/stable/c/f2bb3434544454099a5b6dec213567267b05d79d