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 B97803E0C75 for ; Tue, 6 Oct 2026 10:27:09 +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=1791282430; cv=none; b=N5VxqIPJxfARNUE34jZFboP6XtyakcRMtkGPihwcmNiGhioxZ3XOnOYDDr6vP2x+J94XvevnM3fo64ej/1QGAcmVt1Fae4jmX6oEJ7JLkqxrE6oVflaSyMsaRha/s7MzqfLp76aLVnrycfCRtvc+0aOXJdxoBFW4P3KIK7339ZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282430; c=relaxed/simple; bh=1EwW+JJj74FDl/zaHueNSyAIolt/cW9u5cgfri9EWmY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WiIulu3yU6qPWR5kRJQJOvgaUBNy4cul4jZH3RfuBfCG1bk4MNEy/suLyCd0hua0njp3/DmC9ZLKrk0GN04Gac2lDjMf1tQwdnuxV710GVxtIxUK2lr2KjFDUqJlT8VaI8j+lMlV3GfW/y6Q3O8uqstVMNS0KIzPmb0/clQUKCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PEBlJBbl; 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="PEBlJBbl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20E8C1F000FF; Tue, 6 Oct 2026 10:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282429; bh=kxO/DSzlI8QAkVgjhFPyHTbGA0matAS+3l5X777mk7g=; h=From:To:Cc:Subject:Date:Reply-To; b=PEBlJBblkveQ5ZLMH9pwFNwzHn2LTulzH+s5SswzFsSS6U/H+0rl4yLb4Hy2teqNQ zd8w3N9E1T7KUHPMfjFEWCP/cm01+3OVpWPa8rRhdFJwCnH1pRTKuKsBPVVLbjGddk 89sc0dErM7FcdZrAJZ4nBJUOuf7JUb560a01/M4Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98306: seg6: set IPSKB_L3SLAVE from IP6SKB_L3SLAVE on IPIP decapsulation Date: Tue, 6 Oct 2026 10:46:47 +0200 Message-ID: <2026100610-CVE-2026-98306-66a9@gregkh> X-Mailer: git-send-email 2.56.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=4370; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qYJONg/mV1cXEBpJQSL6bcOHlLCxaTCfJ4I2Etw10HY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtopl+tUsLIl21g2b6bcxffGS9Yu2FRw3lpqaXy8/4 VyNy6nwjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIyXaGObzx15a8cD0wVe7k 4fCU+l+1XzNZGhgW7DG36GhQEfBfJ5AX/Kwuu0dq1XYzAA== 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: seg6: set IPSKB_L3SLAVE from IP6SKB_L3SLAVE on IPIP decapsulation When an SRv6 packet arrives on an interface enslaved to a VRF, vrf_ip6_rcv() sets IP6SKB_L3SLAVE in IP6CB, but decap_and_validate() has never set IPSKB_L3SLAVE in IPCB. The bit stayed clear in the common case, and with CONFIG_IPV6_MIP6 the leftover frag_max_size of a reassembled outer packet could even set it, with no VRF involved. Commit 44930446dde4 ("ipv6: seg6: clear IPv4 control block on IPIP decapsulation") then made the unreliable bit reliably clear. The effect of the missing flag is visible with End.DX4 when a delivery to a local address of the node reaches the socket lookup. For example, a UDP socket bound to the enslaved ingress interface does not receive any of the decapsulated packets, while an unbound socket outside the VRF does. This contradicts Documentation/networking/vrf.rst: by default the scope of an unbound UDP or TCP socket is limited to the default VRF. Set IPSKB_L3SLAVE for IPv4 in decap_and_validate(), which already does the same for IPv6. The socket lookup then matches the decapsulated packet like any other packet received on that enslaved interface. Such a packet matches an unbound UDP or TCP socket only when udp_l3mdev_accept or tcp_l3mdev_accept is set. The Linux kernel CVE team has assigned CVE-2026-98306 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 5.10.271 with commit 1d9f5c78903dd25a3556229eb716dd465c5f3573 Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 5.15.222 with commit 72f410616000d21a0a6ec6c93a60301b9c92e95c Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 6.1.189 with commit e4d7c52f15f572608374947c6c802052e1a2fc82 Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 6.6.158 with commit 5130afa025c95faa621adf8bac525baeb2b290d2 Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 6.12.112 with commit f8fb4738ccef5f9d107845b05734a56352747b1a Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 6.18.54 with commit ddf60220c925b54a1714c4722fdbdb12833232d0 Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 7.2.8 with commit 8c16e1ccc082a3763dfc6bc2d3f658c1a6336f9d Issue introduced in 4.14 with commit 891ef8dd2a8d14e4e73a81dcdb135b574c57f556 and fixed in 7.3-rc4 with commit 7616242a2b37883f7322aaa1d2bd6cd0fed28315 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-98306 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_local.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/1d9f5c78903dd25a3556229eb716dd465c5f3573 https://git.kernel.org/stable/c/72f410616000d21a0a6ec6c93a60301b9c92e95c https://git.kernel.org/stable/c/e4d7c52f15f572608374947c6c802052e1a2fc82 https://git.kernel.org/stable/c/5130afa025c95faa621adf8bac525baeb2b290d2 https://git.kernel.org/stable/c/f8fb4738ccef5f9d107845b05734a56352747b1a https://git.kernel.org/stable/c/ddf60220c925b54a1714c4722fdbdb12833232d0 https://git.kernel.org/stable/c/8c16e1ccc082a3763dfc6bc2d3f658c1a6336f9d https://git.kernel.org/stable/c/7616242a2b37883f7322aaa1d2bd6cd0fed28315