general protection fault, probably for non-canonical address 0xec04b90015f0007f: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x6025e800af8003f8-0x6025e800af8003ff] CPU: 1 PID: 9480 Comm: syz-executor.2 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:ffffc90000da8e48 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88803bc00010 RCX: 00000000ffcdd7b0 RDX: 0c04bd0015f0007f RSI: ffffffff8187116e RDI: 6025e800af8003fc RBP: 6025e800af8003e4 R08: 0000000000000000 R09: ffffffff8c5f39ff R10: fffffbfff18be73f R11: 0000000000000001 R12: ffffc90000da8ed8 R13: ffff88803bc00000 R14: 0000000000000000 R15: ffff88809e82c2c0 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000768000 CR3: 0000000009a8d000 CR4: 00000000001506e0 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:PageAnon include/linux/page-flags.h:480 [inline] RIP: 0010:zap_pte_range mm/memory.c:1081 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1195 [inline] RIP: 0010:zap_pud_range mm/memory.c:1224 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1245 [inline] RIP: 0010:unmap_page_range+0xcec/0x2b20 mm/memory.c:1266 Code: 08 31 ff 4c 89 ed 48 89 c3 48 89 84 24 b8 00 00 00 83 e3 01 48 89 de e8 22 13 d0 ff 48 85 db 0f 85 0a 14 00 00 e8 74 16 d0 ff <48> 8d 7d 18 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 13 1b 00 00 RSP: 0018:ffffc90005527788 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81a4288e RDX: ffff88809e82c2c0 RSI: ffffffff81a4289c RDI: 0000000000000007 RBP: ffffea0001221100 R08: 0000000000000000 R09: ffff88809e82c2c7 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001221108 R13: ffffea0001221100 R14: dffffc0000000000 R15: 00007fdea7850000 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:00007fdea58e1cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cf48 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cf48 RBP: 000000000118cf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc6d4846af R14: 00007fdea58e29c0 R15: 000000000118cf4c Modules linked in: ---[ end trace d6cb1e35226d7905 ]--- 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:ffffc90000da8e48 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88803bc00010 RCX: 00000000ffcdd7b0 RDX: 0c04bd0015f0007f RSI: ffffffff8187116e RDI: 6025e800af8003fc RBP: 6025e800af8003e4 R08: 0000000000000000 R09: ffffffff8c5f39ff R10: fffffbfff18be73f R11: 0000000000000001 R12: ffffc90000da8ed8 R13: ffff88803bc00000 R14: 0000000000000000 R15: ffff88809e82c2c0 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000768000 CR3: 0000000009a8d000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600