RSP: 002b:00007ffebf8032f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fe6cf120829
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 00007ffebf803310 R08: 0000000000000001 R09: 00007fe6cf195dc0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007ffebf803340 R14: 0000000000000003 R15: 0000000000000000
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: 300 Comm: syz-executor863 Not tainted 5.4.197-syzkaller-00005-g704c7d053806 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
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 c3 1d 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 9c 1d f5 fd 48 8b 44 24 08 48 89 03
RSP: 0018:ffff8881de8ff6a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00
RBP: ffff8881de8ff8a0 R08: ffffffff823290ad R09: ffffed103bd1fec2
R10: ffffed103bd1fec2 R11: 1ffff1103bd1fec1 R12: ffff8881de35a600
R13: 0000000000000002 R14: 0000000000000001 R15: 0000000000010001
FS: 000055555589a300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffebf801f98 CR3: 00000001e10f6000 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:2499
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:0x7fe6cf120829
Code: 46 01 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffebf8032f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fe6cf120829
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 00007ffebf803310 R08: 0000000000000001 R09: 00007fe6cf195dc0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007ffebf803340 R14: 0000000000000003 R15: 0000000000000000
Modules linked in:
---[ end trace 76f53ed6f4ca5268 ]---
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 c3 1d 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 9c 1d f5 fd 48 8b 44 24 08 48 89 03
RSP: 0018:ffff8881de8ff6a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00
RBP: ffff8881de8ff8a0 R08: ffffffff823290ad R09: ffffed103bd1fec2
R10: ffffed103bd1fec2 R11: 1ffff1103bd1fec1 R12: ffff8881de35a600
R13: 0000000000000002 R14: 0000000000000001 R15: 0000000000010001
FS: 000055555589a300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffebf801f98 CR3: 00000001e10f6000 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: c3 retq
e: 1d f5 fd 48 8b sbb $0x8b48fdf5,%eax
13: 44 24 08 rex.R and $0x8,%al
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 9c 1d f5 fd callq 0xfdf51dd4
38: 48 8b 44 24 08 mov 0x8(%rsp),%rax
3d: 48 89 03 mov %rax,(%rbx)