general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 PID: 8651 Comm: syz-executor.5 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:198 [inline] RIP: 0010:fib_dump_info+0x744/0x19e0 net/ipv4/fib_semantics.c:1781 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 54 11 00 00 4d 8b 6d 10 49 8d 7d 70 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 e3 10 00 00 4d 8b 6d 70 e8 d9 67 34 fb 85 c0 74 RSP: 0018:ffffc900049f72a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88807884aac0 RCX: 000000000000000e RDX: dffffc0000000000 RSI: ffffffff8990c428 RDI: 0000000000000070 RBP: ffffc900049f7460 R08: ffffed100f109b06 R09: ffffed100f109b06 R10: ffff88807884d82b R11: ffffed100f109b05 R12: ffff88807884d800 R13: 0000000000000000 R14: ffff88807884d817 R15: ffff8880a8a4ea00 FS: 0000000000000000(0000) GS:ffff8880ae900000(0063) knlGS:00000000f7755b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055cac250ced8 CR3: 000000009ec42000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rtmsg_fib+0x2cd/0xb20 net/ipv4/fib_semantics.c:524 fib_table_insert+0x730/0x1980 net/ipv4/fib_trie.c:1352 inet_rtm_newroute+0xe8/0x1a0 net/ipv4/fib_frontend.c:882 rtnetlink_rcv_msg+0x346/0x8c0 net/core/rtnetlink.c:5454 netlink_rcv_skb+0x119/0x340 net/netlink/af_netlink.c:2469 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x434/0x630 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x714/0xc60 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xac/0xe0 net/socket.c:672 ____sys_sendmsg+0x554/0x760 net/socket.c:2362 ___sys_sendmsg+0xe4/0x160 net/socket.c:2416 __sys_sendmsg+0xce/0x170 net/socket.c:2449 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x231/0xba0 arch/x86/entry/common.c:396 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Modules linked in: ---[ end trace fe22094ecd066dc7 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:198 [inline] RIP: 0010:fib_dump_info+0x744/0x19e0 net/ipv4/fib_semantics.c:1781 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 54 11 00 00 4d 8b 6d 10 49 8d 7d 70 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 e3 10 00 00 4d 8b 6d 70 e8 d9 67 34 fb 85 c0 74 RSP: 0018:ffffc900049f72a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88807884aac0 RCX: 000000000000000e RDX: dffffc0000000000 RSI: ffffffff8990c428 RDI: 0000000000000070 RBP: ffffc900049f7460 R08: ffffed100f109b06 R09: ffffed100f109b06 R10: ffff88807884d82b R11: ffffed100f109b05 R12: ffff88807884d800 R13: 0000000000000000 R14: ffff88807884d817 R15: ffff8880a8a4ea00 FS: 0000000000000000(0000) GS:ffff8880ae900000(0063) knlGS:00000000f7755b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055cac250ced8 CR3: 000000009ec42000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400