general protection fault, probably for non-canonical address 0xe5237c001a34004e: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x291c0000d1a00270-0x291c0000d1a00277] CPU: 1 PID: 10327 Comm: syz-executor.2 Not tainted 5.10.0-rc5-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: 00010207 RAX: dffffc0000000000 RBX: ffff888079000010 RCX: 0000000000000001 RDX: 052380001a34004e RSI: ffffffff8183750e RDI: 291c0000d1a00277 RBP: 291c0000d1a0025f R08: 0000000000000000 R09: ffffffff8ebb767f R10: fffffbfff1d76ecf R11: 0000000000000001 R12: ffffc90000da8ee8 R13: ffff888079000000 R14: ffffffff815d44a6 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000b08e000 CR4: 00000000001506e0 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:arch_local_irq_restore arch/x86/include/asm/irqflags.h:85 [inline] RIP: 0010:lock_acquire kernel/locking/lockdep.c:5440 [inline] RIP: 0010:lock_acquire+0x2c7/0x740 kernel/locking/lockdep.c:5402 Code: 48 c7 c7 c0 5e 4b 89 48 83 c4 20 e8 33 e9 8f 07 b8 ff ff ff ff 65 0f c1 05 36 c2 ab 7e 83 f8 01 0f 85 36 03 00 00 ff 34 24 9d 3a fe ff ff 65 ff 05 dd b0 ab 7e 48 8b 05 56 cd 82 0b e8 c1 dd RSP: 0018:ffffc90001d97618 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff920003b2ec5 RCX: 0000000000000001 RDX: 1ffff1100e10d5b2 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ebb7667 R10: fffffbfff1d76ecc R11: 0000000000000000 R12: 0000000000000002 R13: ffffffff8b3377a0 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:248 [inline] rcu_read_lock include/linux/rcupdate.h:641 [inline] lock_page_memcg+0x63/0x260 mm/memcontrol.c:2144 page_remove_rmap+0x25/0x1c00 mm/rmap.c:1328 zap_pte_range mm/memory.c:1253 [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+0xe30/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:486 [inline] do_exit+0xa72/0x29b0 kernel/exit.c:796 do_group_exit+0x125/0x310 kernel/exit.c:906 get_signal+0x42a/0x1f10 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:00007f5d3af13c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffea RBX: 000000000002f880 RCX: 000000000045deb9 RDX: 0000000000000001 RSI: 0000000000000113 RDI: 0000000000000003 RBP: 000000000118c018 R08: 0000000000000004 R09: 0000000000000000 R10: 00000000200003c0 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffde0178dff R14: 00007f5d3af149c0 R15: 000000000118bfd4 Modules linked in: ---[ end trace dbe9ea76289d622a ]--- 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: 00010207 RAX: dffffc0000000000 RBX: ffff888079000010 RCX: 0000000000000001 RDX: 052380001a34004e RSI: ffffffff8183750e RDI: 291c0000d1a00277 RBP: 291c0000d1a0025f R08: 0000000000000000 R09: ffffffff8ebb767f R10: fffffbfff1d76ecf R11: 0000000000000001 R12: ffffc90000da8ee8 R13: ffff888079000000 R14: ffffffff815d44a6 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000b08e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400