# CVE-2025-21790: vxlan: check vxlan\_vnigroup\_init() return value

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-27T02:18:28.375Z
- **Modified:** 2026-10-15T02:17:35.623Z

## Who should check

- Anyone running Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a303649b99b64858d62ce7428125d8e71675d2b6; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< e860f847787fbbf0d8dacd638c019c7c3d4a9bd3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3215f5aafc49aaa993991633833854694e73b439; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5805402dcc56241987bca674a1b4da79a249bab7
- Anyone running Linux 5.18

## Description

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

vxlan: check vxlan\_vnigroup\_init() return value

vxlan\_init() must check vxlan\_vnigroup\_init() success
otherwise a crash happens later, spotted by syzbot.

Oops: general protection fault, probably for non-canonical address 0xdffffc000000002c: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range \[0x0000000000000160-0x0000000000000167\]
CPU: 0 UID: 0 PID: 7313 Comm: syz-executor147 Not tainted 6.14.0-rc1-syzkaller-00276-g69b54314c975 \#0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
 RIP: 0010:vxlan\_vnigroup\_uninit+0x89/0x500 drivers/net/vxlan/vxlan\_vnifilter.c:912
Code: 00 48 8b 44 24 08 4c 8b b0 98 41 00 00 49 8d 86 60 01 00 00 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 \<80\> 3c 02 00 0f 85 4d 04 00 00 49 8b 86 60 01 00 00 48 ba 00 00 00
RSP: 0018:ffffc9000cc1eea8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff8672effb
RDX: 000000000000002c RSI: ffffffff8672ecb9 RDI: ffff8880461b4f18
RBP: ffff8880461b4ef4 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000020000
R13: ffff8880461b0d80 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fecfa95d6c0(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fecfa95cfb8 CR3: 000000004472c000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  vxlan\_uninit+0x1ab/0x200 drivers/net/vxlan/vxlan\_core.c:2942
  unregister\_netdevice\_many\_notify+0x12d6/0x1f30 net/core/dev.c:11824
  unregister\_netdevice\_many net/core/dev.c:11866 \[inline\]
  unregister\_netdevice\_queue+0x307/0x3f0 net/core/dev.c:11736
  register\_netdevice+0x1829/0x1eb0 net/core/dev.c:10901
  \_\_vxlan\_dev\_create+0x7c6/0xa30 drivers/net/vxlan/vxlan\_core.c:3981
  vxlan\_newlink+0xd1/0x130 drivers/net/vxlan/vxlan\_core.c:4407
  rtnl\_newlink\_create net/core/rtnetlink.c:3795 \[inline\]
  \_\_rtnl\_newlink net/core/rtnetlink.c:3906 \[inline\]

## Affected and fixed versions

- Linux: \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a303649b99b64858d62ce7428125d8e71675d2b6; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< e860f847787fbbf0d8dacd638c019c7c3d4a9bd3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3215f5aafc49aaa993991633833854694e73b439; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5805402dcc56241987bca674a1b4da79a249bab7 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 5805402dcc56241987bca674a1b4da79a249bab7 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-21790. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21790.md
Affected: Linux >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < a303649b99b64858d62ce7428125d8e71675d2b6; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < e860f847787fbbf0d8dacd638c019c7c3d4a9bd3; >= f9c4bb0b245cee35ef66f75…
Fixed in: Linux 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f, Linux 3215f5aafc49aaa993991633833854694e73b439, Linux 5805402dcc56241987bca674a1b4da79a249bab7

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-21790 being exploited?

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

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

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

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

Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a303649b99b64858d62ce7428125d8e71675d2b6; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< e860f847787fbbf0d8dacd638c019c7c3d4a9bd3; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 3215f5aafc49aaa993991633833854694e73b439; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5805402dcc56241987bca674a1b4da79a249bab7; Linux 5.18.

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

Yes. Fixed in Linux 79aea5e55156c87dc570e43fcd8bba01b9d6ab3f, Linux 3215f5aafc49aaa993991633833854694e73b439, Linux 5805402dcc56241987bca674a1b4da79a249bab7. Upgrade Linux to 5805402dcc56241987bca674a1b4da79a249bab7 or later.

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

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/79aea5e55156c87dc570e43fcd8bba01b9d6ab3f>
- patch: <https://git.kernel.org/stable/c/a303649b99b64858d62ce7428125d8e71675d2b6>
- patch: <https://git.kernel.org/stable/c/e860f847787fbbf0d8dacd638c019c7c3d4a9bd3>
- patch: <https://git.kernel.org/stable/c/3215f5aafc49aaa993991633833854694e73b439>
- patch: <https://git.kernel.org/stable/c/5805402dcc56241987bca674a1b4da79a249bab7>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-21790>

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