general protection fault, probably for non-canonical address 0xdffffc0000000010: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000080-0x0000000000000087] CPU: 0 PID: 6874 Comm: syz-executor185 Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:240 [inline] RIP: 0010:fib_dump_info+0x893/0x1f00 net/ipv4/fib_semantics.c:1781 Code: 3c 02 00 0f 85 83 15 00 00 4d 8b 6d 10 e8 e5 a3 ab fa 49 8d bd 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 62 15 00 00 4d 8b ad 80 00 00 00 e8 97 e4 2a 01 RSP: 0018:ffffc90000f07260 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a66b5a00 RCX: ffffffff86c89af3 RDX: 0000000000000010 RSI: ffffffff86c89b2b RDI: 0000000000000080 RBP: ffff88809a6a6817 R08: 0000000000000001 R09: ffff88809a6a682b R10: 0000000000000001 R11: 0000000000000000 R12: ffff88809a6a6800 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880922158c0 FS: 0000000001024880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000004 CR3: 00000000a216b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtmsg_fib+0x318/0xdf0 net/ipv4/fib_semantics.c:524 fib_table_insert+0x1383/0x1af0 net/ipv4/fib_trie.c:1284 inet_rtm_newroute+0x109/0x1e0 net/ipv4/fib_frontend.c:883 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2470 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x440549 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd84f061e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440549 RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000004 RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401d50 R13: 0000000000401de0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 8f6c443d607ba182 ]--- RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:240 [inline] RIP: 0010:fib_dump_info+0x893/0x1f00 net/ipv4/fib_semantics.c:1781 Code: 3c 02 00 0f 85 83 15 00 00 4d 8b 6d 10 e8 e5 a3 ab fa 49 8d bd 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 62 15 00 00 4d 8b ad 80 00 00 00 e8 97 e4 2a 01 RSP: 0018:ffffc90000f07260 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a66b5a00 RCX: ffffffff86c89af3 RDX: 0000000000000010 RSI: ffffffff86c89b2b RDI: 0000000000000080 RBP: ffff88809a6a6817 R08: 0000000000000001 R09: ffff88809a6a682b R10: 0000000000000001 R11: 0000000000000000 R12: ffff88809a6a6800 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880922158c0 FS: 0000000001024880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000004 CR3: 00000000a216b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400