From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F487BA34 for ; Tue, 23 Dec 2025 13:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766495453; cv=none; b=dtYg6fLX1q6VZvw+1r9erNh0RD4hZo3Dhx/EvTAajgA8WinplC312y6eyhFB1Zn44+vzXOpy2INl23LGHue3bTU2sdMlQs8Yr2nnwQUCL2gNNZRRIgbDJVN3wh2ViYbdwxgra2JdhhQuN1cQL7QqE8+pBs4WVK7e0stTOTh0E8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766495453; c=relaxed/simple; bh=XeEq8kkwKo0zNZDBqGbqvnk3oc0Iyh/ZXlBJRgvtFfQ=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=JBkWzPFIUlMObbU/ufw+i5jcN3M1jOeZ2SaUecdN9RjThHaK1yW/4Q431b17hwv5PVrpAeYaqhnOQkorRzl82zXxN5+bEcRd4kyM4Zn0q6/kuDdg6YWPusYP+RMsFWmV+psTkcq0QbI/Q2R+/OQ8RQqEeDVyrZdNhP6IU2AC1pE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-65b37e173faso7545918eaf.0 for ; Tue, 23 Dec 2025 05:10:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766495450; x=1767100250; h=content-transfer-encoding:cc:to:from:subject:message-id:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hpIgJKXV6bXx8lsxasn8tuG5zwKJqISwudOFI6bbum0=; b=d2S5ZIw8Gu17TuMwN3JLbj7V/pPdHAB5DYbe/BalOpEPzUO/SDY/MlnOeiHk05+de+ mgwMxZMpf4FB7de2SORABXICavpLeL9Xc62E4Li1rhHX01aqBq94B82KZt6eszvxnK48 gCfcsd4Eebhx7i7ZV0wJpkilReuiS1FTWcnYzDI7A8chDvTjHn9ql3KcfGg5bv7w8BC3 VtvHQny5hsrSxO+tryMDZQq4QvXbugaYU7QvNFynqdxnhpZGHN1986h0G7kXs5k6NAm+ kqeIO52FK3Ki5pz2fip6dpSMOP8fEEsSUE6wxkfbSEJRmOrkrW0ayZ4m3mFOkL6tD2wM 0Few== X-Gm-Message-State: AOJu0YxWkvFB/ca8jvfNicI5TD4g7eEO+JN9yagVittERyjgNlRfJ8/X EnZGr2wi6REx1AUmELhk+sRwKBUx/Ke1UjUqonR+7yblsCStty8SWZ7XbZ/3HQbrq3thIjCwHJb wkWFqUtsA4sqICAvzz7pa3YXjrDB7cS/ecTtmPTJ+NGWp0csADts3B+8FmvE= X-Google-Smtp-Source: AGHT+IHnN1E9AXasXGt0ncLK2GMh1hvJJHg6mvRO1j0PCIy1OyQKrDPCNTt5wl3wF2TSyE+yAKtoEkRyGE3PF30CX0ZiMJvEkxhO Precedence: bulk X-Mailing-List: syzbot@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:f00c:b0:65d:be3:3110 with SMTP id 006d021491bc7-65d0e99d928mr6894365eaf.23.1766495450195; Tue, 23 Dec 2025 05:10:50 -0800 (PST) Date: Tue, 23 Dec 2025 05:10:50 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <694a94da.050a0220.19928e.0027.GAE@google.com> Subject: [moderation/CI] Re: bpf: Add value tracking for BPF_DIV From: syzbot ci To: syzkaller-upstream-moderation@googlegroups.com Cc: syzbot@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable syzbot ci has tested the following series [v2] bpf: Add value tracking for BPF_DIV https://lore.kernel.org/all/20251223091120.2413435-1-tangyazhou@zju.edu.cn * [PATCH bpf-next v2 1/2] bpf: Add interval and tnum analysis for signed an= d unsigned BPF_DIV * [PATCH bpf-next v2 2/2] selftests/bpf: Add tests for BPF_DIV analysis and found the following issue: WARNING in reg_bounds_sanity_check Full report is available here: https://ci.syzbot.org/series/9bfb8ed3-0d6e-4ae4-93a1-e5d466326f9e *** WARNING in reg_bounds_sanity_check tree: bpf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf= -next.git base: ec439c38013550420aecc15988ae6acb670838c1 arch: amd64 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp= 1~20250708183702.136), Debian LLD 20.1.8 config: https://ci.syzbot.org/builds/67e90945-0cc5-47d7-a492-406b63cd428= 1/config C repro: https://ci.syzbot.org/findings/5808370d-6cee-4ff9-9a6f-ba4007533= b78/c_repro syz repro: https://ci.syzbot.org/findings/5808370d-6cee-4ff9-9a6f-ba4007533= b78/syz_repro ------------[ cut here ]------------ verifier bug: REG INVARIANTS VIOLATION (alu): range bounds violation u64=3D= [0x1, 0x0] s64=3D[0x1, 0x0] u32=3D[0x1, 0x0] s32=3D[0x1, 0x0] var_off=3D(0x= 1, 0x0) WARNING: kernel/bpf/verifier.c:2748 at reg_bounds_sanity_check+0x201/0xc30 = kernel/bpf/verifier.c:2742, CPU#0: syz.0.17/5999 Modules linked in: CPU: 0 UID: 0 PID: 5999 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(ful= l)=20 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16= .2-1 04/01/2014 RIP: 0010:reg_bounds_sanity_check+0x3e6/0xc30 kernel/bpf/verifier.c:2742 Code: 98 00 00 00 4c 8b 8c 24 88 00 00 00 41 ff 34 24 41 57 55 41 55 ff b4 = 24 f0 00 00 00 ff b4 24 a8 00 00 00 ff b4 24 c0 00 00 00 <67> 48 0f b9 3a 4= 8 83 c4 38 49 bf 00 00 00 00 00 fc ff df 48 8b 84 RSP: 0018:ffffc90004277098 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 1ffff11022c96804 RCX: 0000000000000001 RDX: ffffffff8b71cd00 RSI: ffffffff8b71bae0 RDI: ffffffff8f861280 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 000000000000000c R11: 0000000000000000 R12: ffff8881164b4020 R13: 0000000000000001 R14: 1ffff11022c96803 R15: 0000000000000001 FS: 000055555eb0e500(0000) GS:ffff88818e835000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad443e7dac CR3: 00000001bc680000 CR4: 00000000000006f0 Call Trace: check_alu_op kernel/bpf/verifier.c:16205 [inline] do_check_insn kernel/bpf/verifier.c:20533 [inline] do_check+0xa72c/0xeba0 kernel/bpf/verifier.c:20802 do_check_common+0x19cc/0x25b0 kernel/bpf/verifier.c:24080 do_check_main kernel/bpf/verifier.c:24163 [inline] bpf_check+0x5e7a/0x1c300 kernel/bpf/verifier.c:25470 bpf_prog_load+0x13ba/0x1a10 kernel/bpf/syscall.c:3088 __sys_bpf+0x5c3/0x8a0 kernel/bpf/syscall.c:6207 __do_sys_bpf kernel/bpf/syscall.c:6320 [inline] __se_sys_bpf kernel/bpf/syscall.c:6318 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6318 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fad4418f7c9 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 f= f 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe64db1fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fad443e5fa0 RCX: 00007fad4418f7c9 RDX: 0000000000000094 RSI: 0000200000000340 RDI: 0000000000000005 RBP: 00007fad441f297f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fad443e5fa0 R14: 00007fad443e5fa0 R15: 0000000000000003 ---------------- Code disassembly (best guess): 0: 98 cwtl 1: 00 00 add %al,(%rax) 3: 00 4c 8b 8c add %cl,-0x74(%rbx,%rcx,4) 7: 24 88 and $0x88,%al 9: 00 00 add %al,(%rax) b: 00 41 ff add %al,-0x1(%rcx) e: 34 24 xor $0x24,%al 10: 41 57 push %r15 12: 55 push %rbp 13: 41 55 push %r13 15: ff b4 24 f0 00 00 00 push 0xf0(%rsp) 1c: ff b4 24 a8 00 00 00 push 0xa8(%rsp) 23: ff b4 24 c0 00 00 00 push 0xc0(%rsp) * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 83 c4 38 add $0x38,%rsp 33: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 3a: fc ff df 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 84 .byte 0x84 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. The email will later be sent to: [andrii@kernel.org ast@kernel.org bpf@vger.kernel.org daniel@iogearbox.net = eddyz87@gmail.com haoluo@google.com john.fastabend@gmail.com jolsa@kernel.o= rg kpsingh@kernel.org martin.lau@linux.dev sdf@fomichev.me shenghaoyuan0928= @163.com song@kernel.org tangyazhou518@outlook.com tangyazhou@zju.edu.cn yo= nghong.song@linux.dev ziye@zju.edu.cn] If the report looks fine to you, reply with: #syz upstream