verifier bug: REG INVARIANTS VIOLATION (false_reg1): range bounds violation u64=[0x20, 0x0] s64=[0x20, 0x0] u32=[0x20, 0x0] s32=[0x20, 0x0] var_off=(0x20, 0x0)(1) WARNING: CPU: 1 PID: 3918 at kernel/bpf/verifier.c:2682 reg_bounds_sanity_check+0x160/0x220 kernel/bpf/verifier.c:2682 Modules linked in: CPU: 1 UID: 0 PID: 3918 Comm: syz.2.17 Not tainted syzkaller #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:reg_bounds_sanity_check+0x160/0x220 kernel/bpf/verifier.c:2682 Code: 9a 29 01 c6 05 9c 87 2e 02 01 90 41 56 48 c7 c7 b0 fc f9 82 41 52 41 55 41 53 56 52 4c 89 fa 50 48 8b 75 c8 e8 41 57 e6 ff 90 <0f> 0b 90 90 4c 8b 73 20 4c 8b 53 18 48 83 c4 38 44 8b 6b 4c 44 8b RSP: 0018:ffffc900078e7920 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88811c6a0168 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff83128827 RDI: 00000000ffffffff RBP: ffffc900078e7990 R08: 0000000000000000 R09: 0000000000000003 R10: ffffc900078e77b8 R11: ffffffff835943c8 R12: ffff88811bf80000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff830a6397 FS: 00007f2ff38e76c0(0000) GS:ffff8882b3993000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ff38e6f98 CR3: 000000011452f000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reg_set_min_max kernel/bpf/verifier.c:16262 [inline] reg_set_min_max+0x11e/0x1d0 kernel/bpf/verifier.c:16234 check_cond_jmp_op+0x9f0/0x15b0 kernel/bpf/verifier.c:16694 do_check_insn kernel/bpf/verifier.c:19882 [inline] do_check kernel/bpf/verifier.c:20017 [inline] do_check_common+0x24cb/0x2c10 kernel/bpf/verifier.c:23180 do_check_main kernel/bpf/verifier.c:23263 [inline] bpf_check+0x253e/0x3010 kernel/bpf/verifier.c:24619 bpf_prog_load+0x6f4/0xc50 kernel/bpf/syscall.c:2972 __sys_bpf+0x22bc/0x2300 kernel/bpf/syscall.c:5978 __do_sys_bpf kernel/bpf/syscall.c:6085 [inline] __se_sys_bpf kernel/bpf/syscall.c:6083 [inline] __x64_sys_bpf+0x19/0x30 kernel/bpf/syscall.c:6083 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xb6/0x3e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2ff3a7ebe9 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:00007f2ff38e7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2ff3cb5fa0 RCX: 00007f2ff3a7ebe9 RDX: 0000000000000048 RSI: 00002000000017c0 RDI: 0000000000000005 RBP: 00007f2ff3b01e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2ff3cb6038 R14: 00007f2ff3cb5fa0 R15: 00007ffe5f9d4738