------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:977! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6331 Comm: syz.1.1416 Tainted: G W 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:prog_array_map_poke_run+0x68f/0x6b0 kernel/bpf/arraymap.c:977 Code: 92 e8 ff eb 05 e8 11 92 e8 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 fd 91 e8 ff 0f 0b e9 de f9 ff ff e8 f1 91 e8 ff <0f> 0b e8 ea 91 e8 ff 0f 0b e8 e3 91 e8 ff 0f 0b e8 dc 91 e8 ff 0f RSP: 0018:ffffc90000e77720 EFLAGS: 00010293 RAX: ffffffff81821aef RBX: 00000000fffffff0 RCX: ffff888138023b40 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc90000e777b8 R08: ffffffff81821792 R09: fffffbfff0cdd671 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888109805400 R13: 0000000000000000 R14: ffff88810b298800 R15: dffffc0000000000 FS: 00007f1b1b29a6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011d5f9000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bpf_fd_array_map_update_elem+0x201/0x310 kernel/bpf/arraymap.c:760 bpf_map_update_value+0xbc/0x420 kernel/bpf/syscall.c:187 map_update_elem kernel/bpf/syscall.c:1136 [inline] __do_sys_bpf kernel/bpf/syscall.c:4423 [inline] __se_sys_bpf+0x7687/0x11cb0 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1b1c662ef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1b1b29a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1b1c81b130 RCX: 00007f1b1c662ef9 RDX: 0000000000000020 RSI: 00000000200005c0 RDI: 0000000000000002 RBP: 00007f1b1c6d5b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1b1c81b130 R15: 00007ffc228edc58 Modules linked in: ---[ end trace c83ef27c64ee5f71 ]--- RIP: 0010:prog_array_map_poke_run+0x68f/0x6b0 kernel/bpf/arraymap.c:977 Code: 92 e8 ff eb 05 e8 11 92 e8 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 fd 91 e8 ff 0f 0b e9 de f9 ff ff e8 f1 91 e8 ff <0f> 0b e8 ea 91 e8 ff 0f 0b e8 e3 91 e8 ff 0f 0b e8 dc 91 e8 ff 0f RSP: 0018:ffffc90000e77720 EFLAGS: 00010293 RAX: ffffffff81821aef RBX: 00000000fffffff0 RCX: ffff888138023b40 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc90000e777b8 R08: ffffffff81821792 R09: fffffbfff0cdd671 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888109805400 R13: 0000000000000000 R14: ffff88810b298800 R15: dffffc0000000000 FS: 00007f1b1b29a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2f5606af78 CR3: 000000011d5f9000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400