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 D387B3C943F for ; Mon, 10 Aug 2026 12:02:51 +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=1786363373; cv=none; b=sUdVsiMQ9dxkMDmwxCV5IGFM7OApjd8nJD6jqjLglnoCI2wDjhUrAJAeY9Rz8AgKwAbz297JeWJ7a0y3PnN2avJtKaOinxcYbsD8b58/8fAZEKdB/5X5r8W+bdhP5qa5JbTGf1NbaMmfl8a2YAvJ0/KovytjfRolkBAdd5t1dYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363373; c=relaxed/simple; bh=tNSQKaTAynB+Amkj+VItg8yP1MrOrKmp+kssFECAGug=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dA28ov/QZqYIzuVBeOW9/mmlKxsjWfnf5WAalrB9OWmWHEs6O/QLfBzu57Cu8hxwEH2gFoBj+Z5Ioapy7mMT+8evqoSvGSSL6K40qSYtoAvPRQWYIzXJG7GZpWnluJUQyuQlG70lOepkTKBsJApxyy8ftBphV/sf0WCamZ1bwPw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=S38kV7EP; 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="S38kV7EP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F0B61F000E9; Mon, 10 Aug 2026 12:02:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363371; bh=rPznaw9n59wowjsBsERYATX6itUuSkHzAGEGiNxUxgA=; h=From:To:Cc:Subject:Date:Reply-To; b=S38kV7EPkTnxhKucAHmRMvkYYfwLJqOqRT03fMUTdqSAKkEolEFrXj5zqi5F6u8q3 C0jbHW9EMfYhJxswSdh+3HUDVf1wCt6/SzxQudfgyy/D8MKyM4nO9n1C2fxRqIEkjz L+aEx+WX278qTpfLkL22bXvUIz8Oj85sD7KnzBKk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68136: net: gro: fix double aggregation of flush-marked skbs Date: Mon, 10 Aug 2026 13:57:33 +0200 Message-ID: <2026081059-CVE-2026-68136-f3b7@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=3990; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4RXWsdY1ismUHCJyrW8lI2YMLyVxwO1ypWq1QwbRYj8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe7rdO2998wzRK5b7+jr1+LJtZq6v5GRuHGLs9TN91 BD1Y1VeRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk0ZxhwTTz2oc/uQoe6eWE Jgsu2rUvyDI0h2HBNf6WVTtlVgXWJv1cEqY/+TTv87eNAA== 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 double aggregation of flush-marked skbs Commit 0ab03f353d36 ("net-gro: Fix GRO flush when receiving a GSO packet.") added a flush check to skb_gro_receive(), but skb_gro_receive_list() lacks the same validation. As a result, packets marked with NAPI_GRO_CB(skb)->flush may still be re-aggregated. This allows already-GRO'd packets with existing frag_list to be re-aggregated into a new GRO session, corrupting the frag_list chain structure. When skb_segment() attempts to unpack these malformed packets, it encounters invalid state and triggers a kernel panic. Scenario (Tethering/Device forwarding): 1. Driver: Generated aggregated packet P1 via LRO with frag_list 2. Dev A: Receives aggregated fraglist packet and flush flag set 3. Dev A: Re-enters GRO, skb_gro_receive_list() is called 4. Missing flush check allows re-aggregation despite flush flag 5. Frag_list chain becomes corrupted (loops or dangling refs) 6. Dev B: TX path calls skb_segment(), crashes on corrupted frag_list Root cause in skb_segment(): The check at line ~4891: if (hsize <= 0 && i >= nfrags && skb_headlen(list_skb) && (skb_headlen(list_skb) == len || sg)) { When frag_list is corrupted by double aggregation, when list_skb is a NULL pointer from skb->next, skb_headlen(list_skb) dereference NULL/corrupted pointers occurs. Call Trace: skb_headlen(NULL skb) skb_segment tcp_gso_segment tcp4_gso_segment inet_gso_segment skb_mac_gso_segment __skb_gso_segment skb_gso_segment validate_xmit_skb validate_xmit_skb_list sch_direct_xmit qdisc_restart __qdisc_run qdisc_run net_tx_action Fix: Add NAPI_GRO_CB(skb)->flush validation to the early-return check in skb_gro_receive_list(), matching the defensive programming pattern of skb_gro_receive(). The Linux kernel CVE team has assigned CVE-2026-68136 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 3a1296a38d0cf62bffb9a03c585cbd5dbf15d596 and fixed in 6.12.101 with commit 107e1a469f53a2a70874f3f12bf6fcd23925da1d Issue introduced in 5.6 with commit 3a1296a38d0cf62bffb9a03c585cbd5dbf15d596 and fixed in 6.18.42 with commit a4dfd46cc8f08a29c6183794790547d0945f3d45 Issue introduced in 5.6 with commit 3a1296a38d0cf62bffb9a03c585cbd5dbf15d596 and fixed in 7.1.6 with commit fc0c0f7a207f0cd2d2aa725696c907f7d03af9e0 Issue introduced in 5.6 with commit 3a1296a38d0cf62bffb9a03c585cbd5dbf15d596 and fixed in 7.2-rc5 with commit e751256486d0ded20f5a9f9863467f1dce65142f 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-68136 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/107e1a469f53a2a70874f3f12bf6fcd23925da1d https://git.kernel.org/stable/c/a4dfd46cc8f08a29c6183794790547d0945f3d45 https://git.kernel.org/stable/c/fc0c0f7a207f0cd2d2aa725696c907f7d03af9e0 https://git.kernel.org/stable/c/e751256486d0ded20f5a9f9863467f1dce65142f