Oops: general protection fault, probably for non-canonical address 0xdffffc0000000083: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000418-0x000000000000041f] CPU: 0 UID: 0 PID: 8778 Comm: syz.2.846 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0x85/0x3d0 net/ipv4/fib_trie.c:1408 Code: 4c 89 24 24 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 5b 77 2c f8 41 bc 18 04 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 3c 77 2c f8 4d 8b 24 24 e8 13 fa RSP: 0018:ffffc9000ed1f490 EFLAGS: 00010202 RAX: 0000000000000083 RBX: ffff88805ba31320 RCX: 0000000000000002 RDX: ffff888077c5da00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88805ba31337 R08: 0000000000000000 R09: ffffffff89f9895f R10: 0000000000000008 R11: 0000000000000002 R12: 0000000000000418 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b746266 FS: 00007f545e14b6c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2dcfb2 CR3: 000000006d3b6000 CR4: 00000000003526f0 Call Trace: nexthop_get_nhc_lookup+0x1af/0x400 include/net/nexthop.h:437 fib_table_lookup+0xf26/0x16e0 net/ipv4/fib_trie.c:1584 fib4_rule_action+0x1fb/0x330 net/ipv4/fib_rules.c:138 fib_rules_lookup+0x8a6/0xe90 net/core/fib_rules.c:339 __fib_lookup+0xf9/0x200 net/ipv4/fib_rules.c:95 ip_route_output_key_hash_rcu+0x2fb/0x23a0 net/ipv4/route.c:2803 ip_route_output_key_hash+0x1b9/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+0x73a/0x19d0 net/ipv4/tcp_ipv4.c:252 mptcp_connect+0x52d/0x790 net/mptcp/protocol.c:3727 __inet_stream_connect+0x2ab/0xe80 net/ipv4/af_inet.c:677 inet_stream_connect+0x66/0xa0 net/ipv4/af_inet.c:748 __sys_connect_file net/socket.c:2038 [inline] __sys_connect+0x316/0x440 net/socket.c:2057 __do_sys_connect net/socket.c:2063 [inline] __se_sys_connect net/socket.c:2060 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2060 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f545d38ebe9 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:00007f545e14b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f545d5b5fa0 RCX: 00007f545d38ebe9 RDX: 0000000000000010 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f545d411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f545d5b6038 R14: 00007f545d5b5fa0 R15: 00007ffdfc26f898 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0x85/0x3d0 net/ipv4/fib_trie.c:1408 Code: 4c 89 24 24 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 5b 77 2c f8 41 bc 18 04 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 3c 77 2c f8 4d 8b 24 24 e8 13 fa RSP: 0018:ffffc9000ed1f490 EFLAGS: 00010202 RAX: 0000000000000083 RBX: ffff88805ba31320 RCX: 0000000000000002 RDX: ffff888077c5da00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88805ba31337 R08: 0000000000000000 R09: ffffffff89f9895f R10: 0000000000000008 R11: 0000000000000002 R12: 0000000000000418 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b746266 FS: 00007f545e14b6c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000a0030 CR3: 000000006d3b6000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 4c 89 24 24 mov %r12,(%rsp) 4: 48 89 d8 mov %rbx,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 10: 74 08 je 0x1a 12: 48 89 df mov %rbx,%rdi 15: e8 5b 77 2c f8 call 0xf82c7775 1a: 41 bc 18 04 00 00 mov $0x418,%r12d 20: 4c 03 23 add (%rbx),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 3c 77 2c f8 call 0xf82c7775 39: 4d 8b 24 24 mov (%r12),%r12 3d: e8 .byte 0xe8 3e: 13 fa adc %edx,%edi