general protection fault, probably for non-canonical address 0xdffffc0000000020: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000100-0x0000000000000107] CPU: 1 PID: 4937 Comm: syz-executor.1 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_is_setup_for_bpf_map+0xbd/0x140 net/xdp/xsk.c:39 Code: 80 3c 02 00 0f 85 8b 00 00 00 4c 8b a3 e8 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 00 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 6f 49 83 bc 24 00 01 00 00 00 74 12 41 bc 01 00 00 RSP: 0018:ffffc9001890fc30 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88805ff5f000 RCX: ffffc9000b48a000 RDX: 0000000000000020 RSI: ffffffff87f0a45b RDI: 0000000000000100 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88805d5d0e80 R10: 000000000000002c R11: 0000000000000000 R12: 0000000000000000 R13: ffff888053c84000 R14: ffff88805ff5f000 R15: 000000000000002c FS: 00007f8497db4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000077fffb CR3: 00000000a7299000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xsk_map_update_elem+0x1bc/0x9d0 net/xdp/xskmap.c:188 bpf_map_update_value.isra.0+0x715/0x900 kernel/bpf/syscall.c:200 map_update_elem kernel/bpf/syscall.c:1120 [inline] __do_sys_bpf+0x320b/0x4b30 kernel/bpf/syscall.c:4186 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:00007f8497db3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000001940 RCX: 000000000045d5b9 RDX: 000000000000002c RSI: 0000000020003000 RDI: 0000000000000002 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffff14b635f R14: 00007f8497db49c0 R15: 000000000118cf4c Modules linked in: ---[ end trace c30bf281832c6aed ]--- RIP: 0010:xsk_is_setup_for_bpf_map+0xbd/0x140 net/xdp/xsk.c:39 Code: 80 3c 02 00 0f 85 8b 00 00 00 4c 8b a3 e8 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 00 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 6f 49 83 bc 24 00 01 00 00 00 74 12 41 bc 01 00 00 RSP: 0018:ffffc9001890fc30 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88805ff5f000 RCX: ffffc9000b48a000 RDX: 0000000000000020 RSI: ffffffff87f0a45b RDI: 0000000000000100 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88805d5d0e80 R10: 000000000000002c R11: 0000000000000000 R12: 0000000000000000 R13: ffff888053c84000 R14: ffff88805ff5f000 R15: 000000000000002c FS: 00007f8497db4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000077fffb CR3: 00000000a7299000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400