general protection fault, probably for non-canonical address 0xf2a61e001ed80048: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x95311000f6c00240-0x95311000f6c00247] CPU: 0 PID: 2452 Comm: kworker/0:1H Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: 0x0 (events_highpri) 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: 00010a06 RAX: dffffc0000000000 RBX: ffff888057400010 RCX: 00000000ffce192d RDX: 12a622001ed80048 RSI: ffffffff8187116e RDI: 95311000f6c00243 RBP: 95311000f6c0022b R08: 0000000000000000 R09: ffffffff8c5f39ff R10: fffffbfff18be73f R11: 0000000000000000 R12: ffffc90000007ed8 R13: ffff888057400000 R14: 0000000000000000 R15: ffff8880a0ba4140 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016a3b73 CR3: 000000009567f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4b/0x80 kernel/locking/spinlock.c:199 Code: c0 d8 3b b6 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 46 f6 bf 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 db 6d 59 f9 65 8b 05 d4 b8 0b 78 85 c0 74 02 5d RSP: 0018:ffffc9000826fce0 EFLAGS: 00000286 RAX: 1ffffffff136c77b RBX: ffff8880a0ba4140 RCX: 1ffffffff1563fd1 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff87f6456f RBP: ffff8880ae635e00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae635e00 R13: ffff88805ae884c0 R14: 0000000000000000 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3517 [inline] finish_task_switch+0x147/0x750 kernel/sched/core.c:3617 context_switch kernel/sched/core.c:3781 [inline] __schedule+0x8ed/0x21e0 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 worker_thread+0x14c/0x1120 kernel/workqueue.c:2436 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace bc47a5aad6238263 ]--- 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: 00010a06 RAX: dffffc0000000000 RBX: ffff888057400010 RCX: 00000000ffce192d RDX: 12a622001ed80048 RSI: ffffffff8187116e RDI: 95311000f6c00243 RBP: 95311000f6c0022b R08: 0000000000000000 R09: ffffffff8c5f39ff R10: fffffbfff18be73f R11: 0000000000000000 R12: ffffc90000007ed8 R13: ffff888057400000 R14: 0000000000000000 R15: ffff8880a0ba4140 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016a3b73 CR3: 000000009567f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400