general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 21714 Comm: syz-executor.5 Not tainted 5.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_u8 include/net/netlink.h:1595 [inline] RIP: 0010:erspan_validate+0x89/0x380 net/ipv4/ip_gre.c:1090 Code: c1 ea 03 80 3c 02 00 0f 85 c5 02 00 00 4c 8b a3 b0 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 04 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 9c 02 00 00 RSP: 0018:ffffc9000d187188 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888094d78400 RCX: ffffc9001400f000 RDX: 0000000000000000 RSI: ffffffff86b2a77a RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff888060e7a240 R09: ffffffff88e66782 R10: ffff888094d784c7 R11: ffffed10129af098 R12: 0000000000000000 R13: ffffc9000d187888 R14: ffffc9000d187428 R15: dffffc0000000000 FS: 00007f505927a700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000097b9f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __rtnl_newlink+0x526/0x1590 net/core/rtnetlink.c:3219 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3398 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5461 netlink_rcv_skb+0x15a/0x410 net/netlink/af_netlink.c:2469 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x6bf/0x7e0 net/socket.c:2362 ___sys_sendmsg+0x100/0x170 net/socket.c:2416 __sys_sendmsg+0xec/0x1b0 net/socket.c:2449 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5059279c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000500ce0 RCX: 000000000045c829 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000a04 R14: 00000000004ccbcc R15: 00007f505927a6d4 Modules linked in: ---[ end trace 4732a63c0040c54b ]--- RIP: 0010:nla_get_u8 include/net/netlink.h:1595 [inline] RIP: 0010:erspan_validate+0x89/0x380 net/ipv4/ip_gre.c:1090 Code: c1 ea 03 80 3c 02 00 0f 85 c5 02 00 00 4c 8b a3 b0 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 04 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 9c 02 00 00 RSP: 0018:ffffc9000d187188 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888094d78400 RCX: ffffc9001400f000 RDX: 0000000000000000 RSI: ffffffff86b2a77a RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff888060e7a240 R09: ffffffff88e66782 R10: ffff888094d784c7 R11: ffffed10129af098 R12: 0000000000000000 R13: ffffc9000d187888 R14: ffffc9000d187428 R15: dffffc0000000000 FS: 00007f505927a700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b90004 CR3: 0000000097b9f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400