RBP: 00007f57fdbd5120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f57fdd61f80 R15: 00007ffcae2fb078 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: 0 PID: 417 Comm: syz-executor.0 Not tainted 5.4.290-syzkaller-05053-g41adfeb3d639 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:nexthop_create_group net/ipv4/nexthop.c:1135 [inline] RIP: 0010:nexthop_add net/ipv4/nexthop.c:1320 [inline] RIP: 0010:rtm_new_nexthop+0x24d4/0x6ae0 net/ipv4/nexthop.c:1519 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 20 e8 c5 6e d1 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 9e 6e d1 fd 48 8b 44 24 20 49 89 06 RSP: 0018:ffff8881eb7170a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00 RBP: ffff8881eb7174b0 R08: ffffffff824717d8 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d6e2e2c R13: 0000000000010001 R14: 0000000000000000 R15: 1ffff1103de41944 FS: 00007f57fdbd56c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57fdbd4ff8 CR3: 00000001eb814000 CR4: 00000000003406b0 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:2467 netlink_unicast_kernel net/netlink/af_netlink.c:1306 [inline] netlink_unicast+0x936/0xb20 net/netlink/af_netlink.c:1332 netlink_sendmsg+0xa18/0xcf0 net/netlink/af_netlink.c:1900 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:0x7f57fdc4fb29 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:00007f57fdbd50c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f57fdd61f80 RCX: 00007f57fdc4fb29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007f57fdbd5120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f57fdd61f80 R15: 00007ffcae2fb078 Modules linked in: ---[ end trace 3146e507d7ca4d71 ]--- RIP: 0010:nexthop_create_group net/ipv4/nexthop.c:1135 [inline] RIP: 0010:nexthop_add net/ipv4/nexthop.c:1320 [inline] RIP: 0010:rtm_new_nexthop+0x24d4/0x6ae0 net/ipv4/nexthop.c:1519 Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 20 e8 c5 6e d1 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 9e 6e d1 fd 48 8b 44 24 20 49 89 06 RSP: 0018:ffff8881eb7170a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00 RBP: ffff8881eb7174b0 R08: ffffffff824717d8 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff1103d6e2e2c R13: 0000000000010001 R14: 0000000000000000 R15: 1ffff1103de41944 FS: 00007f57fdbd56c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57fdbd4ff8 CR3: 00000001eb814000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 4: 74 0a je 0x10 6: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi b: e8 c5 6e d1 fd call 0xfdd16ed5 10: 48 8b 44 24 20 mov 0x20(%rsp),%rax 15: 4c 89 30 mov %r14,(%rax) 18: 4c 89 f0 mov %r14,%rax 1b: 48 c1 e8 03 shr $0x3,%rax 1f: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 26: fc ff df * 29: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2d: 74 08 je 0x37 2f: 4c 89 f7 mov %r14,%rdi 32: e8 9e 6e d1 fd call 0xfdd16ed5 37: 48 8b 44 24 20 mov 0x20(%rsp),%rax 3c: 49 89 06 mov %rax,(%r14)