------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:990! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 368 Comm: kworker/1:4 Not tainted 5.10.218-syzkaller-1002634-g3feee789f446 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events prog_array_map_clear_deferred RIP: 0010:prog_array_map_poke_run+0x696/0x6b0 kernel/bpf/arraymap.c:990 Code: 96 e8 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 0d 96 e8 ff 0f 0b e9 de f9 ff ff e8 01 96 e8 ff 0f 0b e8 fa 95 e8 ff <0f> 0b e8 f3 95 e8 ff 0f 0b e8 ec 95 e8 ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc90000ea7b90 EFLAGS: 00010293 RAX: ffffffff81821486 RBX: ffff888112b4dd50 RCX: ffff88810b383b40 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc90000ea7c28 R08: ffffffff81821211 R09: fffffbfff0c1d661 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888113f2ac80 R13: dffffc0000000000 R14: ffff888112d4ec00 R15: 00000000fffffff0 FS: 0000000000000000(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ec6575d58 CR3: 000000010ced2000 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:783 bpf_fd_array_map_clear kernel/bpf/arraymap.c:831 [inline] prog_array_map_clear_deferred+0xf8/0x210 kernel/bpf/arraymap.c:1010 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace 76a7920d646ea7ee ]--- RIP: 0010:prog_array_map_poke_run+0x696/0x6b0 kernel/bpf/arraymap.c:990 Code: 96 e8 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 0d 96 e8 ff 0f 0b e9 de f9 ff ff e8 01 96 e8 ff 0f 0b e8 fa 95 e8 ff <0f> 0b e8 f3 95 e8 ff 0f 0b e8 ec 95 e8 ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc90000ea7b90 EFLAGS: 00010293 RAX: ffffffff81821486 RBX: ffff888112b4dd50 RCX: ffff88810b383b40 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc90000ea7c28 R08: ffffffff81821211 R09: fffffbfff0c1d661 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888113f2ac80 R13: dffffc0000000000 R14: ffff888112d4ec00 R15: 00000000fffffff0 FS: 0000000000000000(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ec6575d58 CR3: 000000000600f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400