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 CB489310762 for ; Tue, 13 Jan 2026 15:36:26 +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=1768318586; cv=none; b=atePD+XcZOs7kYw9O8ofLq/0aGASgG4CsQLC0Tp00tllzkdlioCS+nlbkN4ku669OVaHM0RRV/nfOcIWU2SjmBbfkYafL8Ffx9/ISmKMrZHOKMRPN3BGMYbe3NlCPr0HyiPWsB0ZwaqQDgECx+CjIYzInYfexYTNg+nKKUnuhXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318586; c=relaxed/simple; bh=IcCCYyzrGqDZD+9/dn432sbjQnh9XEJ70PJCXsnTExY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VMtkbys/Nwsa7SiD0AyUbiaQqPEy/o0N08oCmrDFT+5TQtjo+PgmYEAA0PhD7YYYn3hV9rb1hN6UTpq3Q0CZ/AdvFzxNyctxlJwbJaUvc6e2T+PWuzPg64o2hI6j4YL1E+FubCrmys3jBabjKqlkt1r0zRg0cXtHWfmctSML5Gg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tYG3Rhus; 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="tYG3Rhus" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55334C116C6; Tue, 13 Jan 2026 15:36:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318586; bh=IcCCYyzrGqDZD+9/dn432sbjQnh9XEJ70PJCXsnTExY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=tYG3RhusXfBXKG8EEV0QkcXGiiquSaqzk4DGbDkKXUeNXfv5muLLAL4SUGCTPhjrU Rpm2Cp4Xx/6h1LUFvYMJwS2jJoNl8QwXd+yKPrY67zsGt5Kg5A7ufTtmurp7ZlUqoB ZRZkcqUqBeBKK3zsoIVNnprIkwJUe+Npj6h/4vvg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71098: ip6_gre: make ip6gre_header() robust Date: Tue, 13 Jan 2026 16:35:57 +0100 Message-ID: <2026011344-CVE-2025-71098-ef6d@gregkh> X-Mailer: git-send-email 2.52.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=3851; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/awh2rKZaXwH35ztq7r0CU0T7GSXA5B3P6u27kVR84s=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpaQFM5gUhpdK3eo/ZuRZIndmVaHzdNKQh17RRaFV9P 5/kOc+OWBYGQSYGWTFFli/beI7urzik6GVoexpmDisTyBAGLk4BmMiaYwzzzKepTdn7tWrR9Ng6 AaOJR9bGT3PiYFjQoTvn4ryt65c5dU7Q0bRhWfiEg+s/AA== 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: ip6_gre: make ip6gre_header() robust Over the years, syzbot found many ways to crash the kernel in ip6gre_header() [1]. This involves team or bonding drivers ability to dynamically change their dev->needed_headroom and/or dev->hard_header_len In this particular crash mld_newpack() allocated an skb with a too small reserve/headroom, and by the time mld_sendpack() was called, syzbot managed to attach an ip6gre device. [1] skbuff: skb_under_panic: text:ffffffff8a1d69a8 len:136 put:40 head:ffff888059bc7000 data:ffff888059bc6fe8 tail:0x70 end:0x6c0 dev:team0 ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:213 ! skb_under_panic net/core/skbuff.c:223 [inline] skb_push+0xc3/0xe0 net/core/skbuff.c:2641 ip6gre_header+0xc8/0x790 net/ipv6/ip6_gre.c:1371 dev_hard_header include/linux/netdevice.h:3436 [inline] neigh_connected_output+0x286/0x460 net/core/neighbour.c:1618 neigh_output include/net/neighbour.h:556 [inline] ip6_finish_output2+0xfb3/0x1480 net/ipv6/ip6_output.c:136 __ip6_finish_output net/ipv6/ip6_output.c:-1 [inline] ip6_finish_output+0x234/0x7d0 net/ipv6/ip6_output.c:220 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip6_output+0x340/0x550 net/ipv6/ip6_output.c:247 NF_HOOK+0x9e/0x380 include/linux/netfilter.h:318 mld_sendpack+0x8d4/0xe60 net/ipv6/mcast.c:1855 mld_send_cr net/ipv6/mcast.c:2154 [inline] mld_ifc_work+0x83e/0xd60 net/ipv6/mcast.c:2693 The Linux kernel CVE team has assigned CVE-2025-71098 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit c12b395a46646bab69089ce7016ac78177f6001f and fixed in 6.1.160 with commit adee129db814474f2f81207bd182bf343832a52e Issue introduced in 3.7 with commit c12b395a46646bab69089ce7016ac78177f6001f and fixed in 6.6.120 with commit 1717357007db150c2d703f13f5695460e960f26c Issue introduced in 3.7 with commit c12b395a46646bab69089ce7016ac78177f6001f and fixed in 6.12.64 with commit 5fe210533e3459197eabfdbf97327dacbdc04d60 Issue introduced in 3.7 with commit c12b395a46646bab69089ce7016ac78177f6001f and fixed in 6.18.4 with commit 91a2b25be07ce1a7549ceebbe82017551d2eec92 Issue introduced in 3.7 with commit c12b395a46646bab69089ce7016ac78177f6001f and fixed in 6.19-rc4 with commit db5b4e39c4e63700c68a7e65fc4e1f1375273476 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-2025-71098 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/ipv6/ip6_gre.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/adee129db814474f2f81207bd182bf343832a52e https://git.kernel.org/stable/c/1717357007db150c2d703f13f5695460e960f26c https://git.kernel.org/stable/c/5fe210533e3459197eabfdbf97327dacbdc04d60 https://git.kernel.org/stable/c/91a2b25be07ce1a7549ceebbe82017551d2eec92 https://git.kernel.org/stable/c/db5b4e39c4e63700c68a7e65fc4e1f1375273476