------------[ cut here ]------------ verifier bug: error during ctx access conversion(1) WARNING: CPU: 0 PID: 6379 at kernel/bpf/verifier.c:21448 convert_ctx_accesses+0x2045/0x2920 kernel/bpf/verifier.c:21448 Modules linked in: CPU: 0 UID: 0 PID: 6379 Comm: syz.3.171 Not tainted 6.16.0-syzkaller-06699-ge8d780dcd957 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:convert_ctx_accesses+0x2045/0x2920 kernel/bpf/verifier.c:21448 Code: c7 c6 40 8d b5 8b e8 0a a3 07 00 e9 a4 f9 ff ff e8 70 60 e9 ff c6 05 f4 9d be 0e 01 90 48 c7 c7 a0 8d b5 8b e8 5c 49 a8 ff 90 <0f> 0b 90 90 e9 f1 fe ff ff e8 4d 60 e9 ff 0f b6 1d d4 9d be 0e 31 RSP: 0018:ffffc900010ef6d8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000d005000 RDX: 0000000000080000 RSI: ffffffff8179f5d5 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffc90002c56048 R14: 0000000000000004 R15: ffff88806e8b0000 FS: 0000000000000000(0000) GS:ffff88809752c000(0063) knlGS:00000000f5106b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73d6188 CR3: 000000006c92a000 CR4: 0000000000352ef0 Call Trace: bpf_check+0x5add/0xc480 kernel/bpf/verifier.c:24736 bpf_prog_load+0xe41/0x2490 kernel/bpf/syscall.c:2972 __sys_bpf+0x4a3f/0x4de0 kernel/bpf/syscall.c:6022 __do_sys_bpf kernel/bpf/syscall.c:6132 [inline] __se_sys_bpf kernel/bpf/syscall.c:6130 [inline] __ia32_sys_bpf+0x76/0xe0 kernel/bpf/syscall.c:6130 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x3a0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fe8579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f510655c EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000800054c0 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi