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 E53A1376A03 for ; Sat, 15 Aug 2026 06:26:47 +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=1786775209; cv=none; b=CxKfE/GUwF/eXuwnyeJleT5mJECWfM+TXEKOw6Ba8yqMvaCtgjk/MZa65UqNv/NzhtSWEt4oyZm0WzSQmM1N9zyK0lwy/kgLkbK49e/uXarkrvtwUwgf8MXzyxbu65IkD8atMrTPadW+mbEP4HBvcPLjN4uwCrcQvDP/QTAnoBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775209; c=relaxed/simple; bh=FkSSM0yKbbaspA/Mus01ZrUlP8OxDM4Bag2XTKh29ZA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XZ3IQs/xuyqLomEvxj597ia2OL9hQ/uxpc7dKxCzEVvCJ+uiSUyFc8iE07xNFxrnXG6e5nrHtW6n/bWCCtBm7qJaXhJV9yEHQxeQ7BlU8xv+CI/3XuxKAAjkT+tlWzcR+daQoJ6vMhw0uwpN7pZtYhGmkPifkyWPTBIoaYRWAAA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wIQl70lz; 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="wIQl70lz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 483091F000E9; Sat, 15 Aug 2026 06:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775207; bh=LkM5C6cqF0+HwHcvQKs9dQIx22BDnsSsY7PNyZ4WFZI=; h=From:To:Cc:Subject:Date:Reply-To; b=wIQl70lzXDOk5OcLV3RR0v6n570lKA4+17v7JyRRokUPsiBd64Kjv87vUb4mQRqtm Yynk1GEH/qjVs8obMqpIX3fP21kpxJEARuC6rTx6DjgZF8VYgPMlQpvo/5MW0xz1Gq pccOTfXcVJVAlSfyhz7cmaaYz74z2A09OqJL9R0A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72407: geneve: validate inner network offset in geneve_gro_complete() Date: Sat, 15 Aug 2026 15:08:06 +0900 Message-ID: <2026081522-CVE-2026-72407-b76a@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=3036; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XxAiDA265pnQV2aCuSNNLAR43G7v8f/NZpCnciU1A74=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDO81v/1jeFMgztL5tOLd88T1Vy/+0tR7ee//dzUBT bazs5hed8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEKo4xzDPW/jXl7IHCnjez D00JmMN+Mo11ShDDXKF2Jt09Co6Nno9+e2S4fqta7VHqDQA= 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: geneve: validate inner network offset in geneve_gro_complete() Even with both paths gated on gs->gro_hint, geneve_gro_complete() re-derives the inner dispatch type and length from the packet and the current gs->gro_hint, independently of geneve_gro_receive(). The two can disagree if gs->gro_hint flips under a concurrent geneve_quiesce()/ geneve_unquiesce() (sk_user_data is NULL across a synchronize_net()), or if the re-read option bytes differ from the ones receive parsed. geneve_gro_receive() already records the inner network header position in NAPI_GRO_CB()->inner_network_offset. Have geneve_gro_complete() compute the offset it is about to dispatch at, adding ETH_HLEN in the ETH_P_TEB case where eth_gro_complete() steps over the inner MAC header, and bail out if it lands past inner_network_offset. Use a lower bound rather than exact equality: between gh_len and the inner L3 header, geneve_gro_receive() may also have pulled an inner VLAN tag (vlan_gro_receive() advances the recorded offset past it), which only moves inner_network_offset further out. A valid frame therefore always satisfies inner_nh <= inner_network_offset, while a gh_len inflated by a hint gro_receive() did not honour dispatches past the validated inner header, i.e. the out-of-bounds completion. Only the latter is rejected. The Linux kernel CVE team has assigned CVE-2026-72407 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit fd0dd796576e1a560e1441e665810129f0a82be0 and fixed in 7.1.5 with commit e2087447f562692ff0cd08a0554d8d4ad083aa5c Issue introduced in 7.0 with commit fd0dd796576e1a560e1441e665810129f0a82be0 and fixed in 7.2-rc1 with commit cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f 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-72407 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/geneve.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/e2087447f562692ff0cd08a0554d8d4ad083aa5c https://git.kernel.org/stable/c/cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f