Oops: general protection fault, probably for non-canonical address 0xdffffc0000000083: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000418-0x000000000000041f] CPU: 3 UID: 0 PID: 11611 Comm: syz.4.2054 Not tainted 6.16.0-rc3-syzkaller-00072-gee88bddf7f2f #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0xaf/0x3f0 net/ipv4/fib_trie.c:1408 Code: df 48 c1 ea 03 80 3c 02 00 0f 85 1e 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d bd 18 04 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4c 8b bd 18 04 00 00 e8 db 85 7c 01 RSP: 0018:ffffc900032ff5a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88806a3c7820 RCX: ffffc900265f9000 RDX: 0000000000000083 RSI: ffffffff8a002b39 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804edcac20 R13: ffff88806a3c7837 R14: 0000000000000001 R15: ffff888028280418 FS: 0000000000000000(0000) GS:ffff888097860000(0063) knlGS:00000000f506eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73bcdec CR3: 000000006a98c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000032e7 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nexthop_get_nhc_lookup include/net/nexthop.h:437 [inline] fib_table_lookup+0x158e/0x2300 net/ipv4/fib_trie.c:1584 fib_lookup.constprop.0+0x13e/0x530 include/net/ip_fib.h:390 ip_route_output_key_hash_rcu+0xde2/0x28f0 net/ipv4/route.c:2803 ip_route_output_key_hash+0x137/0x2e0 net/ipv4/route.c:2694 __ip_route_output_key include/net/route.h:169 [inline] ip_route_connect include/net/route.h:348 [inline] tcp_v4_connect+0x806/0x1bd0 net/ipv4/tcp_ipv4.c:252 __inet_stream_connect+0x3c5/0x1020 net/ipv4/af_inet.c:677 tcp_sendmsg_fastopen+0x3ed/0x750 net/ipv4/tcp.c:1047 tcp_sendmsg_locked+0x190d/0x4300 net/ipv4/tcp.c:1125 tcp_sendmsg+0x2e/0x50 net/ipv4/tcp.c:1396 inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] __sys_sendto+0x43c/0x520 net/socket.c:2180 __do_sys_sendto net/socket.c:2187 [inline] __se_sys_sendto net/socket.c:2183 [inline] __ia32_sys_sendto+0xdd/0x1b0 net/socket.c:2183 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x3a0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf707e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f506e55c EFLAGS: 00000296 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000200047fd RDI: 00000000800001c0 RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0xaf/0x3f0 net/ipv4/fib_trie.c:1408 Code: df 48 c1 ea 03 80 3c 02 00 0f 85 1e 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d bd 18 04 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4c 8b bd 18 04 00 00 e8 db 85 7c 01 RSP: 0018:ffffc900032ff5a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88806a3c7820 RCX: ffffc900265f9000 RDX: 0000000000000083 RSI: ffffffff8a002b39 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804edcac20 R13: ffff88806a3c7837 R14: 0000000000000001 R15: ffff888028280418 FS: 0000000000000000(0000) GS:ffff888097660000(0063) knlGS:00000000f506eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006a98c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 1e 03 00 00 jne 0x32c e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 48 8b 2b mov (%rbx),%rbp 1b: 48 8d bd 18 04 00 00 lea 0x418(%rbp),%rdi 22: 48 89 fa mov %rdi,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 ef 02 00 00 jne 0x322 33: 4c 8b bd 18 04 00 00 mov 0x418(%rbp),%r15 3a: e8 db 85 7c 01 call 0x17c861a