RBP: 00007fbdec295120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fbdec421f80 R15: 00007ffe2fc8f458 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: 421 Comm: syz-executor.0 Not tainted 5.4.278-syzkaller-04929-g8edc449e71a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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+0x24d4/0x6ae0 net/ipv4/nexthop.c:1518 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 20 e8 75 f0 d2 fd 48 8b 44 24 20 4c 89 30 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 4e f0 d2 fd 48 8b 44 24 20 49 89 06 RSP: 0018:ffff8881da94f0a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00 RBP: ffff8881da94f4b0 R08: ffffffff8246aec1 R09: fffffbfff0b2ee5f R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103b529e2c R13: 0000000000010001 R14: 0000000000000000 R15: 1ffff1103bc76704 FS: 00007fbdec2956c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdec294ff8 CR3: 00000001db37d000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtnetlink_rcv_msg+0x983/0xc70 net/core/rtnetlink.c:5290 netlink_rcv_skb+0x1d5/0x420 net/netlink/af_netlink.c:2481 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x936/0xb20 net/netlink/af_netlink.c:1347 netlink_sendmsg+0xa18/0xcf0 net/netlink/af_netlink.c:1915 sock_sendmsg_nosec net/socket.c:638 [inline] __sock_sendmsg net/socket.c:650 [inline] ____sys_sendmsg+0x5ac/0x8f0 net/socket.c:2306 ___sys_sendmsg net/socket.c:2360 [inline] __sys_sendmsg+0x28b/0x380 net/socket.c:2406 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fbdec30fb29 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbdec2950c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbdec421f80 RCX: 00007fbdec30fb29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007fbdec295120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fbdec421f80 R15: 00007ffe2fc8f458 Modules linked in: ---[ end trace b0c89cc63985878c ]--- 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+0x24d4/0x6ae0 net/ipv4/nexthop.c:1518 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 20 e8 75 f0 d2 fd 48 8b 44 24 20 4c 89 30 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 4e f0 d2 fd 48 8b 44 24 20 49 89 06 RSP: 0018:ffff8881da94f0a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00 RBP: ffff8881da94f4b0 R08: ffffffff8246aec1 R09: fffffbfff0b2ee5f R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103b529e2c R13: 0000000000010001 R14: 0000000000000000 R15: 1ffff1103bc76704 FS: 00007fbdec2956c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdec294ff8 CR3: 00000001db37d000 CR4: 00000000003406a0 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: 20 e8 and %ch,%al d: 75 f0 jne 0xffffffff f: d2 fd sar %cl,%ch 11: 48 8b 44 24 20 mov 0x20(%rsp),%rax 16: 4c 89 30 mov %r14,(%rax) 19: 4c 89 f0 mov %r14,%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: 4c 89 f7 mov %r14,%rdi 33: e8 4e f0 d2 fd call 0xfdd2f086 38: 48 8b 44 24 20 mov 0x20(%rsp),%rax 3d: 49 89 06 mov %rax,(%r14)