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: 1 PID: 6825 at drivers/net/netdevsim/fib.c:831 nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] WARNING: CPU: 1 PID: 6825 at drivers/net/netdevsim/fib.c:831 nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] WARNING: CPU: 1 PID: 6825 at drivers/net/netdevsim/fib.c:831 nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] WARNING: CPU: 1 PID: 6825 at drivers/net/netdevsim/fib.c:831 nsim_fib_event_nb+0xb68/0xdc8 drivers/net/netdevsim/fib.c:1043 Modules linked in: CPU: 1 UID: 0 PID: 6825 Comm: syz.1.64 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #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 : ffff8000a6476e20 x29: ffff8000a6476e50 x28: dfff800000000000 x27: ffff0000f2835000 x26: ffff8000a6477018 x25: dfff800000000000 x24: 0000000000000002 x23: 0000000000000002 x22: ffff8000a6477000 x21: 0000000000000001 x20: ffff0000c27e5e80 x19: 0000000000000001 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe0001e69ef85 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000002ceb x9 : ffff8000a7889000 x8 : 0000000000002cec x7 : ffff8000802310a8 x6 : ffff8000802312a4 x5 : 00000000ffffffff x4 : 0000000000000920 x3 : ffff80008658fd4c x2 : 0000000000000001 x1 : 0000000000000002 x0 : 0000000000000001 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/0x2b8 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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 324 hardirqs last enabled at (323): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (323): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (324): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (314): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (314): [] __ip6_ins_rt net/ipv6/route.c:1352 [inline] softirqs last enabled at (314): [] ip6_route_multipath_add net/ipv6/route.c:5483 [inline] softirqs last enabled at (314): [] inet6_rtm_newroute+0xaec/0x14d4 net/ipv6/route.c:5649 softirqs last disabled at (312): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (312): [] __ip6_ins_rt net/ipv6/route.c:1350 [inline] softirqs last disabled at (312): [] ip6_route_multipath_add net/ipv6/route.c:5483 [inline] softirqs last disabled at (312): [] inet6_rtm_newroute+0xac8/0x14d4 net/ipv6/route.c:5649 ---[ end trace 0000000000000000 ]---