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: 6828 Comm: syz-executor851 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+0x9cc/0x23b0 net/ipv4/fib_semantics.c:1781 Code: 00 fc ff df 80 3c 08 00 74 12 48 89 df e8 ec a9 b3 fa 48 b9 00 00 00 00 00 fc ff df 48 8b 1b 48 83 eb 80 48 89 d8 48 c1 e8 03 <80> 3c 08 00 74 08 48 89 df e8 c6 a9 b3 fa 48 8b 1b e8 ae c9 28 01 RSP: 0018:ffffc900012774d0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000080 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff870124ed R09: ffffed1013ce6c06 R10: ffffed1013ce6c06 R11: 0000000000000000 R12: ffff88809f868bc0 R13: ffff88809e736015 R14: 1ffff11013ce6c02 R15: ffff88809e736000 FS: 0000000000dd5880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000004 CR3: 0000000094d31000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtmsg_fib+0x5c5/0x9e0 net/ipv4/fib_semantics.c:524 fib_table_insert+0x11c6/0x24c0 net/ipv4/fib_trie.c:1284 inet_rtm_newroute+0xd3/0x1c0 net/ipv4/fib_frontend.c:883 rtnetlink_rcv_msg+0x889/0xd40 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2470 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1330 netlink_sendmsg+0xa57/0xd70 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0x519/0x800 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmsg+0x2b1/0x360 net/socket.c:2440 do_syscall_64+0x31/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:00007ffd1e7b3238 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 2abe5d184caf2af6 ]--- RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:240 [inline] RIP: 0010:fib_dump_info+0x9cc/0x23b0 net/ipv4/fib_semantics.c:1781 Code: 00 fc ff df 80 3c 08 00 74 12 48 89 df e8 ec a9 b3 fa 48 b9 00 00 00 00 00 fc ff df 48 8b 1b 48 83 eb 80 48 89 d8 48 c1 e8 03 <80> 3c 08 00 74 08 48 89 df e8 c6 a9 b3 fa 48 8b 1b e8 ae c9 28 01 RSP: 0018:ffffc900012774d0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000080 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff870124ed R09: ffffed1013ce6c06 R10: ffffed1013ce6c06 R11: 0000000000000000 R12: ffff88809f868bc0 R13: ffff88809e736015 R14: 1ffff11013ce6c02 R15: ffff88809e736000 FS: 0000000000dd5880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000004 CR3: 0000000094d31000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400