general protection fault, probably for non-canonical address 0xdffffc0000000010: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000080-0x0000000000000087] CPU: 1 PID: 25480 Comm: syz-executor.2 Not tainted 5.8.0-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 c5 fa ac 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 07 de 2a 01 RSP: 0018:ffffc90005897260 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888088b57300 RCX: ffffc9000d1a9000 RDX: 0000000000000010 RSI: ffffffff86c751bb RDI: 0000000000000080 RBP: ffff88805a79a817 R08: 0000000000000001 R09: ffff88805a79a82b R10: 0000000000000001 R11: 0000000000000000 R12: ffff88805a79a800 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093bc3a00 FS: 00007f0ac1e84700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e0030 CR3: 000000008dcab000 CR4: 00000000001506e0 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+0xaa5/0x1af0 net/ipv4/fib_trie.c:1352 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:0x45d239 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0ac1e83c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002c0c0 RCX: 000000000045d239 RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007fffbe1f6dbf R14: 00007f0ac1e849c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 2252648262a93bb1 ]--- 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 c5 fa ac 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 07 de 2a 01 RSP: 0018:ffffc90005897260 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888088b57300 RCX: ffffc9000d1a9000 RDX: 0000000000000010 RSI: ffffffff86c751bb RDI: 0000000000000080 RBP: ffff88805a79a817 R08: 0000000000000001 R09: ffff88805a79a82b R10: 0000000000000001 R11: 0000000000000000 R12: ffff88805a79a800 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093bc3a00 FS: 00007f0ac1e84700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 000000008dcab000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400