Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758244; b=XKGSHtPzRK9eLlq647QT3pdhJJZ0usZycgXqgW1K1cSgc0s4eQdGB30YFk3fnF1HyGZx OVm/RAiPYFhA6InFiGkxf9/+F0wJ6MB2M8FH5SX9uab7SkzmpGZ+O16maGyORkL9u5vlC DqamZgD+VslRHRWZQIkmHLMyvA8toYgfgLHbKpeM3Pc8qkKZQEIVoQWNWvUX8shFq9SPL UHjlleP4SaRKpXzZlWM4fsLbyiUTsf0FNt5xrU2nVMqbUQUXOKuFiZ5PQl5H0FqAsTzO7 CfOLneRaqJcasEFH/be8lxa+uu9ZHdZBrvQLIIUtW2Gut+qpU9ry1YOggIHj6P+j5Sw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758244; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=5xCJA1YmQFLi5d3eY4b1x3MTb9K2LlJ9siG0FZFZnVA=; b=2Na8Kf+57dluu8vr11q1OKraTA9etyg0k1B3hU4dMfpjR5YiNkyZHM5LAchepSXSGypQ rrvbADHjgVNOi/ep+U7bINTCBRxvG11wBMAqu0ryE73Bz1oex0u1mTLGeBaM9C6M0ZQJe 3Bm35KnLFtNM58UjM2+kyR72LkYBelLbyXTATjccV7D8cJOQUbp5o6F2OZqFWiwt5fnu5 ITr1301ObCATj2cmXmR4mshlNuwNzY5FJO231/266C7162e9GhcqOpHIhdUlvSBZPmzkF 1TSFiT468fwi3EDfdbjKC9J18PV81LIxJP7nrUaFnK9XubDOeLON7491fTbp+4xnAlw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=m+STmcQV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53ADB606A320 for ; Fri, 23 Oct 2026 12:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=m+STmcQV Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81FB01F01825; Fri, 23 Oct 2026 12:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758243; bh=5xCJA1YmQFLi5d3eY4b1x3MTb9K2LlJ9siG0FZFZnVA=; h=From:To:Cc:Subject:Date:Reply-To; b=m+STmcQVwEaQJW2lljVXxRO1cZWIiAoVyiyia51iSdYdwqHFuTIA6GiC2EZtkcQ0k 9pvweedTKwuTzOL/Dvec13fboJWJ6Uh7AwxehDkqjsIBjvhlHMtHnTKtw47UYhjAEd 41CtoTzMcJDvqXY0RbU5bJtQl3INCixF8ROgu6l4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98934: ipv6: sr: use skb_get_hash_net() in seg6_make_flowlabel() Date: Fri, 23 Oct 2026 14:11:41 +0200 Message-ID: <2026102338-CVE-2026-98934-4fe9@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4349; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3eGwCkZCfBwT6weOx/XfhvhgYqMiKczz/4S5ae98u1c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3/X5xdWytUNrjmiv+oEnWcfkxo/pLCTNK3jKbHX3gt /jqriNXOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi4acY5mdzv3xVI3t/uszy FrWXKht3Z+X+38ww32vDKe+yGCbj+ptPS3LNsvYmGy3lAgA= 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: ipv6: sr: use skb_get_hash_net() in seg6_make_flowlabel() Since commit d58e468b1112 ("flow_dissector: implements flow dissector BPF hook") __skb_flow_dissect() needs a net pointer, either from skb->dev, skb->sk, or since commit 3cbf4ffba5ee ("net: plumb network namespace into __skb_flow_dissect") a caller provided pointer. syzbot was able to reach seg6_make_flowlabel() with an skb having neither skb->dev nor skb->sk set: a TIPC UDP bearer sends a discovery message through an IPv4 route using seg6 encap, while net.ipv6.seg6_flowlabel is set to 1. seg6_make_flowlabel() already has a net pointer, use skb_get_hash_net(). WARNING: net/core/flow_dissector.c:1131 at __skb_flow_dissect+0x910/0x5368 net/core/flow_dissector.c:1126, CPU#0: syz.0.17/4930 Call trace: __skb_flow_dissect+0x910/0x5368 net/core/flow_dissector.c:1126 (P) __skb_get_hash_net+0xe0/0x29c net/core/flow_dissector.c:1903 skb_get_hash include/linux/skbuff.h:1663 [inline] seg6_make_flowlabel+0xcc/0x1ec net/ipv6/seg6_iptunnel.c:132 __seg6_do_srh_encap+0x320/0xbf4 net/ipv6/seg6_iptunnel.c:161 seg6_do_srh+0x4b4/0xa44 net/ipv6/seg6_iptunnel.c:431 seg6_output_core+0x164/0x688 net/ipv6/seg6_iptunnel.c:681 seg6_output+0x44/0x1ac net/ipv6/seg6_iptunnel.c:744 lwtunnel_output+0x3d0/0x664 net/core/lwtunnel.c:356 dst_output include/net/dst.h:470 [inline] ip_local_out+0x110/0x148 net/ipv4/ip_output.c:131 iptunnel_xmit+0x50c/0xd38 net/ipv4/ip_tunnel_core.c:97 udp_tunnel_xmit_skb+0x220/0x348 net/ipv4/udp_tunnel_core.c:187 tipc_udp_xmit+0x75c/0x9c0 net/tipc/udp_media.c:202 tipc_udp_send_msg+0x214/0x374 net/tipc/udp_media.c:274 tipc_bearer_xmit_skb+0x260/0x3b0 net/tipc/bearer.c:576 tipc_enable_bearer net/tipc/bearer.c:366 [inline] __tipc_nl_bearer_enable+0xc90/0xfb0 net/tipc/bearer.c:1048 tipc_nl_bearer_enable+0x2c/0x48 net/tipc/bearer.c:1057 genl_family_rcv_msg_doit+0x1e4/0x2d4 net/netlink/genetlink.c:1114 The Linux kernel CVE team has assigned CVE-2026-98934 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 and fixed in 6.6.160 with commit 4ab37e4f4a33c64d9e565dc8c4c3ed774f05c0e3 Issue introduced in 4.20 with commit d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 and fixed in 6.12.113 with commit 8fe3d6717f5536793727e60b7a0b7ec20c697def Issue introduced in 4.20 with commit d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 and fixed in 6.18.56 with commit 53b21bc2df6e8ed538bceda93a5104a5fe6a8a84 Issue introduced in 4.20 with commit d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 and fixed in 7.2.10 with commit 086e8acb3a0e55f6d22d29fae2a4a3b1561bb766 Issue introduced in 4.20 with commit d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 and fixed in 7.3 with commit 8ec454dcd00ce3375119111c6394964455b36d0d 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-98934 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/seg6_iptunnel.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/4ab37e4f4a33c64d9e565dc8c4c3ed774f05c0e3 https://git.kernel.org/stable/c/8fe3d6717f5536793727e60b7a0b7ec20c697def https://git.kernel.org/stable/c/53b21bc2df6e8ed538bceda93a5104a5fe6a8a84 https://git.kernel.org/stable/c/086e8acb3a0e55f6d22d29fae2a4a3b1561bb766 https://git.kernel.org/stable/c/8ec454dcd00ce3375119111c6394964455b36d0d