general protection fault, probably for non-canonical address 0xf50dd1001f5c0049: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xa86ea800fae00248-0xa86ea800fae0024f] CPU: 0 PID: 7083 Comm: syz-executor.2 Not tainted 5.8.0-rc4-next-20200710-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: 00010a02 RAX: dffffc0000000000 RBX: ffff888049400010 RCX: 0000000000000001 RDX: 150dd5001f5c0049 RSI: ffffffff8186891e RDI: a86ea800fae00248 RBP: a86ea800fae00230 R08: 0000000000000000 R09: ffffffff8c5b09f7 R10: fffffbfff18b613e R11: 0000000000000000 R12: ffffc90000007ed8 R13: ffff888049400000 R14: 0000000000000000 R15: ffff888061f1c180 FS: 0000000001b1a940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000ca3b72 CR3: 0000000061ee7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_do_batch kernel/rcu/tree.c:2418 [inline] rcu_core+0x5dc/0x11d0 kernel/rcu/tree.c:2645 __do_softirq+0x34c/0xa60 kernel/softirq.c:292 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+0x111/0x170 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x229/0x270 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1090 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:765 [inline] RIP: 0010:slab_alloc mm/slab.c:3305 [inline] RIP: 0010:kmem_cache_alloc+0x100/0x3a0 mm/slab.c:3482 Code: 41 f7 c4 00 02 00 00 4c 89 7c 24 08 0f 84 d2 00 00 00 e8 83 8b c6 ff 48 83 3d eb d1 01 08 00 0f 84 9b 02 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 44 24 08 41 0f 18 08 e9 99 01 00 00 f6 c7 01 RSP: 0018:ffffc90005b379c8 EFLAGS: 00000282 RAX: 0000000000069ed5 RBX: 0000000000000cc0 RCX: 0000000000000006 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000282 RBP: ffff88821bc47300 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000282 R13: 0000000000000cc0 R14: ffff88821bc47300 R15: ffff8880953513f0 anon_vma_chain_alloc mm/rmap.c:136 [inline] anon_vma_fork+0x1df/0x630 mm/rmap.c:357 dup_mmap kernel/fork.c:547 [inline] dup_mm+0x944/0x1300 kernel/fork.c:1353 copy_mm kernel/fork.c:1409 [inline] copy_process+0x2915/0x6b70 kernel/fork.c:2076 _do_fork+0xe8/0xb10 kernel/fork.c:2434 __do_sys_clone+0xc8/0x110 kernel/fork.c:2551 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45b1da Code: Bad RIP value. RSP: 002b:00007ffdbbb39e40 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffdbbb39e40 RCX: 000000000045b1da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffdbbb39e80 R08: 0000000000000001 R09: 0000000001b1a940 R10: 0000000001b1ac10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffdbbb39ed0 Modules linked in: ---[ end trace 2c059edc42a7b9f7 ]--- 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: 00010a02 RAX: dffffc0000000000 RBX: ffff888049400010 RCX: 0000000000000001 RDX: 150dd5001f5c0049 RSI: ffffffff8186891e RDI: a86ea800fae00248 RBP: a86ea800fae00230 R08: 0000000000000000 R09: ffffffff8c5b09f7 R10: fffffbfff18b613e R11: 0000000000000000 R12: ffffc90000007ed8 R13: ffff888049400000 R14: 0000000000000000 R15: ffff888061f1c180 FS: 0000000001b1a940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000ca3b72 CR3: 0000000061ee7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400