WARNING in bpf_mark_chain_precision

Status: upstream: reported C repro on 2026/09/04 14:14
Subsystems: bpf
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+7b47f87674e9a1569110@syzkaller.appspotmail.com
First crash: 21h11m, last: 6h03m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
b68cdfd5 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING in bpf_mark_chain_precision 2026/09/04 07:53 2026/09/04 07:53 2026/09/04 08:39 801f0966
Discussions (2)
Title Replies (including bot) Last reply
[PATCH bpf v1 1/2] bpf: Reject non-scalar bpf_loop iteration counts 1 (1) 2026/09/05 01:47
[syzbot] [bpf?] WARNING in bpf_mark_chain_precision 0 (2) 2026/09/05 00:33
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/09/05 00:33 18m kartikey406@gmail.com patch bpf error job log

Sample crash report:
------------[ cut here ]------------
verifier bug: backtracking misuse
WARNING: kernel/bpf/backtrack.c:829 at bpf_mark_chain_precision+0x571b/0x76b0 kernel/bpf/backtrack.c:829, CPU#1: syz-executor333/5631
Modules linked in:
CPU: 1 UID: 0 PID: 5631 Comm: syz-executor333 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:bpf_mark_chain_precision+0x571b/0x76b0 kernel/bpf/backtrack.c:829
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 16 ff ff ff 48 89 df e8 56 18 44 00 e9 09 ff ff ff e8 ac b9 d4 ff 48 8d 3d 55 3b 6a 0e <67> 48 0f b9 3a 48 8b 3c 24 48 81 c7 88 08 00 00 48 c7 c6 e0 c6 f6
RSP: 0018:ffffc90003a87228 EFLAGS: 00010293
RAX: ffffffff81f253b4 RBX: 0000000000000001 RCX: ffff88807e451f40
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffffff905c8f10
RBP: 0000000000000003 R08: ffff88807e451f40 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000000 R12: ffff888033de8050
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000
FS:  0000555564871400(0000) GS:ffff888125024000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006a9ee0 CR3: 000000007306c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 mark_chain_precision kernel/bpf/verifier.c:3380 [inline]
 check_helper_call kernel/bpf/verifier.c:10913 [inline]
 do_check_insn+0x13ac7/0x18d90 kernel/bpf/verifier.c:18234
 do_check kernel/bpf/verifier.c:18420 [inline]
 do_check_common+0x3c19/0x5d30 kernel/bpf/verifier.c:19501
 do_check_main kernel/bpf/verifier.c:19597 [inline]
 bpf_check+0x2639/0x2e10 kernel/bpf/verifier.c:21252
 bpf_prog_load+0x14d6/0x1c20 kernel/bpf/syscall.c:3133
 __sys_bpf+0xd0d/0xd90 kernel/bpf/syscall.c:6367
 __do_sys_bpf kernel/bpf/syscall.c:6486 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:6483 [inline]
 __x64_sys_bpf+0xba/0xd0 kernel/bpf/syscall.c:6483
 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:0x7fe94ab8e749
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:00007ffc89b6f218 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe94ab8e749
RDX: 0000000000000080 RSI: 0000200000000300 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe94ac21c40 R15: 0000000000000002
 </TASK>
----------------
Code disassembly (best guess):
   0:	ff 89 d9 80 e1 07    	decl   0x7e180d9(%rcx)
   6:	80 c1 03             	add    $0x3,%cl
   9:	38 c1                	cmp    %al,%cl
   b:	0f 8c 16 ff ff ff    	jl     0xffffff27
  11:	48 89 df             	mov    %rbx,%rdi
  14:	e8 56 18 44 00       	call   0x44186f
  19:	e9 09 ff ff ff       	jmp    0xffffff27
  1e:	e8 ac b9 d4 ff       	call   0xffd4b9cf
  23:	48 8d 3d 55 3b 6a 0e 	lea    0xe6a3b55(%rip),%rdi        # 0xe6a3b7f
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 8b 3c 24          	mov    (%rsp),%rdi
  33:	48 81 c7 88 08 00 00 	add    $0x888,%rdi
  3a:	48                   	rex.W
  3b:	c7                   	.byte 0xc7
  3c:	c6                   	(bad)
  3d:	e0 c6                	loopne 0x5
  3f:	f6                   	.byte 0xf6

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/04 22:58 bpf 6b31560c6bc1 3f042c7b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:42 bpf 6b31560c6bc1 3f042c7b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 07:52 bpf e044668419b9 801f0966 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:48 bpf-next 3ccdb0781382 3f042c7b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 07:51 bpf-next 7bf591f26545 801f0966 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 19:54 upstream bc35965f6940 44dda43b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in bpf_mark_chain_precision
2026/09/04 19:53 upstream bc35965f6940 44dda43b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in bpf_mark_chain_precision
2026/09/04 19:52 upstream bc35965f6940 44dda43b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in bpf_mark_chain_precision
2026/09/04 19:51 upstream bc35965f6940 44dda43b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in bpf_mark_chain_precision
2026/09/04 22:22 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 22:22 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 22:18 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:44 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:43 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:41 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:20 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:20 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:18 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:14 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:14 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 20:08 net 641d03105cc0 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:48 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:48 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:47 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:46 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:46 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:44 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:38 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:38 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
2026/09/04 21:37 net-next 6ebcf5074cff 3f042c7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_mark_chain_precision
* Struck through repros no longer work on HEAD.