Public bug reported:

[Impact]

The CVE-2026-98023 fix, 98fc57d16744 ("vxlan: reject dynamic fdb entries
that reference a nexthop id"), rejects dynamic vxlan fdb entries that use
an nhid. FRR installs remote MACs behind an EVPN multihomed Ethernet Segment
exactly that way (dynamic + extern_learn + nhid), so every install fails:

  zebra: Extended Error: A nexthop fdb cannot be dynamic
  zebra: netlink-dp (NS 0) error: Invalid argument, type=RTM_NEWNEIGH(28)

Traffic to those MACs is then flooded to every remote VTEP. Hosts on a
multihomed segment get duplicate frames.

Affected noble kernels:
- HWE 7.0: 7.0.0-41 and later (7.0.0-44 in hwe-7.0-next still has it)
- GA 6.8: 6.8.0-148 and later (6.8.0-151 in master-next still has it)

[Fix]

Upstream reverted the check in a race-free way:
7308ef8b4a6779a39f68d053c19b53a5c584a663
("vxlan: Stop rejecting dynamic FDB entries with a nexthop ID", Cc: stable)

It's queued for 5.10, 5.15, 6.1, 6.6, 6.12, 6.18 and 7.3 stable. Upstream
7.0.y and 6.8.y are EOL, so noble needs a direct cherry-pick. The
queue-6.12 backport applies as a reference:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-6.12/vxlan-stop-rejecting-dynamic-fdb-entries-with-a-next.patch

[Test Plan]

  ip link add vx0 type vxlan id 100 dstport 4789 local 192.0.2.10 external
  ip link set vx0 up
  ip nexthop add id 1 via 192.0.2.1 fdb
  ip nexthop add id 2 via 192.0.2.2 fdb
  ip nexthop add id 10 group 1/2 fdb
  bridge fdb add 00:00:5e:00:53:01 dev vx0 nhid 10 self dynamic extern_learn

- Affected kernel: "Error: A nexthop fdb cannot be dynamic."
- Fixed kernel: accepted, and shown by `bridge fdb show dev vx0`.

Also: FRR EVPN-MH with a remote ES. zebra logs no RTM_NEWNEIGH errors and
remote-ES MACs are in `bridge fdb show`.

[Where problems could occur]

vxlan fdb ageing (vxlan_cleanup) for entries that point to nexthop groups.
That was the race the original fix targeted, and the upstream commit closes
it a different way. Only vxlan fdb entries with an nhid are affected.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174656

Title:
  vxlan: regression from CVE-2026-98023 fix breaks EVPN multihoming (FRR
  remote-ES MACs rejected)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2174656/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to