IPv6: NLM_F_CREATE should be set when creating new route IPv6: NLM_F_CREATE should be set when creating new route ------------[ cut here ]------------ i != fen6_info->nsiblings WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline], CPU#2: syz.1.913/9285 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline], CPU#2: syz.1.913/9285 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline], CPU#2: syz.1.913/9285 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_nb+0xbc1/0xe40 drivers/net/netdevsim/fib.c:1043, CPU#2: syz.1.913/9285 Modules linked in: CPU: 2 UID: 0 PID: 9285 Comm: syz.1.913 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 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+0xbc1/0xe40 drivers/net/netdevsim/fib.c:1043 Code: 20 48 8b 6c 24 28 e8 4e 29 df fa e8 49 29 df fa 44 89 fe 44 89 ef e8 2e 23 df fa 45 39 fd 0f 84 6a fd ff ff e8 30 29 df fa 90 <0f> 0b 90 e9 5c fd ff ff e8 22 29 df fa 48 c7 c7 c0 ad 5b 8c e8 c6 RSP: 0018:ffffc900068df010 EFLAGS: 00010283 RAX: 0000000000002368 RBX: ffffc900068df150 RCX: ffffc9000c001000 RDX: 0000000000080000 RSI: ffffffff87272150 RDI: ffff888029028018 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: ffff888026337000 R13: 0000000000000002 R14: ffff88802847a580 R15: ffff888029028000 FS: 0000000000000000(0000) GS:ffff8880975e3000(0063) knlGS:00000000f5426b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000ff8ff034 CR3: 0000000076a97000 CR4: 0000000000352ef0 Call Trace: notifier_call_chain+0x99/0x3b0 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+0x128f/0x1ba0 net/ipv6/route.c:5536 inet6_rtm_newroute+0xf5/0x160 net/ipv6/route.c:5658 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x159/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+0x8b0/0xda0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa54/0xc30 net/socket.c:2592 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2646 __sys_sendmmsg+0x2ff/0x430 net/socket.c:2728 __compat_sys_sendmmsg net/compat.c:360 [inline] __do_compat_sys_sendmmsg net/compat.c:367 [inline] __se_compat_sys_sendmmsg net/compat.c:364 [inline] __ia32_compat_sys_sendmmsg+0x9d/0x100 net/compat.c:364 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xde/0x660 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73fd579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 RSP: 002b:00000000f542650c EFLAGS: 00000292 ORIG_RAX: 0000000000000159 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000800002c0 RDX: 000000000000009f RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 37: 00 38: 8d .byte 0x8d 39: b4 26 mov $0x26,%ah 3b: 00 00 add %al,(%rax)