# CVE-2025-21716: vxlan: Fix uninit-value in vxlan\_vnifilter\_dump()

> 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-02-27T02:07:26.779Z
- **Modified:** 2026-10-15T02:17:29.487Z

## Who should check

- Anyone running Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< cb1de9309a48cc5b771115781eec05075fd67039; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a84d511165d6ba7f331b90ae6b6ce180ec534daa; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< f554bce488605d2f70e06eeab5e4d2448c813713; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 1693d1fade71646a0731b6b213298cb443d186ea; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5066293b9b7046a906eff60e3949a887ae185a43
- Anyone running Linux 5.18

## Description

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

vxlan: Fix uninit-value in vxlan\_vnifilter\_dump()

KMSAN reported an uninit-value access in vxlan\_vnifilter\_dump() \[1\].

If the length of the netlink message payload is less than
sizeof(struct tunnel\_msg), vxlan\_vnifilter\_dump() accesses bytes
beyond the message. This can lead to uninit-value access. Fix this by
returning an error in such situations.

\[1\]
BUG: KMSAN: uninit-value in vxlan\_vnifilter\_dump+0x328/0x920 drivers/net/vxlan/vxlan\_vnifilter.c:422
 vxlan\_vnifilter\_dump+0x328/0x920 drivers/net/vxlan/vxlan\_vnifilter.c:422
 rtnl\_dumpit+0xd5/0x2f0 net/core/rtnetlink.c:6786
 netlink\_dump+0x93e/0x15f0 net/netlink/af\_netlink.c:2317
 \_\_netlink\_dump\_start+0x716/0xd60 net/netlink/af\_netlink.c:2432
 netlink\_dump\_start include/linux/netlink.h:340 \[inline\]
 rtnetlink\_dump\_start net/core/rtnetlink.c:6815 \[inline\]
 rtnetlink\_rcv\_msg+0x1256/0x14a0 net/core/rtnetlink.c:6882
 netlink\_rcv\_skb+0x467/0x660 net/netlink/af\_netlink.c:2542
 rtnetlink\_rcv+0x35/0x40 net/core/rtnetlink.c:6944
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1321 \[inline\]
 netlink\_unicast+0xed6/0x1290 net/netlink/af\_netlink.c:1347
 netlink\_sendmsg+0x1092/0x1230 net/netlink/af\_netlink.c:1891
 sock\_sendmsg\_nosec net/socket.c:711 \[inline\]
 \_\_sock\_sendmsg+0x330/0x3d0 net/socket.c:726
 \_\_\_\_sys\_sendmsg+0x7f4/0xb50 net/socket.c:2583
 \_\_\_sys\_sendmsg+0x271/0x3b0 net/socket.c:2637
 \_\_sys\_sendmsg net/socket.c:2669 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2674 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2672 \[inline\]
 \_\_x64\_sys\_sendmsg+0x211/0x3e0 net/socket.c:2672
 x64\_sys\_call+0x3878/0x3d90 arch/x86/include/generated/asm/syscalls\_64.h:47
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xd9/0x1d0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Uninit was created at:
 slab\_post\_alloc\_hook mm/slub.c:4110 \[inline\]
 slab\_alloc\_node mm/slub.c:4153 \[inline\]
 kmem\_cache\_alloc\_node\_noprof+0x800/0xe80 mm/slub.c:4205
 kmalloc\_reserve+0x13b/0x4b0 net/core/skbuff.c:587
 \_\_alloc\_skb+0x347/0x7d0 net/core/skbuff.c:678
 alloc\_skb include/linux/skbuff.h:1323 \[inline\]
 netlink\_alloc\_large\_skb+0xa5/0x280 net/netlink/af\_netlink.c:1196
 netlink\_sendmsg+0xac9/0x1230 net/netlink/af\_netlink.c:1866
 sock\_sendmsg\_nosec net/socket.c:711 \[inline\]
 \_\_sock\_sendmsg+0x330/0x3d0 net/socket.c:726
 \_\_\_\_sys\_sendmsg+0x7f4/0xb50 net/socket.c:2583
 \_\_\_sys\_sendmsg+0x271/0x3b0 net/socket.c:2637
 \_\_sys\_sendmsg net/socket.c:2669 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2674 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2672 \[inline\]
 \_\_x64\_sys\_sendmsg+0x211/0x3e0 net/socket.c:2672
 x64\_sys\_call+0x3878/0x3d90 arch/x86/include/generated/asm/syscalls\_64.h:47
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xd9/0x1d0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 30991 Comm: syz.4.10630 Not tainted 6.12.0-10694-gc44daa7e3c73 \#29
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-3.fc41 04/01/2014

## Affected and fixed versions

- Linux: \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< cb1de9309a48cc5b771115781eec05075fd67039; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a84d511165d6ba7f331b90ae6b6ce180ec534daa; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< f554bce488605d2f70e06eeab5e4d2448c813713; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 1693d1fade71646a0731b6b213298cb443d186ea; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5066293b9b7046a906eff60e3949a887ae185a43 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-21716.md
Affected: Linux >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < cb1de9309a48cc5b771115781eec05075fd67039; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < a84d511165d6ba7f331b90ae6b6ce180ec534daa; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < f554bce488605d2f70e06eeab5e4d2448c813713; >= f9c4bb0b245cee35ef66f75…
Fixed in: Linux 1693d1fade71646a0731b6b213298cb443d186ea, Linux 5066293b9b7046a906eff60e3949a887ae185a43

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

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

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

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

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

Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< cb1de9309a48cc5b771115781eec05075fd67039; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< a84d511165d6ba7f331b90ae6b6ce180ec534daa; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< f554bce488605d2f70e06eeab5e4d2448c813713; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 1693d1fade71646a0731b6b213298cb443d186ea; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5066293b9b7046a906eff60e3949a887ae185a43; Linux 5.18.

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

Yes. Fixed in Linux 1693d1fade71646a0731b6b213298cb443d186ea, Linux 5066293b9b7046a906eff60e3949a887ae185a43. Upgrade Linux to 5066293b9b7046a906eff60e3949a887ae185a43 or later.

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

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/cb1de9309a48cc5b771115781eec05075fd67039>
- patch: <https://git.kernel.org/stable/c/a84d511165d6ba7f331b90ae6b6ce180ec534daa>
- patch: <https://git.kernel.org/stable/c/f554bce488605d2f70e06eeab5e4d2448c813713>
- patch: <https://git.kernel.org/stable/c/1693d1fade71646a0731b6b213298cb443d186ea>
- patch: <https://git.kernel.org/stable/c/5066293b9b7046a906eff60e3949a887ae185a43>
- 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-21716>

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