general protection fault, probably for non-canonical address 0xf4ea53001954006f: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xa752b800caa00378-0xa752b800caa0037f] CPU: 0 PID: 20487 Comm: syz-executor.0 Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:htab_elem_free kernel/bpf/hashtab.c:769 [inline] RIP: 0010:htab_elem_free_rcu+0x4a/0x110 kernel/bpf/hashtab.c:779 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bc 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b f8 48 8d 7d 18 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 82 00 00 00 44 8b 65 18 bf 05 RSP: 0018:ffffc90000007e48 EFLAGS: 00010a07 RAX: dffffc0000000000 RBX: ffff88804c000010 RCX: 00000000ffceddbc RDX: 14ea57001954006f RSI: ffffffff818761be RDI: a752b800caa0037e RBP: a752b800caa00366 R08: 0000000000000000 R09: ffffffff8c5fd9f7 R10: fffffbfff18bfb3e R11: ffffffff89bda248 R12: ffffc90000007ed8 R13: ffff88804c000000 R14: 0000000000000000 R15: ffff888061308480 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31830000 CR3: 000000006477f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rcu_do_batch kernel/rcu/tree.c:2428 [inline] rcu_core+0x5c7/0x1190 kernel/rcu/tree.c:2656 __do_softirq+0x2de/0xa24 kernel/softirq.c:298 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x1f3/0x230 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:check_kcov_mode kernel/kcov.c:165 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x2a/0x60 kernel/kcov.c:197 Code: 65 48 8b 14 25 c0 fe 01 00 65 8b 05 10 96 8d 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 44 14 00 00 85 c0 74 2b <8b> 82 20 14 00 00 83 f8 02 75 20 48 8b 8a 28 14 00 00 8b 92 24 14 RSP: 0018:ffffc900060b7780 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 0000000000000000 RCX: ffffffff81a4b3bf RDX: ffff888061308480 RSI: ffffffff81a4b8cf RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffea00024c68c7 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea00024c68c8 R13: ffffea00024c68c0 R14: dffffc0000000000 R15: 00007f40574e7000 PageTail include/linux/page-flags.h:191 [inline] PageCompound include/linux/page-flags.h:196 [inline] page_mapcount include/linux/mm.h:818 [inline] zap_pte_range mm/memory.c:1092 [inline] zap_pmd_range mm/memory.c:1195 [inline] zap_pud_range mm/memory.c:1224 [inline] zap_p4d_range mm/memory.c:1245 [inline] unmap_page_range+0x147f/0x2b20 mm/memory.c:1266 unmap_single_vma+0x198/0x300 mm/memory.c:1311 unmap_vmas+0x168/0x2e0 mm/memory.c:1343 exit_mmap+0x2b1/0x530 mm/mmap.c:3183 __mmput+0x122/0x470 kernel/fork.c:1076 mmput+0x53/0x60 kernel/fork.c:1097 exit_mm kernel/exit.c:483 [inline] do_exit+0xa8b/0x29f0 kernel/exit.c:793 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x428/0x1f00 kernel/signal.c:2757 arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:136 [inline] exit_to_user_mode_prepare+0x15d/0x1c0 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x59/0x2b0 kernel/entry/common.c:242 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f40560f7cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000118cfe8 RCX: 000000000045d5b9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000118cfec RBP: 000000000118cfe0 R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000118cfec R13: 00007ffcdf1238ff R14: 00007f40560f89c0 R15: 000000000118cfec Modules linked in: ---[ end trace 813c48893041d766 ]--- RIP: 0010:htab_elem_free kernel/bpf/hashtab.c:769 [inline] RIP: 0010:htab_elem_free_rcu+0x4a/0x110 kernel/bpf/hashtab.c:779 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bc 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b f8 48 8d 7d 18 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 82 00 00 00 44 8b 65 18 bf 05 RSP: 0018:ffffc90000007e48 EFLAGS: 00010a07 RAX: dffffc0000000000 RBX: ffff88804c000010 RCX: 00000000ffceddbc RDX: 14ea57001954006f RSI: ffffffff818761be RDI: a752b800caa0037e RBP: a752b800caa00366 R08: 0000000000000000 R09: ffffffff8c5fd9f7 R10: fffffbfff18bfb3e R11: ffffffff89bda248 R12: ffffc90000007ed8 R13: ffff88804c000000 R14: 0000000000000000 R15: ffff888061308480 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31830000 CR3: 000000006477f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600