------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in kernel/bpf/disasm.c:306:6 index 3 is out of range for type 'const char *const[3]' CPU: 0 UID: 0 PID: 31924 Comm: syz.3.7877 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:455 print_bpf_insn+0x21f1/0x2910 kernel/bpf/disasm.c:306 format_disasm_line kernel/bpf/diagnostics.c:633 [inline] diag_print_insn_context+0x433/0xd00 kernel/bpf/diagnostics.c:783 bpf_diag_source+0x639/0x18d0 kernel/bpf/diagnostics.c:-1 bpf_diag_program_structure+0x31c/0x430 kernel/bpf/diagnostics.c:1215 check_subprogs+0x66b/0x740 kernel/bpf/verifier.c:3057 bpf_check+0x17ba/0x2e10 kernel/bpf/verifier.c:21097 bpf_prog_load+0x14d6/0x1c20 kernel/bpf/syscall.c:3133 __sys_bpf+0xd0d/0xd90 kernel/bpf/syscall.c:6367 __do_sys_bpf kernel/bpf/syscall.c:6486 [inline] __se_sys_bpf kernel/bpf/syscall.c:6483 [inline] __x64_sys_bpf+0xba/0xd0 kernel/bpf/syscall.c:6483 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f251979e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f251a6eb028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2519a25fa0 RCX: 00007f251979e159 RDX: 0000000000000094 RSI: 00002000000001c0 RDI: 0000000000000005 RBP: 00007f2519835024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2519a26038 R14: 00007f2519a25fa0 R15: 00007ffdc8c20988 ---[ end trace ]---