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 CABA03F5BFD for ; Fri, 25 Sep 2026 10:33:19 +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=1790332401; cv=none; b=MlWorDUriUXTAkrc/IV/fZ0GNr/rvnYuiK59Hv6hQ/g5BHCnWUDRZfoxQqRZvhxNOT/ptBydHogvL4xYkBmWWEfU0ZM7+P+ZSV8S2a4iSpoNbKMU7AaD1UE/IFLVuKdxrQixbdhiJVbM8j6jBov+ny/QF5ZBZU9zXEVuJNlaNJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332401; c=relaxed/simple; bh=Bsuy49w4SRQWx1QQgzG94/FwlPo359kc/xY8aacp3BE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OjKBOazyPpoMC3b2Hiz/MtEvFG4uAXjV/R37TVJ1j6OclgTmUswnDjLcgTCoZ6aSzG9emkJIHvPTo2e/hhDSp4hhvIUgW8j+GyPVcCG2BHLo0jWOlupyuSjOOtmzTb2WmN+yShFgTi1AGjdx1G8gLGPyaT+PhnvXCIKFMx9GX+Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0Ya+9A5d; 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="0Ya+9A5d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C76D1F000FF; Fri, 25 Sep 2026 10:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332399; bh=88KlShZuCRZHkDv31gxpn0dkATiG+NU5yEyPMJeHogc=; h=From:To:Cc:Subject:Date:Reply-To; b=0Ya+9A5d4fGMk4RQTfKOHoBVA511O+xIeCy4vlJbvZNQnmCevZygYboWtDLWxPt/1 Qb5NGSLOhdy5lmYb0G4w7IhPmyV7pzzyRLuR8o+Oo8Arx7fexnxx9zNnIT2lCbnlM3 eYhNZLwaJEEaAp3TqyWCmPcEO3VcxJBMz2rKRxp4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98023: vxlan: reject dynamic fdb entries that reference a nexthop id Date: Fri, 25 Sep 2026 12:25:25 +0200 Message-ID: <2026092527-CVE-2026-98023-5c41@gregkh> X-Mailer: git-send-email 2.55.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=3809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GSQuI4QZ12yBhWAuTkZym6c5kubiMSdaaVvsKdhauQQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvJNV/PViJm2XZHt8sznHjuHlhcdTBSVfC6u4reZcV pt6WnJ7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykMZdhnr6wpV+cZPbEK1ZO fdM4A94nbWWewDC/6MDCU5e1pes4N5+N/n55M1Pjt487AA== 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: vxlan: reject dynamic fdb entries that reference a nexthop id The commit cited in the Fixes tag allowed VXLAN FDB entries to point to FDB nexthops so that overlay traffic could be load balanced across multiple VTEPs. Such entries can only be configured from user space, cannot be learned and cannot roam. They only make sense with a user space control plane such as E-VPN where data plane learning is disabled. Despite that, the VXLAN driver does not currently prevent such entries from being configured with the "dynamic" flag. The per-nexthop FDB list is only protected by the per-device hash lock, which is not sufficient when two VXLAN devices point to the same FDB nexthop and therefore share the list. Aging runs in softirq context without RTNL, so an entry deleted by one device can race with an addition or deletion from the other, leading to list corruption: list_del corruption. next->prev should be ffff8881069d9548, but was dead000000000122. (next=ffff8881069d9448) WARNING: CPU: 0 PID: 90 at lib/list_debug.c:65 __list_del_entry_valid_or_report+0x1aa/0x210 ... vxlan_fdb_destroy+0x5b8/0xad0 vxlan_cleanup+0x328/0x450 call_timer_fn+0x2a/0x1c0 run_timer_softirq+0x18c/0x210 BUG: KASAN: slab-use-after-free in vxlan_fdb_destroy Fix this by rejecting the bogus configuration of dynamic FDB entries that point to FDB nexthops, both when created and when an existing entry is updated. As such, the per-nexthop FDB list is only ever mutated under the RTNL lock. Add test cases to make sure that this does not regress in the future. The Linux kernel CVE team has assigned CVE-2026-98023 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 1274e1cc42264d4e629841e4f182795cb0becfd2 and fixed in 6.12.111 with commit 28f86eec851b7406a4bc6143f82aeba2882d9842 Issue introduced in 5.8 with commit 1274e1cc42264d4e629841e4f182795cb0becfd2 and fixed in 6.18.53 with commit 53359916ceb649b7e6947c8c2f669368a41c1354 Issue introduced in 5.8 with commit 1274e1cc42264d4e629841e4f182795cb0becfd2 and fixed in 7.2.7 with commit 3fa64d86fc64eda104e3e97721a12a42a2fd2073 Issue introduced in 5.8 with commit 1274e1cc42264d4e629841e4f182795cb0becfd2 and fixed in 7.3-rc3 with commit 98fc57d167446b95b4e719815fe79edef93f8e7a 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-98023 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 tools/testing/selftests/net/fib_nexthops.sh 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/28f86eec851b7406a4bc6143f82aeba2882d9842 https://git.kernel.org/stable/c/53359916ceb649b7e6947c8c2f669368a41c1354 https://git.kernel.org/stable/c/3fa64d86fc64eda104e3e97721a12a42a2fd2073 https://git.kernel.org/stable/c/98fc57d167446b95b4e719815fe79edef93f8e7a