Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21716

MEDIUM 5.5EPSS 14%

vxlan: Fix uninit-value in vxlan_vnifilter_dump()

Mitigation

  • Upgrade Linux to 5066293b9b7046a906eff60e3949a887ae185a43 or later.

Who should check

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

Vulnerability facts

Affected
Linux >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < cb1de9309a48cc5b771115781eec05075fd67039; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < a84d511165d6ba7f331b90ae6b6ce180ec534daa; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < f554bce488605d2f70e06eeab5e4d2448c813713; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 1693d1fade71646a0731b6b213298cb443d186ea; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 5066293b9b7046a906eff60e3949a887ae185a43; Linux 5.18
Fixed in
Linux 1693d1fade71646a0731b6b213298cb443d186ea, Linux 5066293b9b7046a906eff60e3949a887ae185a43
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-908
Published
Modified

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

Package / productAffectedFixedSource
Linux>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < cb1de9309a48cc5b771115781eec05075fd67039; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < a84d511165d6ba7f331b90ae6b6ce180ec534daa; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < f554bce488605d2f70e06eeab5e4d2448c813713; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 1693d1fade71646a0731b6b213298cb443d186ea; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 5066293b9b7046a906eff60e3949a887ae185a43—cvelist
Linux5.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors