------------[ cut here ]------------ verifier bug: scev clamp produced empty range for r8 WARNING: kernel/bpf/scev.c:2898 at bpf_clamp_scev_regs+0x1712/0x1870 kernel/bpf/scev.c:2898, CPU#1: syz-executor408/5627 Modules linked in: CPU: 1 UID: 0 PID: 5627 Comm: syz-executor408 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:bpf_clamp_scev_regs+0x1719/0x1870 kernel/bpf/scev.c:2898 Code: 48 81 c4 f0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 cb f4 00 0a cc e8 25 0f d9 ff 48 8d 3d ae 3e 8f 0f 48 8b 5c 24 10 89 de <67> 48 0f b9 3a 48 8b 7c 24 58 48 c7 c6 a0 a5 16 8c 89 da e8 1f 82 RSP: 0018:ffffc90003aaf438 EFLAGS: 00010293 RAX: ffffffff81ef855b RBX: 0000000000000008 RCX: ffff88807f5d1f40 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff917ec410 RBP: ffffffffffffffff R08: ffffc90003aaf507 R09: 0000000000000000 R10: ffffc90003aaf4e8 R11: fffff52000755ea1 R12: ffff88802a6d0000 R13: ffff888034409cc8 R14: ffff88807faa0ab8 R15: ffff88807faa0a80 FS: 0000555555ba8400(0000) GS:ffff888123bab000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d970a9f6f8 CR3: 000000007c040000 CR4: 00000000003526f0 Call Trace: maybe_clamp_scev_regs kernel/bpf/verifier.c:20442 [inline] handle_loop_entry_exit kernel/bpf/verifier.c:20472 [inline] do_check kernel/bpf/verifier.c:20568 [inline] do_check_common+0x4c3f/0x7560 kernel/bpf/verifier.c:21902 do_check_main+0x95/0x1f0 kernel/bpf/verifier.c:22004 bpf_check+0x3067/0x3530 kernel/bpf/verifier.c:24017 bpf_prog_load+0x1594/0x1d60 kernel/bpf/syscall.c:3176 __sys_bpf+0xdeb/0xe70 kernel/bpf/syscall.c:6484 __do_sys_bpf kernel/bpf/syscall.c:6606 [inline] __se_sys_bpf kernel/bpf/syscall.c:6603 [inline] __x64_sys_bpf+0xba/0xd0 kernel/bpf/syscall.c:6603 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:0x7f2e2ce7a609 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdb3095f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2e2ce7a609 RDX: 0000000000000094 RSI: 0000200000001000 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000006 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 431bde82d7b634db R14: 00007f2e2cf0dc40 R15: 0000000000000002 ---------------- Code disassembly (best guess): 0: 48 81 c4 f0 00 00 00 add $0xf0,%rsp 7: 5b pop %rbx 8: 41 5c pop %r12 a: 41 5d pop %r13 c: 41 5e pop %r14 e: 41 5f pop %r15 10: 5d pop %rbp 11: e9 cb f4 00 0a jmp 0xa00f4e1 16: cc int3 17: e8 25 0f d9 ff call 0xffd90f41 1c: 48 8d 3d ae 3e 8f 0f lea 0xf8f3eae(%rip),%rdi # 0xf8f3ed1 23: 48 8b 5c 24 10 mov 0x10(%rsp),%rbx 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 8b 7c 24 58 mov 0x58(%rsp),%rdi 34: 48 c7 c6 a0 a5 16 8c mov $0xffffffff8c16a5a0,%rsi 3b: 89 da mov %ebx,%edx 3d: e8 .byte 0xe8 3e: 1f (bad) 3f: 82 .byte 0x82