------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1024! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10561 Comm: syz-executor.1 Not tainted 5.15.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:prog_array_map_poke_run+0x656/0x670 kernel/bpf/arraymap.c:1024 Code: d7 e7 ff eb 05 e8 0a d7 e7 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f6 d6 e7 ff 0f 0b e9 18 fa ff ff e8 ea d6 e7 ff <0f> 0b e8 e3 d6 e7 ff 0f 0b e8 dc d6 e7 ff 0f 0b e8 d5 d6 e7 ff 0f RSP: 0018:ffffc90004a8fc68 EFLAGS: 00010293 RAX: ffffffff81985086 RBX: 00000000fffffff0 RCX: ffff888088aabb80 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: dffffc0000000000 R08: ffffffff81984d53 R09: fffff52000951f5d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88807963c600 FS: 00007fd9fb5476c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000007d544000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bpf_fd_array_map_update_elem+0x20d/0x320 kernel/bpf/arraymap.c:807 map_update_elem+0x6a0/0x7c0 kernel/bpf/syscall.c:1163 __sys_bpf+0x2fd/0x670 kernel/bpf/syscall.c:4602 __do_sys_bpf kernel/bpf/syscall.c:4718 [inline] __se_sys_bpf kernel/bpf/syscall.c:4716 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4716 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+0x61/0xcb RIP: 0033:0x7fd9fcfc5ce9 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:00007fd9fb5470c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fd9fd0e4f80 RCX: 00007fd9fcfc5ce9 RDX: 0000000000000020 RSI: 0000000020000d00 RDI: 0000000000000002 RBP: 00007fd9fd01247a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9fd0e4f80 R15: 00007ffde07b5eb8 Modules linked in: ---[ end trace c96cd30b658079e8 ]--- RIP: 0010:prog_array_map_poke_run+0x656/0x670 kernel/bpf/arraymap.c:1024 Code: d7 e7 ff eb 05 e8 0a d7 e7 ff 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f6 d6 e7 ff 0f 0b e9 18 fa ff ff e8 ea d6 e7 ff <0f> 0b e8 e3 d6 e7 ff 0f 0b e8 dc d6 e7 ff 0f 0b e8 d5 d6 e7 ff 0f RSP: 0018:ffffc90004a8fc68 EFLAGS: 00010293 RAX: ffffffff81985086 RBX: 00000000fffffff0 RCX: ffff888088aabb80 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: dffffc0000000000 R08: ffffffff81984d53 R09: fffff52000951f5d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88807963c600 FS: 00007fd9fb5476c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f72166f4d58 CR3: 000000007d544000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600