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: 7172 at drivers/net/netdevsim/fib.c:831 nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] WARNING: CPU: 0 PID: 7172 at drivers/net/netdevsim/fib.c:831 nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] WARNING: CPU: 0 PID: 7172 at drivers/net/netdevsim/fib.c:831 nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] WARNING: CPU: 0 PID: 7172 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: 7172 Comm: syz.2.137 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 : ffff80009c606e20 x29: ffff80009c606e50 x28: dfff800000000000 x27: ffff0000db4fe000 x26: ffff80009c607018 x25: dfff800000000000 x24: ffff0000dc74ac00 x23: 0000000000000001 x22: ffff80009c607000 x21: 0000000000000001 x20: ffff0000c7a76c80 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093499000 x16: ffff800082e6f300 x15: 0000000000000001 x14: 1fffe0001b8e9585 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000002608 x9 : ffff8000a6020000 x8 : 0000000000002609 x7 : ffff80008022e33c x6 : ffff80008022e538 x5 : 00000000ffffffff x4 : 0000000000000920 x3 : ffff800086356598 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:5525 [inline] inet6_rtm_newroute+0x1044/0x14d4 net/ipv6/route.c:5647 rtnetlink_rcv_msg+0x664/0x97c net/core/rtnetlink.c:6954 netlink_rcv_skb+0x220/0x3fc net/netlink/af_netlink.c:2552 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6981 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:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0x490/0x7b8 net/socket.c:2630 ___sys_sendmsg+0x204/0x278 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __arm64_sys_sendmsg+0x184/0x238 net/socket.c:2719 __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:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 330 hardirqs last enabled at (329): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (329): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (330): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (324): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (324): [] __ip6_ins_rt net/ipv6/route.c:1352 [inline] softirqs last enabled at (324): [] ip6_route_multipath_add net/ipv6/route.c:5481 [inline] softirqs last enabled at (324): [] inet6_rtm_newroute+0xaec/0x14d4 net/ipv6/route.c:5647 softirqs last disabled at (322): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (322): [] __ip6_ins_rt net/ipv6/route.c:1350 [inline] softirqs last disabled at (322): [] ip6_route_multipath_add net/ipv6/route.c:5481 [inline] softirqs last disabled at (322): [] inet6_rtm_newroute+0xac8/0x14d4 net/ipv6/route.c:5647 ---[ end trace 0000000000000000 ]---