general protection fault, probably for non-canonical address 0xee9c350019b00067: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x74e1c800cd800338-0x74e1c800cd80033f] CPU: 1 PID: 9044 Comm: syz-executor.3 Not tainted 5.10.0-rc2-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:ffffc90000da8e60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888098000010 RCX: 00000000ef8c5121 RDX: 0e9c390019b00067 RSI: ffffffff8183686e RDI: 74e1c800cd800339 RBP: 74e1c800cd800321 R08: 0000000000000000 R09: ffffffff8ebb667f R10: fffffbfff1d76ccf R11: 0000000000000000 R12: ffffc90000da8ee8 R13: ffff888098000000 R14: ffffffff815d3c86 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006481b000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_do_batch kernel/rcu/tree.c:2476 [inline] rcu_core+0x5df/0xe80 kernel/rcu/tree.c:2711 __do_softirq+0x2a0/0x9f6 kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/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+0x132/0x200 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:197 Code: f0 01 00 65 8b 05 00 e5 91 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 54 14 00 00 85 c0 74 2b 8b 82 30 14 00 00 <83> f8 02 75 20 48 8b 8a 38 14 00 00 8b 92 34 14 00 00 48 8b 01 48 RSP: 0018:ffffc9001591f790 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81a141bd RDX: ffff8880748804c0 RSI: ffffffff81a1516b RDI: 0000000000000007 RBP: ffffea000186ca40 R08: 0000000000000000 R09: ffff8880748804c7 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea000186ca40 R13: ffff8880143a3948 R14: dffffc0000000000 R15: 000000000112a000 compound_head include/linux/page-flags.h:188 [inline] PageAnon include/linux/page-flags.h:484 [inline] mm_counter include/linux/mm.h:1919 [inline] zap_pte_range mm/memory.c:1252 [inline] zap_pmd_range mm/memory.c:1357 [inline] zap_pud_range mm/memory.c:1386 [inline] zap_p4d_range mm/memory.c:1407 [inline] unmap_page_range+0x1c7b/0x2640 mm/memory.c:1428 unmap_single_vma+0x198/0x300 mm/memory.c:1473 unmap_vmas+0x168/0x2e0 mm/memory.c:1505 exit_mmap+0x2b1/0x530 mm/mmap.c:3222 __mmput+0x122/0x470 kernel/fork.c:1079 mmput+0x53/0x60 kernel/fork.c:1100 exit_mm kernel/exit.c:483 [inline] do_exit+0xa31/0x2930 kernel/exit.c:793 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x428/0x1f00 kernel/signal.c:2758 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45deb9 Code: Unable to access opcode bytes at RIP 0x45de8f. RSP: 002b:00007f4279fefcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118bf28 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118bf28 RBP: 000000000118bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd0800f49f R14: 00007f4279ff09c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 49812e53dd64c5ba ]--- 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:ffffc90000da8e60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888098000010 RCX: 00000000ef8c5121 RDX: 0e9c390019b00067 RSI: ffffffff8183686e RDI: 74e1c800cd800339 RBP: 74e1c800cd800321 R08: 0000000000000000 R09: ffffffff8ebb667f R10: fffffbfff1d76ccf R11: 0000000000000000 R12: ffffc90000da8ee8 R13: ffff888098000000 R14: ffffffff815d3c86 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006481b000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400