R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff7b6755ef R14: 00007fbbce864300 R15: 0000000000022000 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2299 Comm: syz-executor.5 Not tainted 5.4.147-syzkaller-00003-gb9c4f1b9b54a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nexthop_create_group net/ipv4/nexthop.c:1134 [inline] RIP: 0010:nexthop_add net/ipv4/nexthop.c:1313 [inline] RIP: 0010:rtm_new_nexthop+0x23d6/0x66c0 net/ipv4/nexthop.c:1512 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 08 e8 53 a8 ef fd 48 8b 44 24 08 48 89 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 2c a8 ef fd 48 8b 44 24 08 48 89 03 RSP: 0018:ffff8881e93ff6a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000af9b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e93ff8a0 R08: ffffffff8234ce45 R09: fffffbfff0bac77f R10: fffffbfff0bac77f R11: 0000000000000000 R12: ffff8881e93ffb08 R13: 000000000000000d R14: 000000000000000a R15: 0000000000010001 FS: 00007fbbce864700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc03ba6c28 CR3: 000000019cad0000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnetlink_rcv_msg+0xa3d/0xbb0 net/core/rtnetlink.c:5260 netlink_rcv_skb+0x1a0/0x3b0 net/netlink/af_netlink.c:2480 netlink_unicast_kernel net/netlink/af_netlink.c:1305 [inline] netlink_unicast+0x7ae/0x910 net/netlink/af_netlink.c:1331 netlink_sendmsg+0x917/0xbd0 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x4ee/0x7c0 net/socket.c:2287 ___sys_sendmsg net/socket.c:2341 [inline] __sys_sendmsg+0x235/0x2f0 net/socket.c:2387 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fbbd0aedae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbbce864188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbbd0c00f60 RCX: 00007fbbd0aedae9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000003 RBP: 00007fbbce8641d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff7b6755ef R14: 00007fbbce864300 R15: 0000000000022000 Modules linked in: ---[ end trace 7abc4ae1327a18f3 ]--- RIP: 0010:nexthop_create_group net/ipv4/nexthop.c:1134 [inline] RIP: 0010:nexthop_add net/ipv4/nexthop.c:1313 [inline] RIP: 0010:rtm_new_nexthop+0x23d6/0x66c0 net/ipv4/nexthop.c:1512 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 08 e8 53 a8 ef fd 48 8b 44 24 08 48 89 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 2c a8 ef fd 48 8b 44 24 08 48 89 03 RSP: 0018:ffff8881e93ff6a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000af9b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e93ff8a0 R08: ffffffff8234ce45 R09: fffffbfff0bac77f R10: fffffbfff0bac77f R11: 0000000000000000 R12: ffff8881e93ffb08 R13: 000000000000000d R14: 000000000000000a R15: 0000000000010001 FS: 00007fbbce864700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc03ba6c28 CR3: 000000019cad0000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 80 3c 01 00 74 add %al,0x7400013c(%rax) 6: 0a 48 8b or -0x75(%rax),%cl 9: 7c 24 jl 0x2f b: 08 e8 or %ch,%al d: 53 push %rbx e: a8 ef test $0xef,%al 10: fd std 11: 48 8b 44 24 08 mov 0x8(%rsp),%rax 16: 48 89 18 mov %rbx,(%rax) 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 2c a8 ef fd callq 0xfdefa864 38: 48 8b 44 24 08 mov 0x8(%rsp),%rax 3d: 48 89 03 mov %rax,(%rbx)