RBP: 00007f2f981e0090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f2f99d9efa0 R15: 00007fffc3fd0948
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: 4286 Comm: syz.9.1046 Tainted: G        W         5.4.292-syzkaller-00021-gcd8e74fa0fa3 #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+0x129d/0x4b90 net/ipv4/nexthop.c:1519
Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 18 e8 0c f4 ef fd 48 8b 44 24 18 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 e5 f3 ef fd 48 8b 44 24 18 48 89 03
RSP: 0018:ffff8881c3e4f100 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00
RBP: ffff8881c3e4f4f0 R08: dffffc0000000000 R09: fffffbfff0baeb67
R10: fffffbfff0baeb67 R11: 1ffffffff0baeb66 R12: ffff8881c3e4f880
R13: 0000000000010001 R14: ffff8881d5185500 R15: dffffc0000000000
FS:  00007f2f981e06c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3c331daed8 CR3: 00000001d0389000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rtnetlink_rcv_msg+0xa23/0xbe0 net/core/rtnetlink.c:5290
 netlink_rcv_skb+0x1e6/0x430 net/netlink/af_netlink.c:2467
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5308
 netlink_unicast_kernel net/netlink/af_netlink.c:1306 [inline]
 netlink_unicast+0x88b/0xa40 net/netlink/af_netlink.c:1332
 netlink_sendmsg+0x88d/0xb30 net/netlink/af_netlink.c:1900
 sock_sendmsg_nosec net/socket.c:638 [inline]
 __sock_sendmsg net/socket.c:650 [inline]
 ____sys_sendmsg+0x57b/0x8d0 net/socket.c:2306
 ___sys_sendmsg net/socket.c:2360 [inline]
 __sys_sendmsg+0x28e/0x360 net/socket.c:2406
 __do_sys_sendmsg net/socket.c:2415 [inline]
 __se_sys_sendmsg net/socket.c:2413 [inline]
 __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2413
 do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f2f99b77969
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2f981e0038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2f99d9efa0 RCX: 00007f2f99b77969
RDX: 0000000000004000 RSI: 00002000000001c0 RDI: 0000000000000003
RBP: 00007f2f981e0090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f2f99d9efa0 R15: 00007fffc3fd0948
Modules linked in:
---[ end trace 5519d539bcc723f4 ]---
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+0x129d/0x4b90 net/ipv4/nexthop.c:1519
Code: 00 80 3c 01 00 74 0a 48 8b 7c 24 18 e8 0c f4 ef fd 48 8b 44 24 18 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 e5 f3 ef fd 48 8b 44 24 18 48 89 03
RSP: 0018:ffff8881c3e4f100 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881f5c02a00
RBP: ffff8881c3e4f4f0 R08: dffffc0000000000 R09: fffffbfff0baeb67
R10: fffffbfff0baeb67 R11: 1ffffffff0baeb66 R12: ffff8881c3e4f880
R13: 0000000000010001 R14: ffff8881d5185500 R15: dffffc0000000000
FS:  00007f2f981e06c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff94a166da0 CR3: 00000001d0389000 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:	18 e8                	sbb    %ch,%al
   d:	0c f4                	or     $0xf4,%al
   f:	ef                   	out    %eax,(%dx)
  10:	fd                   	std
  11:	48 8b 44 24 18       	mov    0x18(%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 e5 f3 ef fd       	call   0xfdeff41d
  38:	48 8b 44 24 18       	mov    0x18(%rsp),%rax
  3d:	48 89 03             	mov    %rax,(%rbx)