# CVE-2025-37921: vxlan: vnifilter: Fix unlocked deletion of default FDB entry

> 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.31% (percentile 16, 2026-11-28)
- **Published:** 2025-05-20T15:21:50.410Z
- **Modified:** 2026-10-15T22:18:21.560Z

## Who should check

- Anyone running Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 2d4a121296aa3940d2df9906f955c2b6b4e38bc3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 470206205588559e60035fceb5f256640cb45f99; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 087a9eb9e5978e3ba362e1163691e41097e8ca20
- Anyone running Linux 5.18

## Description

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

vxlan: vnifilter: Fix unlocked deletion of default FDB entry

When a VNI is deleted from a VXLAN device in 'vnifilter' mode, the FDB
entry associated with the default remote (assuming one was configured)
is deleted without holding the hash lock. This is wrong and will result
in a warning \[1\] being generated by the lockdep annotation that was
added by commit ebe642067455 ("vxlan: Create wrappers for FDB lookup").

Reproducer:

 \# ip link add vx0 up type vxlan dstport 4789 external vnifilter local 192.0.2.1
 \# bridge vni add vni 10010 remote 198.51.100.1 dev vx0
 \# bridge vni del vni 10010 dev vx0

Fix by acquiring the hash lock before the deletion and releasing it
afterwards. Blame the original commit that introduced the issue rather
than the one that exposed it.

\[1\]
WARNING: CPU: 3 PID: 392 at drivers/net/vxlan/vxlan\_core.c:417 vxlan\_find\_mac+0x17f/0x1a0
\[...\]
RIP: 0010:vxlan\_find\_mac+0x17f/0x1a0
\[...\]
Call Trace:
 \<TASK\>
 \_\_vxlan\_fdb\_delete+0xbe/0x560
 vxlan\_vni\_delete\_group+0x2ba/0x940
 vxlan\_vni\_del.isra.0+0x15f/0x580
 vxlan\_process\_vni\_filter+0x38b/0x7b0
 vxlan\_vnifilter\_process+0x3bb/0x510
 rtnetlink\_rcv\_msg+0x2f7/0xb70
 netlink\_rcv\_skb+0x131/0x360
 netlink\_unicast+0x426/0x710
 netlink\_sendmsg+0x75a/0xc20
 \_\_sock\_sendmsg+0xc1/0x150
 \_\_\_\_sys\_sendmsg+0x5aa/0x7b0
 \_\_\_sys\_sendmsg+0xfc/0x180
 \_\_sys\_sendmsg+0x121/0x1b0
 do\_syscall\_64+0xbb/0x1d0
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

## Affected and fixed versions

- Linux: \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 2d4a121296aa3940d2df9906f955c2b6b4e38bc3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 470206205588559e60035fceb5f256640cb45f99; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 087a9eb9e5978e3ba362e1163691e41097e8ca20 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 087a9eb9e5978e3ba362e1163691e41097e8ca20 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-37921.md
Affected: Linux >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 2d4a121296aa3940d2df9906f955c2b6b4e38bc3; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0; >= f9c4bb0b245cee35ef66f75…
Fixed in: Linux 2d4a121296aa3940d2df9906f955c2b6b4e38bc3, Linux 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed, Linux 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0, Linux 470206205588559e60035fceb5f256640cb45f99, Linux 087a9eb9e5978e3ba362e1163691e41097e8ca20

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-2025-37921 being exploited?

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

### How serious is CVE-2025-37921?

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

### Which versions are affected by CVE-2025-37921?

Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 2d4a121296aa3940d2df9906f955c2b6b4e38bc3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 470206205588559e60035fceb5f256640cb45f99; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 087a9eb9e5978e3ba362e1163691e41097e8ca20; Linux 5.18.

### Is there a fix for CVE-2025-37921?

Yes. Fixed in Linux 2d4a121296aa3940d2df9906f955c2b6b4e38bc3, Linux 3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed, Linux 5cb9e07f84e527974b12e82e2549fa6c0cc6eef0, Linux 470206205588559e60035fceb5f256640cb45f99, Linux 087a9eb9e5978e3ba362e1163691e41097e8ca20. Upgrade Linux to 087a9eb9e5978e3ba362e1163691e41097e8ca20 or later.

### How do I check if I'm affected by CVE-2025-37921?

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

- patch: <https://git.kernel.org/stable/c/2d4a121296aa3940d2df9906f955c2b6b4e38bc3>
- patch: <https://git.kernel.org/stable/c/3576e9a80b6c4381b01ce0cbaa07f5e92d4492ed>
- patch: <https://git.kernel.org/stable/c/5cb9e07f84e527974b12e82e2549fa6c0cc6eef0>
- patch: <https://git.kernel.org/stable/c/470206205588559e60035fceb5f256640cb45f99>
- patch: <https://git.kernel.org/stable/c/087a9eb9e5978e3ba362e1163691e41097e8ca20>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## 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-2025-37921>

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