kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8863 Comm: syz-executor.5 Not tainted 5.4.190-syzkaller-00044-g77dc925ddffb #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:1319 [inline] RIP: 0010:rtm_new_nexthop+0x2206/0x6480 net/ipv4/nexthop.c:1518 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 08 e8 a3 39 f5 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 7c 39 f5 fd 48 8b 44 24 08 48 89 03 RSP: 0018:ffff8881e9f176a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90000144000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e9f178a0 R08: ffffffff82327704 R09: fffffbfff0b2c38b R10: fffffbfff0b2c38b R11: 1ffffffff0b2c38a R12: ffff8881f19f3000 R13: 0000000000000014 R14: 0000000000000011 R15: 0000000000010001 FS: 00007efc58c4b700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a1dd4d718 CR3: 00000001e50ea000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnetlink_rcv_msg+0x8c6/0xb90 net/core/rtnetlink.c:5262 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2500 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x771/0x8d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x913/0xb90 net/netlink/af_netlink.c:1933 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/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7efc59ad5109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc58c4b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007efc59be7f60 RCX: 00007efc59ad5109 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007efc58c4b1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff88e2345f R14: 00007efc58c4b300 R15: 0000000000022000 Modules linked in: ---[ end trace 79e3f3907bb2cf66 ]--- RIP: 0010:nexthop_create_group net/ipv4/nexthop.c:1134 [inline] RIP: 0010:nexthop_add net/ipv4/nexthop.c:1319 [inline] RIP: 0010:rtm_new_nexthop+0x2206/0x6480 net/ipv4/nexthop.c:1518 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 08 e8 a3 39 f5 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 7c 39 f5 fd 48 8b 44 24 08 48 89 03 RSP: 0018:ffff8881e9f176a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90000144000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e9f178a0 R08: ffffffff82327704 R09: fffffbfff0b2c38b R10: fffffbfff0b2c38b R11: 1ffffffff0b2c38a R12: ffff8881f19f3000 R13: 0000000000000014 R14: 0000000000000011 R15: 0000000000010001 FS: 00007efc58c4b700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1e0fd9058 CR3: 00000001e50ea000 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: a3 39 f5 fd 48 8b 44 movabs %eax,0x824448b48fdf539 14: 24 08 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 7c 39 f5 fd callq 0xfdf539b4 38: 48 8b 44 24 08 mov 0x8(%rsp),%rax 3d: 48 89 03 mov %rax,(%rbx)