7.9

CVE-2026-68116

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version a3a48de5eade770e911d35291217bdd69ce04ef1
Version < 5bc8fc1d2ff802eec839e03adef5df597421898d
Status affected
Version a3a48de5eade770e911d35291217bdd69ce04ef1
Version < 2c54dff57606590fa4abec46bab6bea3133f1539
Status affected
Version a3a48de5eade770e911d35291217bdd69ce04ef1
Version < 79370b573e92e8f190eb5f9a511fa5398340d8b2
Status affected
Version a3a48de5eade770e911d35291217bdd69ce04ef1
Version < 54a3c27b357dfb34f327f89bfadeb998bef8051e
Status affected
Version a3a48de5eade770e911d35291217bdd69ce04ef1
Version < dcd9b465965422b9654f6026e8a2fa8984f74c3c
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.4
Status affected
Version 0
Version < 6.4
Status unaffected
Version <= 6.6.*
Version 6.6.148
Status unaffected
Version <= 6.12.*
Version 6.12.101
Status unaffected
Version <= 6.18.*
Version 6.18.42
Status unaffected
Version <= 7.1.*
Version 7.1.6
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.023
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.9 2 5.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/5bc8fc1d2ff802eec839e03adef5df597421898d
https://git.kernel.org/stable/c/2c54dff57606590fa4abec46bab6bea3133f1539
https://git.kernel.org/stable/c/79370b573e92e8f190eb5f9a511fa5398340d8b2
https://git.kernel.org/stable/c/54a3c27b357dfb34f327f89bfadeb998bef8051e
https://git.kernel.org/stable/c/dcd9b465965422b9654f6026e8a2fa8984f74c3c