Description
In the Linux kernel, the following vulnerability has been resolved:

vxlan: mdb: Fix source list corruption on a failed replace

When replacing the source list of an MDB remote entry, all existing
sources are first marked for deletion and vxlan_mdb_remote_srcs_add()
is then called to add the new source list. Sources present in the new
list have their deletion mark cleared, and any sources left marked
afterwards are removed.

If vxlan_mdb_remote_srcs_add() fails partway through, its error path
deletes all entries on the remote's source list. That rollback is only
correct for its other caller, vxlan_mdb_remote_add(), where the remote
was just allocated and the list contains solely entries added during
the call. On the replace path the list also holds pre-existing sources,
so a failed replace tears them down together with their (S, G)
forwarding entries instead of leaving the entry unchanged.

This is reachable from an existing (*, G) remote. An EXCLUDE filter
that loses sources starts forwarding traffic that should be blocked,
while an INCLUDE filter that loses sources drops traffic that should be
forwarded.

Mark entries created during the current pass with a new
VXLAN_SGRP_F_NEW flag. On failure, delete only those entries and clear
the deletion mark on the pre-existing ones, so a failed replace leaves
the source list untouched. Retain the flag until the whole operation
succeeds and then clear it. Also stop vxlan_mdb_remote_src_add() from
deleting a pre-existing entry it only looked up when adding that
entry's forwarding entry fails.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s VXLAN Multicast Database (MDB), when a remote source list is replaced, the code marks all current source entries for deletion before adding the new entries. If the addition of the new sources fails, the rollback path mistakenly deletes all entries that were marked for deletion, including those that pre‑existed before the replace operation. As a result, valid source entries are incorrectly removed from the VXLAN remote entry. This corruption can cause traffic that should be blocked to be forwarded, or traffic that should be forwarded to be dropped. The flaw is a logic error in the rollback path rather than a classic memory corruption vulnerability.

Affected Systems

All systems that run a Linux kernel which implements the VXLAN MDB feature are potentially affected. The advisory does not list specific kernel releases; the correct logic is included in later kernel commits referenced in the official Linux repository. Administrators should check whether their current kernel includes the commit series that fixes the rollback behavior. The vulnerability applies to any kernel where the vxlan_mdb_remote_srcs_add function is present in the source code.

Risk and Exploitability

The CVSS score is not provided, and the EPSS value is unavailable. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker who can initiate a VXLAN source list replace—such as a privileged process or a compromised VXLAN client—could exploit the flaw by causing a replace failure that wipes pre‑existing entries. The impact on traffic filtering suggests that systems with critical VXLAN deployments could experience significant disruption. Therefore, while the exact exploitation probability cannot be quantified, security teams should consider the risk high for environments that rely heavily on VXLAN filtering and monitoring.

Generated by OpenCVE AI on August 10, 2026 at 19:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a revision that contains the vxlan_mdb_remote_srcs_add rollback fix.
  • If a kernel upgrade cannot be performed immediately, disable or restrict VXLAN source list manipulation for the affected hosts, or transition to a different transport mechanism that does not rely on VXLAN MDB filtering.
  • Deploy network segmentation controls or monitor for abnormal VXLAN source list updates and isolate critical services from the affected VXLAN traffic until the kernel fix is applied.

Generated by OpenCVE AI on August 10, 2026 at 19:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-730

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: vxlan: mdb: Fix source list corruption on a failed replace When replacing the source list of an MDB remote entry, all existing sources are first marked for deletion and vxlan_mdb_remote_srcs_add() is then called to add the new source list. Sources present in the new list have their deletion mark cleared, and any sources left marked afterwards are removed. If vxlan_mdb_remote_srcs_add() fails partway through, its error path deletes all entries on the remote's source list. That rollback is only correct for its other caller, vxlan_mdb_remote_add(), where the remote was just allocated and the list contains solely entries added during the call. On the replace path the list also holds pre-existing sources, so a failed replace tears them down together with their (S, G) forwarding entries instead of leaving the entry unchanged. This is reachable from an existing (*, G) remote. An EXCLUDE filter that loses sources starts forwarding traffic that should be blocked, while an INCLUDE filter that loses sources drops traffic that should be forwarded. Mark entries created during the current pass with a new VXLAN_SGRP_F_NEW flag. On failure, delete only those entries and clear the deletion mark on the pre-existing ones, so a failed replace leaves the source list untouched. Retain the flag until the whole operation succeeds and then clear it. Also stop vxlan_mdb_remote_src_add() from deleting a pre-existing entry it only looked up when adding that entry's forwarding entry fails.
Title vxlan: mdb: Fix source list corruption on a failed replace
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:58:34.612Z

Reserved: 2026-07-30T09:28:09.369Z

Link: CVE-2026-68116

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T19:30:17Z

Weaknesses