------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1077! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 303 Comm: kworker/1:2 Not tainted 6.1.57-syzkaller-1150533-gcee8ebf7c508 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: events prog_array_map_clear_deferred RIP: 0010:prog_array_map_poke_run+0x692/0x6b0 kernel/bpf/arraymap.c:1077 Code: 98 e4 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 81 98 e4 ff 0f 0b e9 e2 f9 ff ff e8 75 98 e4 ff 0f 0b e8 6e 98 e4 ff <0f> 0b e8 67 98 e4 ff 0f 0b e8 60 98 e4 ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc900010d7b70 EFLAGS: 00010293 RAX: ffffffff81909632 RBX: ffff88811695ba90 RCX: ffff88811eb40000 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc900010d7c08 R08: ffffffff819093bd R09: fffff5200021af3d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811e559180 R13: dffffc0000000000 R14: ffff88812407a400 R15: 00000000fffffff0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff13013af8 CR3: 000000010f773000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fd_array_map_delete_elem+0x154/0x250 kernel/bpf/arraymap.c:871 bpf_fd_array_map_clear kernel/bpf/arraymap.c:918 [inline] prog_array_map_clear_deferred+0xf8/0x210 kernel/bpf/arraymap.c:1097 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:prog_array_map_poke_run+0x692/0x6b0 kernel/bpf/arraymap.c:1077 Code: 98 e4 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 81 98 e4 ff 0f 0b e9 e2 f9 ff ff e8 75 98 e4 ff 0f 0b e8 6e 98 e4 ff <0f> 0b e8 67 98 e4 ff 0f 0b e8 60 98 e4 ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc900010d7b70 EFLAGS: 00010293 RAX: ffffffff81909632 RBX: ffff88811695ba90 RCX: ffff88811eb40000 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc900010d7c08 R08: ffffffff819093bd R09: fffff5200021af3d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811e559180 R13: dffffc0000000000 R14: ffff88812407a400 R15: 00000000fffffff0 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff13013af8 CR3: 000000010f7a2000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400