CVE-2025-21858
published high CVSS 3.1 · 7.8geneve: Fix use-after-free in geneve_find_dev().
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < d5e86e27de0936f3cb0a299ce519d993e9cf3886 · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 5a0538ac6826807d6919f6aecbb8996c2865af2c · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < f74f6560146714241c6e167b03165ee77a86e316 · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 904e746b2e7fa952ab8801b303ce826a63153d78 · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 3ce92ca990cfac88a87c61df3cc0b5880e688ecf · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < da9b0ae47f084014b1e4b3f31f70a0defd047ff3 · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 788dbca056a8783ec063da3c9d49a3a71c76c283 · 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 9593172d93b9f91c362baec4643003dc29802929 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.2 (affected) · 0 to < 4.2 (unaffected · semver) · 5.4.291 through 5.4.* (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.130 through 6.1.* (unaffected · semver) · 6.6.80 through 6.6.* (unaffected · semver) · 6.12.17 through 6.12.* (unaffected · semver) · 6.13.5 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2843 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-088 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| Debian | bookworm | linux | Advisory build | 6.1.133-1 | DSA-5900-1 |
Show 105 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-097 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2025-231 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2025-232 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2025-233 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-901 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| Debian | bullseye | linux | Advisory build | 5.10.237-1 | DLA-4178-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: geneve: Fix use-after-free in geneve_find_dev(). syzkaller reported a use-after-free in geneve_find_dev() [0] without repro. geneve_configure() links struct geneve_dev.next to net_generic(net, geneve_net_id)->geneve_list. The net here could differ from dev_net(dev) if IFLA_NET_NS_PID, IFLA_NET_NS_FD, or IFLA_TARGET_NETNSID is set. When dev_net(dev) is dismantled, geneve_exit_batch_rtnl() finally calls unregister_netdevice_queue() for each dev in the netns, and later the dev is freed. However, its geneve_dev.next is still linked to the backend UDP socket netns. Then, use-after-free will occur when another geneve dev is created in the netns. Let's call geneve_dellink() instead in geneve_destroy_tunnels(). [0]: BUG: KASAN: slab-use-after-free in geneve_find_dev drivers/net/geneve.c:1295 [inline] BUG: KASAN: slab-use-after-free in geneve_configure+0x234/0x858 drivers/net/geneve.c:1343 Read of size 2 at addr ffff000054d6ee24 by task syz.1.4029/13441 CPU: 1 UID: 0 PID: 13441 Comm: syz.1.4029 Not tainted 6.13.0-g0ad9617c78ac #24 dc35ca22c79fb82e8e7bc5c9c9adafea898b1e3d Hardware name: linux,dummy-virt (DT) Call trace: show_stack+0x38/0x50 arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xbc/0x108 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x16c/0x6f0 mm/kasan/report.c:489 kasan_report+0xc0/0x120 mm/kasan/report.c:602 __asan_report_load2_noabort+0x20/0x30 mm/kasan/report_generic.c:379 geneve_find_dev drivers/net/geneve.c:1295 [inline] geneve_configure+0x234/0x858 drivers/net/geneve.c:1343 geneve_newlink+0xb8/0x128 drivers/net/geneve.c:1634 rtnl_newlink_create+0x23c/0x868 net/core/rtnetlink.c:3795 __rtnl_newlink net/core/rtnetlink.c:3906 [inline] rtnl_newlink+0x1054/0x1630 net/core/rtnetlink.c:4021 rtnetlink_rcv_msg+0x61c/0x918 net/core/rtnetlink.c:6911 netlink_rcv_skb+0x1dc/0x398 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x34/0x50 net/core/rtnetlink.c:6938 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x618/0x838 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x5fc/0x8b0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:713 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x410/0x6f8 net/socket.c:2568 ___sys_sendmsg+0x178/0x1d8 net/socket.c:2622 __sys_sendmsg net/socket.c:2654 [inline] __do_sys_sendmsg net/socket.c:2659 [inline] __se_sys_sendmsg net/socket.c:2657 [inline] __arm64_sys_sendmsg+0x12c/0x1c8 net/socket.c:2657 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x90/0x278 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x13c/0x250 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x54/0x70 arch/arm64/kernel/syscall.c:151 el0_svc+0x4c/0xa8 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x1a0 arch/arm64/kernel/entry.S:600 Allocated by task 13247: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x30/0x68 mm/kasan/common.c:68 kasan_save_alloc_info+0x44/0x58 mm/kasan/generic.c:568 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x84/0xa0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4298 [inline] __kmalloc_node_noprof+0x2a0/0x560 mm/slub.c:4304 __kvmalloc_node_noprof+0x9c/0x230 mm/util.c:645 alloc_netdev_mqs+0xb8/0x11a0 net/core/dev.c:11470 rtnl_create_link+0x2b8/0xb50 net/core/rtnetlink.c:3604 rtnl_newlink_create+0x19c/0x868 net/core/rtnetlink.c:3780 __rtnl_newlink net/core/rtnetlink.c:3906 [inline] rtnl_newlink+0x1054/0x1630 net/core/rtnetlink.c:4021 rtnetlink_rcv_msg+0x61c/0x918 net/core/rtnetlink.c:6911 netlink_rcv_skb+0x1dc/0x398 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x34/0x50 net/core/rtnetlink.c:6938 netlink_unicast_kernel net/netlink/af_n ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through RTM_NEWLINK rtnetlink messages sent on an AF_NETLINK socket, requiring local system access. The geneve_list is used solely by the control plane (geneve_configure/geneve_dellink), never by the packet receive path, so no remote packet can trigger it. AC:L - The attacker deterministically creates both network namespaces, creates the geneve device cross-netns, destroys the device-owning netns, then creates a second geneve device to dereference the stale list entry — no race must be won and the dangling pointer persists indefinitely, allowing unhurried heap grooming of the freed 4096-byte slab object. PR:L - CAP_NET_ADMIN is required in the owning user namespaces of both netns, but an unprivileged user obtains exactly that with `unshare -Urn` plus a nested `unshare -n`, since both namespaces are owned by their own user_ns and the checks are ns_capable-based. The geneve module is autoloaded on demand from the same unprivileged rtnl_newlink path. UI:N - The full sequence is performed by the attacker's own processes via netlink and namespace file descriptors, with no action by any other user. S:U - The use-after-free corrupts kernel heap state and is exploited for kernel privilege escalation within the same security authority; no hypervisor, IOMMU, or other authority boundary is crossed. C:H - The stale list entry points into a freed kmalloc-cg-4k object the attacker can reallocate and fill, so the list traversal in geneve_find_dev() follows an attacker-controlled `next` pointer and reads arbitrary kernel addresses, with the -EBUSY/-EPERM/success result acting as a disclosure oracle. I:H - Later list_del()/list_add() operations on the corrupted geneve_list write through attacker-controlled prev/next pointers, yielding a classic unlink write-what-where primitive suitable for control-flow hijacking and privilege escalation. A:H - The bug is a confirmed slab use-after-free (KASAN slab-use-after-free reported by syzkaller) that reliably corrupts a kernel linked list, causing oops or panic even without successful exploitation.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < d5e86e27de0936f3cb0a299ce519d993e9cf3886 (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 5a0538ac6826807d6919f6aecbb8996c2865af2c (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < f74f6560146714241c6e167b03165ee77a86e316 (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 904e746b2e7fa952ab8801b303ce826a63153d78 (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 3ce92ca990cfac88a87c61df3cc0b5880e688ecf (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < da9b0ae47f084014b1e4b3f31f70a0defd047ff3 (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 788dbca056a8783ec063da3c9d49a3a71c76c283 (affected · git)2d07dc79fe04a43d82a346ced6bbf07bdb523f1b to < 9593172d93b9f91c362baec4643003dc29802929 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.2 (affected)0 to < 4.2 (unaffected · semver)5.4.291 through 5.4.* (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.130 through 6.1.* (unaffected · semver)6.6.80 through 6.6.* (unaffected · semver)6.12.17 through 6.12.* (unaffected · semver)6.13.5 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
12- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
- https://git.kernel.org/stable/c/3ce92ca990cfac88a87c61df3cc0b5880e688ecf
- https://git.kernel.org/stable/c/5a0538ac6826807d6919f6aecbb8996c2865af2c
- https://git.kernel.org/stable/c/788dbca056a8783ec063da3c9d49a3a71c76c283
- https://git.kernel.org/stable/c/904e746b2e7fa952ab8801b303ce826a63153d78
- https://git.kernel.org/stable/c/9593172d93b9f91c362baec4643003dc29802929
- https://git.kernel.org/stable/c/d5e86e27de0936f3cb0a299ce519d993e9cf3886
- https://git.kernel.org/stable/c/da9b0ae47f084014b1e4b3f31f70a0defd047ff3
- https://git.kernel.org/stable/c/f74f6560146714241c6e167b03165ee77a86e316
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
4Linux · cna
geneve: Fix use-after-free in geneve_find_dev().
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c50f0e4b42772f440635a3cd15eadeaaa3cf826111955dfe8395b9ce655d9b33
- Ingested
- 15 Oct 2026, 13:12:09 UTC
- Source record
- Official CVE record