------------[ cut here ]------------ verifier bug: REG INVARIANTS VIOLATION (false_reg1): range bounds violation u64=[0x4000000, 0x0] s64=[0x4000000, 0x0] u32=[0x4000000, 0x0] s32=[0x4000000, 0x0] var_off=(0x0, 0x0) WARNING: kernel/bpf/verifier.c:2742 at 0x0, CPU#1: syz.3.4672/23785 Modules linked in: CPU: 1 UID: 0 PID: 23785 Comm: syz.3.4672 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:reg_bounds_sanity_check+0x361/0x1360 kernel/bpf/verifier.c:2742 Code: ff ff 50 8b 85 6c ff ff ff 50 8b 85 7c ff ff ff 50 8b 85 78 ff ff ff 50 ff 75 b8 4c 8b 4d c0 48 8b 95 70 ff ff ff 48 8b 75 80 <67> 48 0f b9 3a 48 8b 95 48 ff ff ff 48 83 c4 38 48 b8 00 00 00 00 RSP: 0018:ffffc90002f872a0 EFLAGS: 00010283 RAX: 0000000004000000 RBX: ffff88802f99e2ec RCX: 0000000004000000 RDX: ffffffff8b95d740 RSI: ffffffff8b962460 RDI: ffffffff908b34a0 RBP: ffffc90002f87390 R08: 0000000000000000 R09: 0000000004000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000004000000 R13: 0000000000000000 R14: ffff88802f99e2f4 R15: ffff88802f99e2a0 FS: 00007f2d291d56c0(0000) GS:ffff888124a61000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c411870 CR3: 00000000830ec000 CR4: 0000000000350ef0 Call Trace: reg_set_min_max kernel/bpf/verifier.c:16572 [inline] reg_set_min_max+0x1e6/0x2d0 kernel/bpf/verifier.c:16537 check_cond_jmp_op+0xca2/0x7890 kernel/bpf/verifier.c:17016 do_check_insn kernel/bpf/verifier.c:20441 [inline] do_check kernel/bpf/verifier.c:20581 [inline] do_check_common+0xa4d3/0xc640 kernel/bpf/verifier.c:23865 do_check_main kernel/bpf/verifier.c:23948 [inline] bpf_check+0x82aa/0xc820 kernel/bpf/verifier.c:25255 bpf_prog_load+0x114e/0x2c70 kernel/bpf/syscall.c:3088 __sys_bpf+0x3e72/0x4980 kernel/bpf/syscall.c:6164 __do_sys_bpf kernel/bpf/syscall.c:6274 [inline] __se_sys_bpf kernel/bpf/syscall.c:6272 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:6272 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2d2af8f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2d291d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2d2b1e6180 RCX: 00007f2d2af8f749 RDX: 0000000000000048 RSI: 00002000000054c0 RDI: 0000000000000005 RBP: 00007f2d2b013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2d2b1e6218 R14: 00007f2d2b1e6180 R15: 00007ffd446397e8 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 50 push %rax 1: 8b 85 6c ff ff ff mov -0x94(%rbp),%eax 7: 50 push %rax 8: 8b 85 7c ff ff ff mov -0x84(%rbp),%eax e: 50 push %rax f: 8b 85 78 ff ff ff mov -0x88(%rbp),%eax 15: 50 push %rax 16: ff 75 b8 push -0x48(%rbp) 19: 4c 8b 4d c0 mov -0x40(%rbp),%r9 1d: 48 8b 95 70 ff ff ff mov -0x90(%rbp),%rdx 24: 48 8b 75 80 mov -0x80(%rbp),%rsi * 28: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2d: 48 8b 95 48 ff ff ff mov -0xb8(%rbp),%rdx 34: 48 83 c4 38 add $0x38,%rsp 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax