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: 14186 Comm: syz.6.2755 Not tainted 6.16.0-rc1-syzkaller-00236-g8c6bc74c7f89 #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 4b 78 7c 01 RSP: 0018:ffffc9000763f660 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888043db1720 RCX: ffffc900274a1000 RDX: 0000000000000083 RSI: ffffffff89ffc889 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000763fa00 R13: ffff888043db1737 R14: 0000000000000001 R15: ffff88806bd67118 FS: 0000000000000000(0000) GS:ffff888097661000(0063) knlGS:00000000f505eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7173800 CR3: 000000006fb70000 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 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_output_flow+0x27/0x150 net/ipv4/route.c:2921 ip_route_output_key include/net/route.h:179 [inline] sctp_v4_get_dst+0x41e/0x1340 net/sctp/protocol.c:454 sctp_transport_route+0x12f/0x350 net/sctp/transport.c:457 sctp_assoc_add_peer+0x741/0x1550 net/sctp/associola.c:663 sctp_connect_new_asoc+0x208/0x790 net/sctp/socket.c:1100 __sctp_connect+0x3f3/0xc60 net/sctp/socket.c:1198 sctp_connect net/sctp/socket.c:4820 [inline] sctp_inet_connect+0x15f/0x200 net/sctp/socket.c:4835 __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:0xf706e579 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:00000000f505e55c EFLAGS: 00000296 ORIG_RAX: 000000000000016a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000340 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 4b 78 7c 01 RSP: 0018:ffffc9000763f660 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888043db1720 RCX: ffffc900274a1000 RDX: 0000000000000083 RSI: ffffffff89ffc889 RDI: 0000000000000418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000763fa00 R13: ffff888043db1737 R14: 0000000000000001 R15: ffff88806bd67118 FS: 0000000000000000(0000) GS:ffff888097661000(0063) knlGS:00000000f505eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7173800 CR3: 000000006fb70000 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 4b 78 7c 01 call 0x17c788a