general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 8691 Comm: syz-executor.4 Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xsk_diag_put_umem net/xdp/xsk_diag.c:62 [inline] RIP: 0010:xsk_diag_fill net/xdp/xsk_diag.c:129 [inline] RIP: 0010:xsk_diag_dump+0xe27/0x15a0 net/xdp/xsk_diag.c:165 Code: 04 28 84 c0 74 08 3c 03 0f 8e bb 06 00 00 41 8b 44 24 10 89 84 24 fc 00 00 00 48 8b 44 24 40 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 91 05 00 00 48 8b 44 24 40 48 8b 40 08 48 85 c0 RSP: 0018:ffffc9000745f400 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88809ba16000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff87f1a752 RDI: 0000000000000008 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff88809ba16033 R10: 0000000000000000 R11: 0000000000084cb8 R12: ffff8880a24ca780 R13: ffff88809706f818 R14: ffff888099145000 R15: 0000000000000000 FS: 00007f36319f9700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31721000 CR3: 000000009edc3000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netlink_dump+0x4cd/0xf60 net/netlink/af_netlink.c:2246 __netlink_dump_start+0x643/0x900 net/netlink/af_netlink.c:2354 netlink_dump_start include/linux/netlink.h:246 [inline] xsk_diag_handler_dump+0x1a3/0x240 net/xdp/xsk_diag.c:192 __sock_diag_cmd net/core/sock_diag.c:233 [inline] sock_diag_rcv_msg+0x2fe/0x3e0 net/core/sock_diag.c:264 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2470 sock_diag_rcv+0x26/0x40 net/core/sock_diag.c:275 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:0x45d5b9 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:00007f36319f8c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002ccc0 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe71a62f5f R14: 00007f36319f99c0 R15: 000000000118cf4c Modules linked in: ---[ end trace e2f7523166341af3 ]--- RIP: 0010:xsk_diag_put_umem net/xdp/xsk_diag.c:62 [inline] RIP: 0010:xsk_diag_fill net/xdp/xsk_diag.c:129 [inline] RIP: 0010:xsk_diag_dump+0xe27/0x15a0 net/xdp/xsk_diag.c:165 Code: 04 28 84 c0 74 08 3c 03 0f 8e bb 06 00 00 41 8b 44 24 10 89 84 24 fc 00 00 00 48 8b 44 24 40 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 91 05 00 00 48 8b 44 24 40 48 8b 40 08 48 85 c0 RSP: 0018:ffffc9000745f400 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88809ba16000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff87f1a752 RDI: 0000000000000008 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff88809ba16033 R10: 0000000000000000 R11: 0000000000084cb8 R12: ffff8880a24ca780 R13: ffff88809706f818 R14: ffff888099145000 R15: 0000000000000000 FS: 00007f36319f9700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016a8660 CR3: 000000009edc3000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400