------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1037! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3570 Comm: kworker/0:4 Not tainted 5.15.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events prog_array_map_clear_deferred RIP: 0010:prog_array_map_poke_run+0x65d/0x670 kernel/bpf/arraymap.c:1037 Code: d7 e7 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f6 d6 e7 ff 0f 0b e9 18 fa ff ff e8 ea d6 e7 ff 0f 0b e8 e3 d6 e7 ff <0f> 0b e8 dc d6 e7 ff 0f 0b e8 d5 d6 e7 ff 0f 0b 0f 1f 00 55 48 89 RSP: 0018:ffffc90003057ab8 EFLAGS: 00010293 RAX: ffffffff8198508d RBX: 00000000fffffff0 RCX: ffff88807b1d9dc0 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffff888019a45b10 R08: ffffffff81984e30 R09: fffff5200060af29 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880155d3a10 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6902553988 CR3: 000000004378f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fd_array_map_delete_elem+0x13c/0x230 kernel/bpf/arraymap.c:830 bpf_fd_array_map_clear kernel/bpf/arraymap.c:878 [inline] prog_array_map_clear_deferred+0xfb/0x210 kernel/bpf/arraymap.c:1057 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace bc5c49fb87e0f1b7 ]--- RIP: 0010:prog_array_map_poke_run+0x65d/0x670 kernel/bpf/arraymap.c:1037 Code: d7 e7 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f6 d6 e7 ff 0f 0b e9 18 fa ff ff e8 ea d6 e7 ff 0f 0b e8 e3 d6 e7 ff <0f> 0b e8 dc d6 e7 ff 0f 0b e8 d5 d6 e7 ff 0f 0b 0f 1f 00 55 48 89 RSP: 0018:ffffc90003057ab8 EFLAGS: 00010293 RAX: ffffffff8198508d RBX: 00000000fffffff0 RCX: ffff88807b1d9dc0 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffff888019a45b10 R08: ffffffff81984e30 R09: fffff5200060af29 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880155d3a10 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c007b8863e CR3: 00000000461ee000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400