------------[ cut here ]------------ kernel BUG at kernel/bpf/arraymap.c:1024! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 29565 Comm: syz-executor.0 Not tainted 5.15.144-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:ffffc90002d87c68 EFLAGS: 00010293 RAX: ffffffff81985086 RBX: 00000000fffffff0 RCX: ffff88808bca1dc0 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: dffffc0000000000 R08: ffffffff81984d53 R09: fffff520005b0f5d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88805ffbed80 FS: 00007f4cfa8406c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000d000 CR3: 00000000194e2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:0x7f4cfc300ce9 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:00007f4cfa8400c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4cfc420120 RCX: 00007f4cfc300ce9 RDX: 0000000000000020 RSI: 0000000020000580 RDI: 0000000000000002 RBP: 00007f4cfc34d47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4cfc420120 R15: 00007ffee72aeb08 Modules linked in: ---[ end trace e720aa95933bb6a9 ]--- 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:ffffc90002d87c68 EFLAGS: 00010293 RAX: ffffffff81985086 RBX: 00000000fffffff0 RCX: ffff88808bca1dc0 RDX: 0000000000000000 RSI: 00000000fffffff0 RDI: 00000000ffffffea RBP: dffffc0000000000 R08: ffffffff81984d53 R09: fffff520005b0f5d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88805ffbed80 FS: 00007f4cfa8406c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa915f5e198 CR3: 00000000194e2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600