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 A8B923B7748 for ; Wed, 25 Mar 2026 10:32:12 +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=1774434732; cv=none; b=cZcHJlpFonNavvb/pWSMJQiJxEke6lvgE0t8hj3+McbQ5M8Cz9rSyhGS5gf+IkygaYV4Hgx0XZeLHK7I3yTEelgvC0F+aQnxFc/GPV1/g+kWhCwi1KGuQWg3kNEi5dtVW0X+ysQRuMdM4uifVaVO2rFa2MEzNGcg2XfCnx7IcyA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434732; c=relaxed/simple; bh=ixhAEVIztyHkBUadbvM4erYng0kTbQX021urYFRDWxw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lNNy3QAu7G+wEEZVK0K9BKuUJFZMTgQU0eJohMp0k74/Wclm4+WjMyP7gFKNLzA8kohEWDN9ko4b9jntsTL+6LBkGF+JLZrJG7pTRSoJBH0ICAJJIncmI3TzJI58U4/rEbnJMqfOmCqG2TpX0+EYQuOjMwUl5Ct4C1UUqlUwHRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pw4nSTxG; 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="pw4nSTxG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E495C4CEF7; Wed, 25 Mar 2026 10:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434732; bh=ixhAEVIztyHkBUadbvM4erYng0kTbQX021urYFRDWxw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pw4nSTxGdLWAICBOzvKachx9Fc2Y2hQF/K9mkoJcqKFRhLtEukd/g+gHEuhv4PMGy 1xiFmYQi8EhxCuHY404LkdjKiyH/DL0cEuJVs1Qd/elutLUTNYEozYSireYPowx30F 32MDLxQwXf9r3p3h++BeP22xFUwd34PN2Hhp4riE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23381: net: bridge: fix nd_tbl NULL dereference when IPv6 is disabled Date: Wed, 25 Mar 2026 11:28:05 +0100 Message-ID: <2026032543-CVE-2026-23381-378d@gregkh> X-Mailer: git-send-email 2.53.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=3846; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SAY/VgfzStUFm8/T4vF9eoP15zVszu+sPXAD5KqVKFE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdyQ/qmfaoLQ/i93m3m1ho59Zrp83/y7bab2R72Nj1 r/7rjNNOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiblYMcyVlIy68mVAoZl9r rH/s6YxluTuqtzLMlXJZ+PP8q97uiH0BPA1FT0S0v2w4BQA= 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: bridge: fix nd_tbl NULL dereference when IPv6 is disabled When booting with the 'ipv6.disable=1' parameter, the nd_tbl is never initialized because inet6_init() exits before ndisc_init() is called which initializes it. Then, if neigh_suppress is enabled and an ICMPv6 Neighbor Discovery packet reaches the bridge, br_do_suppress_nd() will dereference ipv6_stub->nd_tbl which is NULL, passing it to neigh_lookup(). This causes a kernel NULL pointer dereference. BUG: kernel NULL pointer dereference, address: 0000000000000268 Oops: 0000 [#1] PREEMPT SMP NOPTI [...] RIP: 0010:neigh_lookup+0x16/0xe0 [...] Call Trace: ? neigh_lookup+0x16/0xe0 br_do_suppress_nd+0x160/0x290 [bridge] br_handle_frame_finish+0x500/0x620 [bridge] br_handle_frame+0x353/0x440 [bridge] __netif_receive_skb_core.constprop.0+0x298/0x1110 __netif_receive_skb_one_core+0x3d/0xa0 process_backlog+0xa0/0x140 __napi_poll+0x2c/0x170 net_rx_action+0x2c4/0x3a0 handle_softirqs+0xd0/0x270 do_softirq+0x3f/0x60 Fix this by replacing IS_ENABLED(IPV6) call with ipv6_mod_enabled() in the callers. This is in essence disabling NS/NA suppression when IPv6 is disabled. The Linux kernel CVE team has assigned CVE-2026-23381 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.1.167 with commit 7a894eb5de246d79f13105c55a67381039a24d44 Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.6.130 with commit a12cdaa3375f0bd3c8f4e564be7c143529abfe5b Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.12.77 with commit aa73deb3b6b730ec280d45b3f423bfa9e17bc122 Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.18.17 with commit 33dec6f10777d5a8f71c0a200f690da5ae3c2e55 Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.19.7 with commit 20ef5c25422f97dd09d751e5ae6c18406cdc78e6 Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 7.0-rc3 with commit e5e890630533bdc15b26a34bb8e7ef539bdf1322 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-23381 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/bridge/br_device.c net/bridge/br_input.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/7a894eb5de246d79f13105c55a67381039a24d44 https://git.kernel.org/stable/c/a12cdaa3375f0bd3c8f4e564be7c143529abfe5b https://git.kernel.org/stable/c/aa73deb3b6b730ec280d45b3f423bfa9e17bc122 https://git.kernel.org/stable/c/33dec6f10777d5a8f71c0a200f690da5ae3c2e55 https://git.kernel.org/stable/c/20ef5c25422f97dd09d751e5ae6c18406cdc78e6 https://git.kernel.org/stable/c/e5e890630533bdc15b26a34bb8e7ef539bdf1322