------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1064! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 2358 Comm: syz-executor.3 Not tainted 6.1.57-syzkaller-00067-gd3006fb9449d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:prog_array_map_poke_run+0x68b/0x6b0 kernel/bpf/arraymap.c:1064 Code: 97 e4 ff eb 05 e8 f5 97 e4 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e1 97 e4 ff 0f 0b e9 e2 f9 ff ff e8 d5 97 e4 ff <0f> 0b e8 ce 97 e4 ff 0f 0b e8 c7 97 e4 ff 0f 0b e8 c0 97 e4 ff 0f RSP: 0018:ffffc9000ce4fba8 EFLAGS: 00010293 RAX: ffffffff8190999b RBX: 00000000fffffff0 RCX: ffff8881171f0000 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc9000ce4fc40 R08: ffffffff8190963e R09: fffff520019c9f41 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88813ee03c80 R13: 0000000000000000 R14: ffff888158b41400 R15: dffffc0000000000 FS: 00007eff93c356c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f490a707d58 CR3: 0000000115b18000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bpf_fd_array_map_update_elem+0x201/0x310 kernel/bpf/arraymap.c:848 bpf_map_update_value+0xbc/0x410 kernel/bpf/syscall.c:195 map_update_elem+0x500/0x680 kernel/bpf/syscall.c:1428 __sys_bpf+0x460/0x7f0 kernel/bpf/syscall.c:4960 __do_sys_bpf kernel/bpf/syscall.c:5076 [inline] __se_sys_bpf kernel/bpf/syscall.c:5074 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7eff92e7cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007eff93c350c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007eff92f9c120 RCX: 00007eff92e7cce9 RDX: 0000000000000020 RSI: 00000000200005c0 RDI: 0000000000000002 RBP: 00007eff92ec947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007eff92f9c120 R15: 00007ffff47ceb48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:prog_array_map_poke_run+0x68b/0x6b0 kernel/bpf/arraymap.c:1064 Code: 97 e4 ff eb 05 e8 f5 97 e4 ff 48 83 c4 70 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e1 97 e4 ff 0f 0b e9 e2 f9 ff ff e8 d5 97 e4 ff <0f> 0b e8 ce 97 e4 ff 0f 0b e8 c7 97 e4 ff 0f 0b e8 c0 97 e4 ff 0f RSP: 0018:ffffc9000ce4fba8 EFLAGS: 00010293 RAX: ffffffff8190999b RBX: 00000000fffffff0 RCX: ffff8881171f0000 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: ffffc9000ce4fc40 R08: ffffffff8190963e R09: fffff520019c9f41 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88813ee03c80 R13: 0000000000000000 R14: ffff888158b41400 R15: dffffc0000000000 FS: 00007eff93c356c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd87616bf00 CR3: 0000000115b18000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600