🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8261

[REGRESSION] vxlan: duplicate ICMP replies with nexthop FDB entries after 3fa64d86fc64

#8261
From: Sascha Frey
Date: Wed, 28 Oct 2026 14:29
76 lines
8745 bytes
Hi,

I am seeing a VXLAN forwarding regression with Linux 7.2.7 and later,
apparently related to commit 3fa64d86fc64 ("vxlan: reject dynamic fdb
entries that reference a nexthop id").


Environment

Linux kernel: 7.2.7, tested from the upstream source tree
Also affected: Debian backports 7.2.9 and 7.2.11
Known good: Linux 7.1.8 and 7.2.6

The affected systems are Debian-based KVM virtualization hosts. Each
host uses Linux bridges with VxLAN devices attached as bridge ports,
acting as VTEPs.

The overall network uses EVPN. Some VTEPs run on the Debian 
virtualization hosts, while other VTEPs are implemented on Mellanox
switches running Cumulus Linux 5.18 with EVPN multihoming (EVPN-MH).

FRR/Zebra installs nexthop groups and VxLAN FDB entries on the Linux
hosts.


Symptoms

ICMP replies are duplicated. A packet capture on the source host's
physical interface carrying the outer VXLAN UDP traffic shows the same
ICMP reply encapsulated towards all remote VTEP addresses.

On a remote VTEP, a capture on the vxlan interface shows only one
request and one reply per sequence number.

Disabling GRO did not help, and the problem is independent of the ICMP
packet size.


Relevant FDB state

With the unmodified 7.2.7 kernel, the following entry was missing:

90:e2:ba:33:3b:04 nhid 536870949 self extern_learn

The corresponding nexthop group existed:

id 536870949 group 268435494/268435495 scope global proto zebra fdb
id 268435494 via 10.224.90.1 scope link proto zebra fdb
id 268435495 via 10.224.90.2 scope link proto zebra fdb


Revert test

I reverted commit 3fa64d86fc64 on top of Linux 7.2.7, without other
source changes.

With this kernel:

The missing VXLAN FDB entry reappears.
The duplicate ICMP replies disappear.

The revert removes the checks in vxlan_fdb_add() and
vxlan_fdb_update_existing() that reject dynamic FDB entries referencing
a nexthop ID.

This strongly suggests that the commit is involved, although I have not
yet established the exact mechanism by which the FDB entry goes missing.

Could someone help investigate whether the new checks can interfere with
EVPN/FRR-installed nexthop FDB entries, or whether this exposes another
issue in the VXLAN FDB handling?


Best regards,
Sascha
Technical Details
Message-ID: <20261028142928.GA8406@techfak.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352887-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352887-linux-kernel-netdev=dewy.ru
From: sf@techfak.net (Sascha Frey)
Newsgroups: linux.kernel.netdev
Subject: [REGRESSION] vxlan: duplicate ICMP replies with nexthop FDB entries
 after 3fa64d86fc64
Date: Wed, 28 Oct 2026 15:29:28 +0100
Organization: Usenet Network
Message-ID: <20261028142928.GA8406@techfak.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1787667"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rT+xW6NulKuKvXjxh6VWXvu7tdk= sha256:VeMqV2uj1mU1hPH5b7ih1lyPdxIf+aF6JbR13UVi3DI=
	sha1:p3QpuC1bcQtp5p8Jb8uKvi1Adcc= sha256:HtqNEBxpBu6FFfKhOQL/4hZXn/NYoYhz9ReRjpHtp20=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 9858A125C36; Wed, 28 Oct 2026 17:30:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ufW6SfmjypK5;
	Wed, 28 Oct 2026 17:29:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352887-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=techfak.net
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id C27C4125C33; Wed, 28 Oct 2026 17:29:55 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id EDC6C27AA1; Wed, 28 Oct 2026 14:29:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793197789;
	b=iR8aW5rgoD3t8qPZfw2eSgs8ZJdtQYXs3QseMXol2S6UaguPNr3wF3iDYZe+MQM23YmY
	 CqDbXxfc+z80UV4hGVbvmukNNckeTKwNC9V7xm4oh29amC6ZOshKKu1q6On4nlZr4xUIJ
	 aPbpcxyhE7sej4tZA+wQUnArkXWT53ngCKREUlNWI12g3vk9Sl/CVYWQPGf8uvw7+yiUp
	 z0SOox+2Uh8mvBAqVGfA7nlF5WgwDncDeJAG7TGzTcD4oN/PzDokwGACZnqNGV351xzcv
	 iY0jBsszfNWfXnbBMYvgGiDObQaW6VaT4NFlNNNU8zUsl59r7+iQj680oSshsGT3QUw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793197789;
	h=X-Original-To:Received:DMARC-Filter:Date:From:To:Cc:Subject:
	 Message-ID:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Disposition;
	bh=zsOlgHBs9Mth5zl+FODhlUHS2OrDrKvCGaKDR/F8sWE=;
	b=1iQXZPuBYWvV92cdJTdyMXos4q8p8sBJCjLvyTGJ7SjP+nwKpwT5fyZUM7UDDXcyhvd2
	 DPyZ4H3tj3dNY9u9KCHDoGa4Ns5biy8649pR4VvyoLJIXUGONtGWqA2SPBvcURYTvu1gC
	 mDYakpIlw/6+Do4mmg028khGqXOqISTPxM1+i/5Klq6VQmPyd4g23lOmhJb+GF4h8Hefa
	 H/hyiImb7curc9WC+TU8iV1MdUqOp9Ios5oQzzGL9gzyvMcDw5Uqin428983nej+sUlUR
	 X9Krlt4lb4T6eKKj++EiXE0Evkapne3ulEYpkPuI63t8hsKSa/Bdm0/b3wxKiII6w+w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=techfak.net;
	spf=pass smtp.mailfrom=techfak.net;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 38894606A323;
	Wed, 28 Oct 2026 14:29:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=129.70.137.15
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793197788;
	b=H6fIjTOhnJjwW+ImtVIKN2hAbdwU3xqb95jTuW6cPmNPWWRw01HKgK9GM1SI8CyF0GwD
	 p0eL3VG6h4upUszqAZsuG++WkQHk7X/0/r08T+wEnWAq6PVTsPu4GyJhaqQzqvlmZz/fg
	 kHTmO7atTHEeiX9NkISo1ogoZRfEyoqfSU7m4bjq6Ti3kJS0cW92YEO1Dbp7Fd6skzWEZ
	 UopHGwLKmxP/LBqg7Yk8Q8MebpHh8Ad6jqOdbkeO/Gl/tceqCAs1ktCOEUyGEOL/g1ZQa
	 A21QFpLY3kP13navQFHdd1S+HzMmDt1wrbK9Qec7xKiNFgTDpJ3YKFaIgb0zN2fJdvA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793197788;
	h=DMARC-Filter:Date:From:To:Cc:Subject:Message-ID:MIME-Version:
	 Content-Type:Content-Disposition;
	bh=zsOlgHBs9Mth5zl+FODhlUHS2OrDrKvCGaKDR/F8sWE=;
	b=u7kjvTVhEIGDwN6z6jhrPbeN/54EWu00M8faoBH9Kd89La9dSGNnSNYe9HUiBcCGFtjQ
	 bTgdjRNYFv2If5YOiMyRbcTnpwCidQQKaaATGJJxQbvJ0fwWVIYMoYNpLXc99HL9c1NLV
	 9GDf+M9DeX10QA34PiQb2jdCUadqyaQaDiDODvck3soTxkEGThw7kN7Whzm+X8EgPaWKE
	 ol8g1tikuqyEmP9QdqNFYsIe18ZdojZW3bR+rZiGgdesuWuuYQ3glWKNcopmM0CxO9XRU
	 KzVDxD8n2oTsOytZ0tKOeZ7wMZYz9eAEYrq7Fhyt8Rsrnye6n5ehfxQ4PCpQXUdO/4g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=techfak.net;
	spf=pass smtp.mailfrom=techfak.net;
	arc=none smtp.remote-ip=129.70.137.15
X-Received: from smtp.techfak.de (mailout3.TechFak.NET [129.70.137.15])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75240606A31A
	for <netdev@vger.kernel.org>; Wed, 28 Oct 2026 14:29:46 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 75240606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=techfak.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=techfak.net
X-Cc: qotmddnjs@ajou.ac.kr, davem@davemloft.net, kuba@kernel.org,
	edumazet@google.com, idosch@nvidia.com
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list