------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1092! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5060 Comm: kworker/1:3 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events prog_array_map_clear_deferred RIP: 0010:prog_array_map_poke_run+0x659/0x670 kernel/bpf/arraymap.c:1092 Code: fc e1 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ba fc e1 ff 0f 0b e9 1c fa ff ff e8 ae fc e1 ff 0f 0b e8 a7 fc e1 ff <0f> 0b e8 a0 fc e1 ff 0f 0b e8 99 fc e1 ff 0f 0b 0f 1f 80 00 00 00 RSP: 0018:ffffc90003cdfa58 EFLAGS: 00010293 RAX: ffffffff81abe6f9 RBX: 00000000fffffff0 RCX: ffff88806165bb80 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffff88807d76c590 R08: ffffffff81abe49c R09: 1ffff9200079bf20 R10: dffffc0000000000 R11: fffff5200079bf21 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88801bb91b10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa0f0f48d58 CR3: 000000001d3e8000 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:886 bpf_fd_array_map_clear kernel/bpf/arraymap.c:933 [inline] prog_array_map_clear_deferred+0xfb/0x210 kernel/bpf/arraymap.c:1112 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90b/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5b/0xff0 kernel/workqueue.c:2784 kthread+0x2cf/0x360 kernel/kthread.c:388 ret_from_fork+0x44/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:prog_array_map_poke_run+0x659/0x670 kernel/bpf/arraymap.c:1092 Code: fc e1 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ba fc e1 ff 0f 0b e9 1c fa ff ff e8 ae fc e1 ff 0f 0b e8 a7 fc e1 ff <0f> 0b e8 a0 fc e1 ff 0f 0b e8 99 fc e1 ff 0f 0b 0f 1f 80 00 00 00 RSP: 0018:ffffc90003cdfa58 EFLAGS: 00010293 RAX: ffffffff81abe6f9 RBX: 00000000fffffff0 RCX: ffff88806165bb80 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffff88807d76c590 R08: ffffffff81abe49c R09: 1ffff9200079bf20 R10: dffffc0000000000 R11: fffff5200079bf21 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88801bb91b10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556f67938 CR3: 0000000026e6d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400