Oops: general protection fault, probably for non-canonical address 0xdffffc0000000083: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000418-0x000000000000041f] CPU: 1 UID: 0 PID: 10511 Comm: syz.5.890 Not tainted 6.16.0-rc1-syzkaller-00010-g2c4a1f3fe03e #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 1b 70 7c 01 RSP: 0018:ffffc9000347f840 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88806b5ad720 RCX: ffffc90003c19000 RDX: 0000000000000083 RSI: ffffffff89ff7139 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804dde3be0 R13: ffff88806b5ad737 R14: 0000000000000001 R15: ffff88806eb8fd18 FS: 0000000000000000(0000) GS:ffff888097862000(0063) knlGS:00000000f50c6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7370b8c CR3: 0000000025338000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 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 fib4_rule_action net/ipv4/fib_rules.c:138 [inline] fib4_rule_action+0x1f5/0x3c0 net/ipv4/fib_rules.c:110 fib_rules_lookup+0xe16/0x1030 net/core/fib_rules.c:339 __fib_lookup+0xec/0x1e0 net/ipv4/fib_rules.c:95 fib_lookup.constprop.0+0x35c/0x530 include/net/ip_fib.h:382 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] __ip4_datagram_connect+0x83c/0x1540 net/ipv4/datagram.c:49 ip4_datagram_connect+0x2e/0x50 net/ipv4/datagram.c:92 inet_dgram_connect+0x15e/0x2f0 net/ipv4/af_inet.c:592 __sys_connect_file+0x141/0x1a0 net/socket.c:2038 __sys_connect+0x13b/0x160 net/socket.c:2057 __do_sys_connect net/socket.c:2063 [inline] __se_sys_connect net/socket.c:2060 [inline] __ia32_sys_connect+0x71/0xb0 net/socket.c:2060 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:0xf7fa8579 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:00000000f50c655c EFLAGS: 00000296 ORIG_RAX: 000000000000016a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000080 RDX: 0000000000000010 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 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 1b 70 7c 01 RSP: 0018:ffffc9000347f840 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88806b5ad720 RCX: ffffc90003c19000 RDX: 0000000000000083 RSI: ffffffff89ff7139 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804dde3be0 R13: ffff88806b5ad737 R14: 0000000000000001 R15: ffff88806eb8fd18 FS: 0000000000000000(0000) GS:ffff888097962000(0063) knlGS:00000000f50c6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000579d64ac CR3: 0000000025338000 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 1b 70 7c 01 call 0x17c705a