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 6D44039C011 for ; Wed, 25 Mar 2026 10:27:34 +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=1774434454; cv=none; b=i4bmYTYKCVgq7xi7WZeEnu86VmGHLfhd05ff1tKOws4Wpbq1GdJYpw/G9VyQ8jQEPO/H1i48E7OGKhUxIo0QP7c+oD+KPoYIWZo5SiWTt44RyMxzqhkBvh6CUAnSMG9w4lE1xWWTxc7nIamzMZmZYwoGcPFJW/N1UEbXjwh9VOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434454; c=relaxed/simple; bh=Ui6lx1inJlaTZlwa29FSy/pkcfI1k5BQvbMYZZAaqOk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mwayeloLcMoFgAaW4sJ+w97TE6s46NmZWHgmCB2/7lfbV/032S4w7mDIunltgW9rCPnxGWeUD+VsFifdWTII/P6qhpMFMSVggF6soA3Vg1jpbmtbs0bXG4Uxg4iq9nnJ0Yanev03v3lDyQlG49RLWI3aF6g/lFIs0kl8KR7MyNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xhopwUL4; 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="xhopwUL4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0F64C4CEF7; Wed, 25 Mar 2026 10:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434454; bh=Ui6lx1inJlaTZlwa29FSy/pkcfI1k5BQvbMYZZAaqOk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=xhopwUL4Em0b3LGfDiNXqDFthduhBRUIex2t5BgKESaUrDLIHdIC8Ngd1coQxAiFW yVUlLjXTIvWcqkxoNkxJgObtIiqyCjsAXOntDGzkJQM0prsitD1b3H+oNLyJZIJcYk 600zCj+KF1JxKx111qL6GCeNdQpKJjRmFE/ciDeA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23293: net: vxlan: fix nd_tbl NULL dereference when IPv6 is disabled Date: Wed, 25 Mar 2026 11:26:37 +0100 Message-ID: <2026032525-CVE-2026-23293-b422@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=3649; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nvhsReWN3iiqMixtSPrbHsJXyN60XbFSa9AmvW3UGJc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdwSuLTQvtPj/OqGixveyaEOh7X1P++vcy7rW3ixYa PC0/cebjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIvRqGBXNESk8s7I+4ds9q UhgH2ymrwH/xQQzza74WPTua8PnPw2/FE0+wPzQq8zq4DQA= 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: vxlan: 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. If an IPv6 packet is injected into the interface, route_shortcircuit() is called and a NULL pointer dereference happens on neigh_lookup(). BUG: kernel NULL pointer dereference, address: 0000000000000380 Oops: Oops: 0000 [#1] SMP NOPTI [...] RIP: 0010:neigh_lookup+0x20/0x270 [...] Call Trace: vxlan_xmit+0x638/0x1ef0 [vxlan] dev_hard_start_xmit+0x9e/0x2e0 __dev_queue_xmit+0xbee/0x14e0 packet_sendmsg+0x116f/0x1930 __sys_sendto+0x1f5/0x200 __x64_sys_sendto+0x24/0x30 do_syscall_64+0x12f/0x1590 entry_SYSCALL_64_after_hwframe+0x76/0x7e Fix this by adding an early check on route_shortcircuit() when protocol is ETH_P_IPV6. Note that ipv6_mod_enabled() cannot be used here because VXLAN can be built-in even when IPv6 is built as a module. The Linux kernel CVE team has assigned CVE-2026-23293 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 6.1.167 with commit b5190fcd75a1f1785c766a8d1e44d3938e168f45 Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 6.6.130 with commit 5f93e6b4d12bd3a4517a6d447ea675f448f21434 Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 6.12.77 with commit f0373e9317bc904e7bdb123d3106fe4f3cea2fb7 Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 6.18.17 with commit fbbd2118982c55fb9b0a753ae0cf7194e77149fb Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 6.19.7 with commit abcd48ecdeb2e12eccb8339a35534c757782afcd Issue introduced in 3.12 with commit e15a00aafa4b7953ad717d3cb1ad7acf4ff76945 and fixed in 7.0-rc3 with commit 168ff39e4758897d2eee4756977d036d52884c7e 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-23293 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/vxlan/vxlan_core.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/b5190fcd75a1f1785c766a8d1e44d3938e168f45 https://git.kernel.org/stable/c/5f93e6b4d12bd3a4517a6d447ea675f448f21434 https://git.kernel.org/stable/c/f0373e9317bc904e7bdb123d3106fe4f3cea2fb7 https://git.kernel.org/stable/c/fbbd2118982c55fb9b0a753ae0cf7194e77149fb https://git.kernel.org/stable/c/abcd48ecdeb2e12eccb8339a35534c757782afcd https://git.kernel.org/stable/c/168ff39e4758897d2eee4756977d036d52884c7e