IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE IPv6: NLM_F_CREATE should be set when creating new route IPv6: NLM_F_CREATE should be set when creating new route ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7021 at drivers/net/netdevsim/fib.c:831 nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] WARNING: CPU: 0 PID: 7021 at drivers/net/netdevsim/fib.c:831 nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] WARNING: CPU: 0 PID: 7021 at drivers/net/netdevsim/fib.c:831 nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] WARNING: CPU: 0 PID: 7021 at drivers/net/netdevsim/fib.c:831 nsim_fib_event_nb+0xb68/0xdc8 drivers/net/netdevsim/fib.c:1043 Modules linked in: CPU: 0 UID: 0 PID: 7021 Comm: syz.4.157 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] pc : nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] pc : nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] pc : nsim_fib_event_nb+0xb68/0xdc8 drivers/net/netdevsim/fib.c:1043 lr : nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] lr : nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] lr : nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] lr : nsim_fib_event_nb+0xb68/0xdc8 drivers/net/netdevsim/fib.c:1043 sp : ffff8000a12f6e20 x29: ffff8000a12f6e50 x28: dfff800000000000 x27: ffff0000dd06e000 x26: ffff8000a12f7018 x25: dfff800000000000 x24: ffff0000f484ac00 x23: 0000000000000001 x22: ffff8000a12f7000 x21: 0000000000000001 x20: ffff0000c7833080 x19: 0000000000000000 x18: 1fffe00033771c88 x17: ffff80008f85e000 x16: ffff80008b065bd0 x15: 0000000000000001 x14: 1fffe0001e909585 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 00000000000024ba x9 : ffff8000a8788000 x8 : 00000000000024bb x7 : ffff800080231f74 x6 : ffff800080232170 x5 : 00000000ffffffff x4 : 0000000000000920 x3 : ffff8000865be880 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] (P) nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] (P) nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] (P) nsim_fib_event_nb+0xb68/0xdc8 drivers/net/netdevsim/fib.c:1043 (P) notifier_call_chain+0x1b8/0x4e4 kernel/notifier.c:85 atomic_notifier_call_chain+0xd0/0x180 kernel/notifier.c:223 call_fib_notifiers+0x44/0x74 net/core/fib_notifier.c:35 call_fib6_notifiers+0x50/0x80 net/ipv6/fib6_notifier.c:22 call_fib6_multipath_entry_notifiers+0xd8/0x140 net/ipv6/ip6_fib.c:425 ip6_route_multipath_add net/ipv6/route.c:5527 [inline] inet6_rtm_newroute+0x1044/0x14d4 net/ipv6/route.c:5649 rtnetlink_rcv_msg+0x664/0x97c net/core/rtnetlink.c:6946 netlink_rcv_skb+0x220/0x3fc net/netlink/af_netlink.c:2552 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6973 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x694/0x8c4 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x648/0x930 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0x490/0x7b8 net/socket.c:2614 ___sys_sendmsg+0x204/0x278 net/socket.c:2668 __sys_sendmsg net/socket.c:2700 [inline] __do_sys_sendmsg net/socket.c:2705 [inline] __se_sys_sendmsg net/socket.c:2703 [inline] __arm64_sys_sendmsg+0x184/0x238 net/socket.c:2703 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 288 hardirqs last enabled at (287): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (287): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (288): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (282): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (282): [] __ip6_ins_rt net/ipv6/route.c:1352 [inline] softirqs last enabled at (282): [] ip6_route_multipath_add net/ipv6/route.c:5483 [inline] softirqs last enabled at (282): [] inet6_rtm_newroute+0xaec/0x14d4 net/ipv6/route.c:5649 softirqs last disabled at (280): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (280): [] __ip6_ins_rt net/ipv6/route.c:1350 [inline] softirqs last disabled at (280): [] ip6_route_multipath_add net/ipv6/route.c:5483 [inline] softirqs last disabled at (280): [] inet6_rtm_newroute+0xac8/0x14d4 net/ipv6/route.c:5649 ---[ end trace 0000000000000000 ]---