BUG: unable to handle page fault for address: fffff5200986de06 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23fff2067 P4D 23fff2067 PUD 101a4067 PMD 3807d067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8489 Comm: syz-executor717 Not tainted 5.10.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:htab_elem_set_ptr kernel/bpf/hashtab.c:212 [inline] RIP: 0010:prealloc_init kernel/bpf/hashtab.c:299 [inline] RIP: 0010:htab_map_alloc+0xd9b/0x1230 kernel/bpf/hashtab.c:507 Code: 42 0f b6 14 22 84 d2 74 09 80 fa 03 0f 8e 82 03 00 00 89 da 0f af 95 d0 02 00 00 48 8d 54 16 30 48 01 ca 48 89 d1 48 c1 e9 03 <42> 80 3c 21 00 0f 85 31 03 00 00 4c 89 32 be 2d 01 00 00 31 d2 83 RSP: 0018:ffffc90000effcb0 EFLAGS: 00010a06 RAX: ffffed100446b103 RBX: 0000000000000400 RCX: 1ffff9200986de06 RDX: ffffc9004c36f030 RSI: ffffc9000c261000 RDI: ffff88801a41aeb8 RBP: ffff888022358800 R08: 0000000000000000 R09: ffffffff8cecf70f R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffed100446b104 R14: 0000607f45e35c30 R15: 0000000000002400 FS: 0000000001f4a880(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff5200986de06 CR3: 00000000123b4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_and_alloc_map kernel/bpf/syscall.c:123 [inline] map_create kernel/bpf/syscall.c:829 [inline] __do_sys_bpf+0xa81/0x5170 kernel/bpf/syscall.c:4374 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4412f9 Code: e8 fc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 1b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcf5066318 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412f9 RDX: 0000000000000040 RSI: 0000000020000540 RDI: 0400000000000000 RBP: 00000000006cb018 R08: 0000000000000004 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004020a0 R13: 0000000000402130 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: fffff5200986de06 ---[ end trace 6373863c3ffbff8a ]--- RIP: 0010:htab_elem_set_ptr kernel/bpf/hashtab.c:212 [inline] RIP: 0010:prealloc_init kernel/bpf/hashtab.c:299 [inline] RIP: 0010:htab_map_alloc+0xd9b/0x1230 kernel/bpf/hashtab.c:507 Code: 42 0f b6 14 22 84 d2 74 09 80 fa 03 0f 8e 82 03 00 00 89 da 0f af 95 d0 02 00 00 48 8d 54 16 30 48 01 ca 48 89 d1 48 c1 e9 03 <42> 80 3c 21 00 0f 85 31 03 00 00 4c 89 32 be 2d 01 00 00 31 d2 83 RSP: 0018:ffffc90000effcb0 EFLAGS: 00010a06 RAX: ffffed100446b103 RBX: 0000000000000400 RCX: 1ffff9200986de06 RDX: ffffc9004c36f030 RSI: ffffc9000c261000 RDI: ffff88801a41aeb8 RBP: ffff888022358800 R08: 0000000000000000 R09: ffffffff8cecf70f R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffed100446b104 R14: 0000607f45e35c30 R15: 0000000000002400 FS: 0000000001f4a880(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff5200986de06 CR3: 00000000123b4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400