syzbot


WARNING in reg_bounds_sanity_check (2)

Status: upstream: reported C repro on 2025/09/05 11:36
Subsystems: bpf
[Documentation on labels]
Reported-by: syzbot+c950cc277150935cc0b5@syzkaller.appspotmail.com
First crash: 182d, last: 56m
Cause bisection: introduced by (bisect log) :
commit 0df1a55afa832f463f9ad68ddc5de92230f1bc8a
Author: Paul Chaignon <paul.chaignon@gmail.com>
Date: Tue Jul 1 18:36:15 2025 +0000

  bpf: Warn on internal verifier errors

Crash: WARNING in reg_bounds_sanity_check (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] Monthly bpf report (Feb 2026) 0 (1) 2026/02/06 14:30
[syzbot] Monthly bpf report (Jan 2026) 0 (1) 2026/01/07 07:29
[syzbot] Monthly bpf report (Dec 2025) 0 (1) 2025/12/06 09:24
[PATCH bpf-next v2 1/2] bpf: Fix tnum_overlap to check for zero mask intersection 3 (3) 2025/10/28 17:18
[PATCH bpf-next 1/2] bpf: Fix tnum_overlap to check for zero mask first 2 (2) 2025/10/27 15:35
Re: BPF verifier missing range intersection validation in subregister bounds deduction 1 (1) 2025/10/17 14:58
[syzbot] Monthly bpf report (Oct 2025) 0 (1) 2025/10/06 17:29
[PATCH] bpf: verifier: fix WARNING in reg_bounds_sanity_check (2) 3 (3) 2025/09/16 07:39
[syzbot] [bpf?] WARNING in reg_bounds_sanity_check (2) 0 (5) 2025/09/13 21:56
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in reg_bounds_sanity_check bpf -1 C done 6525 183d 248d 29/29 fixed on 2025/09/04 16:57
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/09/13 21:56 22m kriish.sharma2006@gmail.com patch upstream OK log
2025/09/13 21:17 27m kriish.sharma2006@gmail.com patch upstream OK log
2025/09/13 20:47 0m kriish.sharma2006@gmail.com patch upstream error

Sample crash report:
verifier bug: REG INVARIANTS VIOLATION (false_reg1): range bounds violation u64=[0xfffffffefffff630, 0xffffffff00000000] s64=[0xfffffffefffff630, 0xffffffff00000000] u32=[0x30, 0x8000050] s32=[0x30, 0x0] var_off=(0xfffffffe00000030, 0x10fffffc0)(1)
WARNING: CPU: 1 PID: 6031 at kernel/bpf/verifier.c:2722 reg_bounds_sanity_check+0x62b/0x1200 kernel/bpf/verifier.c:2722
Modules linked in:
CPU: 1 UID: 0 PID: 6031 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:reg_bounds_sanity_check+0x62b/0x1200 kernel/bpf/verifier.c:2722
Code: 45 ac 50 8b 45 b0 50 8b 45 b4 50 ff 75 b8 4c 8b 4d c0 4c 8b 45 c8 48 8b 95 58 ff ff ff 48 8b b5 60 ff ff ff e8 96 76 aa ff 90 <0f> 0b 90 90 48 8b 95 40 ff ff ff 48 83 c4 38 48 b8 00 00 00 00 00
RSP: 0018:ffffc900043af2f8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: fffffffefffff630 RCX: ffffffff817a3388
RDX: ffff88802ab90000 RSI: ffffffff817a3395 RDI: 0000000000000001
RBP: ffffc900043af3f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880756a0000
R13: ffff888023fb01bc R14: ffff888023fb01b4 R15: ffff888023fb0168
FS:  00005555645e7500(0000) GS:ffff8881247b6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8dcc7c7dac CR3: 00000000753db000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 reg_set_min_max kernel/bpf/verifier.c:16336 [inline]
 reg_set_min_max+0x1dc/0x2c0 kernel/bpf/verifier.c:16308
 check_cond_jmp_op+0x19b0/0x72d0 kernel/bpf/verifier.c:16768
 do_check_insn kernel/bpf/verifier.c:19956 [inline]
 do_check kernel/bpf/verifier.c:20093 [inline]
 do_check_common+0xa13e/0xb410 kernel/bpf/verifier.c:23260
 do_check_main kernel/bpf/verifier.c:23343 [inline]
 bpf_check+0x869f/0xc670 kernel/bpf/verifier.c:24703
 bpf_prog_load+0xe41/0x2490 kernel/bpf/syscall.c:2979
 __sys_bpf+0x4a3f/0x4de0 kernel/bpf/syscall.c:6029
 __do_sys_bpf kernel/bpf/syscall.c:6139 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:6137 [inline]
 __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:6137
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8dcc58ebe9
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:00007ffc501e4a78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f8dcc7c5fa0 RCX: 00007f8dcc58ebe9
RDX: 0000000000000048 RSI: 00002000000017c0 RDI: 0000000000000005
RBP: 00007f8dcc611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8dcc7c5fa0 R14: 00007f8dcc7c5fa0 R15: 0000000000000003
 </TASK>

Crashes (19539):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/05 12:12 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in reg_bounds_sanity_check
2025/09/05 11:32 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in reg_bounds_sanity_check
2026/03/05 04:51 upstream ecc64d2dc9ff a9fe5c9e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/05 04:22 upstream ecc64d2dc9ff a9fe5c9e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/01/07 01:20 upstream 54e82e93ca93 d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2025/11/22 14:08 upstream 2eba5e05d9bc 4fb8ef37 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2025/10/21 02:53 upstream 6548d364a3e8 9832ed61 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2025/09/24 11:28 upstream cec1e6e5d1ab 0abd0691 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2025/09/05 12:06 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2025/09/05 11:27 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2025/09/05 11:27 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2025/09/05 11:08 upstream d69eb204c255 d291dd2d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/02/28 20:25 net 101bacb303e8 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in reg_bounds_sanity_check
2026/02/28 18:54 net dabffd08545f 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in reg_bounds_sanity_check
2025/11/26 11:09 bpf 22d70d400556 64219f15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/13 16:11 bpf 22f20375f5b7 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/13 15:40 bpf 22f20375f5b7 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/13 15:11 bpf 22f20375f5b7 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2025/11/27 15:17 bpf-next 688b745401ab d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/22 22:16 bpf-next 5a427fddec5e 0ac7291c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/22 21:45 bpf-next 5a427fddec5e 0ac7291c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2025/09/22 21:13 bpf-next 5a427fddec5e 0ac7291c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/07 07:20 upstream 651690480a96 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in reg_bounds_sanity_check
2026/03/06 16:30 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in reg_bounds_sanity_check
2026/03/06 15:17 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/03/06 14:54 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in reg_bounds_sanity_check
2026/03/05 23:08 upstream c107785c7e8d d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in reg_bounds_sanity_check
2026/03/05 17:31 upstream c107785c7e8d d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in reg_bounds_sanity_check
2026/03/04 18:23 upstream 0031c06807cf e6b6b96b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/03/03 17:51 upstream af4e9ef3d784 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in reg_bounds_sanity_check
2026/03/01 15:17 upstream eb71ab2bf722 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in reg_bounds_sanity_check
2026/03/01 12:30 upstream eb71ab2bf722 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in reg_bounds_sanity_check
2026/03/07 03:01 upstream 651690480a96 5cb44a80 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2026/03/07 00:51 upstream 651690480a96 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/07 00:11 upstream 651690480a96 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/06 13:47 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/06 12:47 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/06 02:42 upstream 5ee8dbf54602 31e9c887 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2026/03/05 02:09 upstream ecc64d2dc9ff a9fe5c9e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2026/03/03 03:56 upstream af4e9ef3d784 28b83e23 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2026/03/02 23:33 upstream 11439c4635ed b9dd6534 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/02 18:13 upstream 11439c4635ed b9dd6534 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in reg_bounds_sanity_check
2026/03/01 10:11 upstream eb71ab2bf722 43249bac .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in reg_bounds_sanity_check
2026/03/07 08:38 upstream 651690480a96 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in reg_bounds_sanity_check
2026/03/07 01:59 upstream 651690480a96 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in reg_bounds_sanity_check
2026/03/06 13:48 upstream 5ee8dbf54602 41d8037d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in reg_bounds_sanity_check
2026/03/05 20:40 upstream c107785c7e8d d20b04c8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in reg_bounds_sanity_check
2026/03/03 22:13 upstream af4e9ef3d784 4180d919 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in reg_bounds_sanity_check
2026/03/03 15:27 upstream af4e9ef3d784 4180d919 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in reg_bounds_sanity_check
2026/03/02 23:37 upstream 11439c4635ed b9dd6534 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in reg_bounds_sanity_check
2026/03/01 18:09 upstream eb71ab2bf722 2cf092b8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in reg_bounds_sanity_check
2026/03/01 11:06 upstream eb71ab2bf722 43249bac .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in reg_bounds_sanity_check
2026/02/08 15:11 upstream e7aa57247700 4c131dc4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in reg_bounds_sanity_check
2026/01/20 08:56 upstream 24d479d26b25 56f88057 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in reg_bounds_sanity_check
2026/03/05 16:14 bpf 56145d237385 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 12:34 bpf 56145d237385 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 02:27 bpf 56145d237385 a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/03 02:57 bpf 3ebc98c1ae7e 28b83e23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/02 15:53 bpf eb71ab2bf722 b9dd6534 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/07 06:09 bpf-next 6dd780f97381 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/07 03:29 net-next 260d27b3aec9 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/06 01:31 bpf-next 748f9c6811b9 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/06 01:31 bpf-next 748f9c6811b9 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 16:10 bpf-next 4faa1893807c d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 13:55 net-next 6d32a196beb4 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 00:15 bpf-next 05c9b2eda8a9 a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/03 16:17 bpf-next 309d8808eef9 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/03 14:47 bpf-next 309d8808eef9 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/03 14:16 bpf-next 309d8808eef9 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/03 01:41 bpf-next 309d8808eef9 28b83e23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/02 14:47 bpf-next 309d8808eef9 b9dd6534 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/02 00:08 net-next 01857fc712f6 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/01 19:12 net-next 01857fc712f6 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/01 10:33 bpf-next f620af11c27b 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in reg_bounds_sanity_check
2026/03/05 19:16 linux-next 3f9cd19e764b d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/03/03 19:07 linux-next c025f6cf4209 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/03/02 22:03 linux-next d517cb8cea01 b9dd6534 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/03/01 12:11 linux-next 3fa5e5702a82 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/02/28 12:29 linux-next 3fa5e5702a82 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in reg_bounds_sanity_check
2026/02/09 01:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in reg_bounds_sanity_check
* Struck through repros no longer work on HEAD.