general protection fault, probably for non-canonical address 0xdffffc000000006c: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000360-0x0000000000000367]
CPU: 1 PID: 8923 Comm: syz.4.1433 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline]
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline]
RIP: 0010:find_match+0xa3/0xc30 net/ipv6/route.c:744
Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 7f f2 2a f9 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5e f2 2a f9 48 8b 1b e8 36 b3 17
RSP: 0018:ffffc9000346f218 EFLAGS: 00010206
RAX: 000000000000006c RBX: 0000000000000360 RCX: ffff88802a579dc0
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffff110031b1bc4 R08: ffffc9000346f5a0 R09: ffffc9000346f5b0
R10: fffff5200068de82 R11: 1ffff9200068de80 R12: dffffc0000000000
R13: 0000000000000040 R14: 1ffff110031b1bc5 R15: ffff888018d8de2f
FS: 00007f6a8dd2a6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce7138fc00 CR3: 00000000518d2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
rt6_nh_find_match+0xd5/0x140 net/ipv6/route.c:784
nexthop_for_each_fib6_nh+0x1be/0x3e0 net/ipv4/nexthop.c:1242
__find_rr_leaf+0x45e/0x6c0 net/ipv6/route.c:825
find_rr_leaf net/ipv6/route.c:853 [inline]
rt6_select net/ipv6/route.c:897 [inline]
fib6_table_lookup+0x39c/0xa70 net/ipv6/route.c:2183
ip6_nh_lookup_table net/ipv6/route.c:3342 [inline]
ip6_route_check_nh_onlink net/ipv6/route.c:3360 [inline]
ip6_validate_gw net/ipv6/route.c:3467 [inline]
fib6_nh_init+0x121f/0x1e00 net/ipv6/route.c:3585
ip6_route_info_create+0x952/0x1210 net/ipv6/route.c:3821
ip6_route_add+0x24/0x130 net/ipv6/route.c:3865
ipv6_route_ioctl+0x37a/0x4a0 net/ipv6/route.c:4492
inet6_ioctl+0x1e9/0x240 net/ipv6/af_inet6.c:585
sock_do_ioctl+0xd3/0x2f0 net/socket.c:1140
sock_ioctl+0x4ed/0x6e0 net/socket.c:1257
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6a8fac2ec9
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:00007f6a8dd2a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6a8fd19fa0 RCX: 00007f6a8fac2ec9
RDX: 0000200000000540 RSI: 000000000000890b RDI: 0000000000000003
RBP: 00007f6a8fb45f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6a8fd1a038 R14: 00007f6a8fd19fa0 R15: 00007fff3f1b9da8
</TASK>
Modules linked in:
---[ end trace c5ce06f4eec5563f ]---
RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline]
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline]
RIP: 0010:find_match+0xa3/0xc30 net/ipv6/route.c:744
Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 7f f2 2a f9 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5e f2 2a f9 48 8b 1b e8 36 b3 17
RSP: 0018:ffffc9000346f218 EFLAGS: 00010206
RAX: 000000000000006c RBX: 0000000000000360 RCX: ffff88802a579dc0
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffff110031b1bc4 R08: ffffc9000346f5a0 R09: ffffc9000346f5b0
R10: fffff5200068de82 R11: 1ffff9200068de80 R12: dffffc0000000000
R13: 0000000000000040 R14: 1ffff110031b1bc5 R15: ffff888018d8de2f
FS: 00007f6a8dd2a6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3222421c CR3: 00000000518d2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 7 bytes skipped:
0: df 42 80 filds -0x80(%rdx)
3: 7c 25 jl 0x2a
5: 00 00 add %al,(%rax)
7: 74 08 je 0x11
9: 48 89 df mov %rbx,%rdi
c: e8 7f f2 2a f9 call 0xf92af290
11: 48 89 d8 mov %rbx,%rax
14: bb 60 03 00 00 mov $0x360,%ebx
19: 48 03 18 add (%rax),%rbx
1c: 48 89 d8 mov %rbx,%rax
1f: 48 c1 e8 03 shr $0x3,%rax
* 23: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
28: 74 08 je 0x32
2a: 48 89 df mov %rbx,%rdi
2d: e8 5e f2 2a f9 call 0xf92af290
32: 48 8b 1b mov (%rbx),%rbx
35: e8 .byte 0xe8
36: 36 b3 17 ss mov $0x17,%bl