------------[ cut here ]------------ verifier bug: REG INVARIANTS VIOLATION (true_reg1): range bounds violation u64=[0xffffdfcd, 0xffffffffffffdfcc] s64=[0x80000000ffffdfcd, 0x7fffffffffffdfcc] u32=[0xffffdfcd, 0xffffdfcc] s32=[0xffffdfcd, 0xffffdfcc] var_off=(0xffffdfcc, 0xffffffff00000000) WARNING: kernel/bpf/verifier.c:2737 at reg_bounds_sanity_check+0x6e6/0xc20 kernel/bpf/verifier.c:2731, CPU#0: syz.1.1472/9680 Modules linked in: CPU: 0 UID: 0 PID: 9680 Comm: syz.1.1472 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:reg_bounds_sanity_check+0x6e6/0xc20 kernel/bpf/verifier.c:2731 Code: 24 20 4c 8b 44 24 60 4c 8b 4c 24 58 41 ff 75 00 53 41 57 55 ff 74 24 38 ff 74 24 70 ff 74 24 40 e8 df f0 a8 ff 48 83 c4 38 90 <0f> 0b 90 90 48 bb 00 00 00 00 00 fc ff df 4d 89 f7 4c 8b 74 24 08 RSP: 0018:ffffc90003016ee8 EFLAGS: 00010286 RAX: e2dd1638e74faf00 RBX: 00000000ffffdfcc RCX: 0000000000080000 RDX: ffffc9000f5c1000 RSI: 00000000000195e1 RDI: 00000000000195e2 RBP: 00000000ffffdfcd R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa6c0 R12: ffff88807cd16230 R13: ffff88807cd16250 R14: ffff88807cd16268 R15: 00000000ffffdfcc FS: 00007fdc1ffd56c0(0000) GS:ffff888125cf6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc1ffd4f98 CR3: 000000002ee84000 CR4: 00000000003526f0 Call Trace: reg_set_min_max+0x214/0x300 kernel/bpf/verifier.c:16443 check_cond_jmp_op+0x1985/0x2d50 kernel/bpf/verifier.c:16877 do_check_insn kernel/bpf/verifier.c:19965 [inline] do_check+0x5ac2/0xee10 kernel/bpf/verifier.c:20105 do_check_common+0x1963/0x2540 kernel/bpf/verifier.c:23295 do_check_main kernel/bpf/verifier.c:23378 [inline] bpf_check+0x1704b/0x1d210 kernel/bpf/verifier.c:24683 bpf_prog_load+0x13ba/0x19e0 kernel/bpf/syscall.c:3077 __sys_bpf+0x507/0x860 kernel/bpf/syscall.c:6149 __do_sys_bpf kernel/bpf/syscall.c:6259 [inline] __se_sys_bpf kernel/bpf/syscall.c:6257 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6257 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdc21d8efc9 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:00007fdc1ffd5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fdc21fe6180 RCX: 00007fdc21d8efc9 RDX: 0000000000000048 RSI: 00002000000054c0 RDI: 0000000000000005 RBP: 00007fdc21e11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc21fe6218 R14: 00007fdc21fe6180 R15: 00007ffd8728e668