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: drivers/net/netdevsim/fib.c:831 at nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline], CPU#1: syz.2.5107/26777 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline], CPU#1: syz.2.5107/26777 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline], CPU#1: syz.2.5107/26777 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_nb+0xb73/0xec0 drivers/net/netdevsim/fib.c:1043, CPU#1: syz.2.5107/26777 Modules linked in: CPU: 1 UID: 0 PID: 26777 Comm: syz.2.5107 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] RIP: 0010:nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] RIP: 0010:nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] RIP: 0010:nsim_fib_event_nb+0xb73/0xec0 drivers/net/netdevsim/fib.c:1043 Code: 20 48 8b 5c 24 28 e8 ac d3 be fa e8 a7 d3 be fa 44 89 ee 44 89 ff e8 7c cd be fa 45 39 ef 0f 84 dd fd ff ff e8 8e d3 be fa 90 <0f> 0b 90 e9 cf fd ff ff e8 80 d3 be fa 49 8d 7c 24 38 be 01 00 00 RSP: 0018:ffffc90003cbf030 EFLAGS: 00010287 RAX: 000000000000270c RBX: 0000000000000001 RCX: ffffc900280d2000 RDX: 0000000000080000 RSI: ffffffff87001032 RDI: ffff88805567fc18 RBP: ffffc90003cbf180 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: ffff888038dc2ff0 R12: ffff88803a897000 R13: 0000000000000002 R14: ffff8881022e7000 R15: ffff88805567fc00 FS: 00007f8d6698c6c0(0000) GS:ffff8880d69fa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d65b73460 CR3: 00000000381f6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0xbc/0x3e0 kernel/notifier.c:85 atomic_notifier_call_chain+0x71/0x1c0 kernel/notifier.c:223 call_fib_notifiers+0x33/0x70 net/core/fib_notifier.c:35 call_fib6_multipath_entry_notifiers+0x112/0x170 net/ipv6/ip6_fib.c:425 ip6_route_multipath_add+0xb4f/0x1c30 net/ipv6/route.c:5525 inet6_rtm_newroute+0xe4/0x1a0 net/ipv6/route.c:5647 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa5d/0xc30 net/socket.c:2592 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2646 __sys_sendmmsg+0x200/0x420 net/socket.c:2735 __do_sys_sendmmsg net/socket.c:2762 [inline] __se_sys_sendmmsg net/socket.c:2759 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2759 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8d65b8f7c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8d6698c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f8d65de6090 RCX: 00007f8d65b8f7c9 RDX: 040000000000009f RSI: 00002000000002c0 RDI: 0000000000000003 RBP: 00007f8d65c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8d65de6128 R14: 00007f8d65de6090 R15: 00007ffcfdb90848