# CVE-2026-93250: vxlan: mdb: Fix use-after-free in vxlan\_mdb\_flush()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-24T15:51:15.108Z
- **Modified:** 2026-10-19T10:17:16.213Z

## Who should check

- Anyone running Linux \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f8a9b988e7a7bc674e74e8c901794d792c35689e; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< c7dc26d06f90ca11bbd6114f6a62a67d038816c7; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< 3e6b705bc162fc7257645725a7d2cf6c71250318; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f26400b325bdc2868e40612c4804c82cf8ba6275; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< bc2dc66a6693a78f8c1e6ca2dbebd50f16e2c366
- Anyone running Linux 6.4

## Description

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

vxlan: mdb: Fix use-after-free in vxlan\_mdb\_flush()

vxlan\_mdb\_flush() iterates over the MDB entries using
hlist\_for\_each\_entry\_safe(), which only tolerates the removal of the
current entry. Contrary to the comment above the loop, the removal of an
entry can trigger the removal of another entry.

Flushing the remotes of a (\*, G) entry also removes the (S, G) entries
that were created for its source list, once they are left without
remotes:

vxlan\_mdb\_remotes\_flush()
-\> vxlan\_mdb\_remote\_del()
   -\> vxlan\_mdb\_remote\_srcs\_del()
      -\> vxlan\_mdb\_remote\_src\_del()
         -\> vxlan\_mdb\_remote\_src\_fwd\_del()
            -\> \_\_vxlan\_mdb\_del()
               -\> vxlan\_mdb\_entry\_put()

Such an entry can be located after the (\*, G) entry in the list, as
vxlan\_mdb\_entry\_get() returns an existing entry without moving it to the
head of the list. This order is obtained by adding the (S, G) entry
before the (\*, G) entry, the latter with NLM\_F\_REPLACE, as the addition
of the source otherwise fails with -EEXIST. The (S, G) entry is then the
entry saved by hlist\_for\_each\_entry\_safe() and it is freed while the
(\*, G) entry is processed. The next iteration calls hlist\_del() on it
again, writing LIST\_POISON1 to LIST\_POISON2 \[1\].

Besides device deletion, the flush is also reachable from RTM\_DELMDB
with NLM\_F\_BULK.

Fix by re-reading the next entry after the remotes were flushed. The
current entry cannot be removed by this flush, as source lists can only
be configured on (\*, G) entries and the removed entries are (S, G)
entries. It is therefore still linked and its next pointer reflects the
removals.

\[1\]
BUG: KASAN: wild-memory-access in vxlan\_mdb\_entry\_put.part.0+0x328/0x588
Write of size 8 at addr dead000000000122 by task ip/327

CPU: 3 UID: 1000 PID: 327 Comm: ip Not tainted 7.2.0-rc7 \#2 PREEMPT
Call trace:
 vxlan\_mdb\_entry\_put.part.0+0x328/0x588
 vxlan\_mdb\_flush+0x1d8/0x25c
 vxlan\_mdb\_fini+0x8c/0x100
 vxlan\_uninit+0x1c/0x7c
 unregister\_netdevice\_many\_notify+0x954/0xd4c
 rtnl\_dellink+0x210/0x530
 rtnetlink\_rcv\_msg+0x434/0x4d0
 netlink\_rcv\_skb+0xc4/0x204
 rtnetlink\_rcv+0x18/0x24
 netlink\_unicast+0x4b8/0x548
 netlink\_sendmsg+0x29c/0x560
 \_\_\_\_sys\_sendmsg+0x390/0x3ec
 \_\_\_sys\_sendmsg+0x114/0x188
 \_\_sys\_sendmsg+0xf0/0x178
 \_\_arm64\_sys\_sendmsg+0x48/0x60
 invoke\_syscall.constprop.0+0x58/0x180
 el0\_svc\_common.constprop.0+0x74/0x140
 do\_el0\_svc+0x30/0x40
 el0\_svc+0x38/0x98
 el0t\_64\_sync\_handler+0xa0/0xe4
 el0t\_64\_sync+0x198/0x19c

## Affected and fixed versions

- Linux: \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f8a9b988e7a7bc674e74e8c901794d792c35689e; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< c7dc26d06f90ca11bbd6114f6a62a67d038816c7; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< 3e6b705bc162fc7257645725a7d2cf6c71250318; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f26400b325bdc2868e40612c4804c82cf8ba6275; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< bc2dc66a6693a78f8c1e6ca2dbebd50f16e2c366 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93250. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93250.md
Affected: Linux >= a3a48de5eade770e911d35291217bdd69ce04ef1, < f8a9b988e7a7bc674e74e8c901794d792c35689e; >= a3a48de5eade770e911d35291217bdd69ce04ef1, < c7dc26d06f90ca11bbd6114f6a62a67d038816c7; >= a3a48de5eade770e911d35291217bdd69ce04ef1, < 3e6b705bc162fc7257645725a7d2cf6c71250318; >= a3a48de5eade770e911d352…
Fixed in: Linux 3e6b705bc162fc7257645725a7d2cf6c71250318

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93250 being exploited?

There is no confirmed exploitation: CVE-2026-93250 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93250?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-93250?

Linux \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f8a9b988e7a7bc674e74e8c901794d792c35689e; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< c7dc26d06f90ca11bbd6114f6a62a67d038816c7; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< 3e6b705bc162fc7257645725a7d2cf6c71250318; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< f26400b325bdc2868e40612c4804c82cf8ba6275; \>= a3a48de5eade770e911d35291217bdd69ce04ef1, \< bc2dc66a6693a78f8c1e6ca2dbebd50f16e2c366; Linux 6.4.

### Is there a fix for CVE-2026-93250?

Yes. Fixed in Linux 3e6b705bc162fc7257645725a7d2cf6c71250318. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-93250?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f8a9b988e7a7bc674e74e8c901794d792c35689e>
- other: <https://git.kernel.org/stable/c/c7dc26d06f90ca11bbd6114f6a62a67d038816c7>
- other: <https://git.kernel.org/stable/c/3e6b705bc162fc7257645725a7d2cf6c71250318>
- other: <https://git.kernel.org/stable/c/f26400b325bdc2868e40612c4804c82cf8ba6275>
- other: <https://git.kernel.org/stable/c/bc2dc66a6693a78f8c1e6ca2dbebd50f16e2c366>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93250>

HTML: <https://flawdb.com/CVE-2026-93250> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93250>
