syzbot


WARNING in mark_chain_precision

Status: closed as dup on 2019/07/09 18:55
Subsystems: bpf
[Documentation on labels]
Reported-by: syzbot+f21251a7468cd46efc60@syzkaller.appspotmail.com
First crash: 1763d, last: 1760d
Cause bisection: introduced by (bisect log) :
commit 55fdbeaa2db8b271db767240fba24a60bd232528
Author: Sasha Neftin <sasha.neftin@intel.com>
Date: Mon Jan 7 14:40:17 2019 +0000

  igc: Remove unused code

Crash: WARNING in bpf_jit_free (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in __mark_chain_precision C done 105 1723d 1759d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in mark_chain_precision 3 (5) 2019/07/10 23:29
Last patch testing requests (1)
Created Duration User Patch Repo Result
2019/07/09 03:49 16m andrii.nakryiko@gmail.com https://github.com/anakryiko/linux bpf-fix-precise-bpf_st report log

Sample crash report:
------------[ cut here ]------------
verifier backtracking bug
WARNING: CPU: 0 PID: 8922 at kernel/bpf/verifier.c:1755 mark_chain_precision+0x15c2/0x18e0 kernel/bpf/verifier.c:1755
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 8922 Comm: syz-executor086 Not tainted 5.2.0-rc6+ #56
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x744 kernel/panic.c:219
 __warn.cold+0x20/0x4d kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:mark_chain_precision+0x15c2/0x18e0 kernel/bpf/verifier.c:1755
Code: e9 55 f2 ff ff 48 89 df e8 4b 0a 2c 00 e9 3a f3 ff ff e8 61 cb f2 ff 48 c7 c7 e0 43 91 87 c6 05 40 2b 1f 08 01 e8 1c 03 c5 ff <0f> 0b 41 be f2 ff ff ff e9 eb f7 ff ff e8 3c cb f2 ff 45 31 f6 e9
RSP: 0018:ffff888085aa7378 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815adb06 RDI: ffffed1010b54e61
RBP: ffff888085aa74d0 R08: ffff8880a15744c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a3e46e40 R14: 0000000000000001 R15: dffffc0000000000
 check_cond_jmp_op+0xcce/0x3c20 kernel/bpf/verifier.c:5793
 do_check+0x61cf/0x8930 kernel/bpf/verifier.c:7684
 bpf_check+0x6f99/0x9950 kernel/bpf/verifier.c:9195
 bpf_prog_load+0xec8/0x1670 kernel/bpf/syscall.c:1690
 __do_sys_bpf+0xa20/0x42c0 kernel/bpf/syscall.c:2830
 __se_sys_bpf kernel/bpf/syscall.c:2789 [inline]
 __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2789
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440369
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc80aba618 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440369
RDX: 0000000000000048 RSI: 0000000020000200 RDI: 0000000000000005
RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000401bf0
R13: 0000000000401c80 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/04 16:02 net-next-old a51df9f8da43 55565fa0 .config console log report syz C ci-upstream-net-kasan-gce
2019/07/04 15:43 net-next-old a51df9f8da43 55565fa0 .config console log report syz C ci-upstream-net-kasan-gce
2019/07/04 15:25 net-next-old a51df9f8da43 55565fa0 .config console log report syz C ci-upstream-net-kasan-gce
2019/07/04 15:26 linux-next f9ca7f5a1eb9 55565fa0 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:40 net-next-old a51df9f8da43 55565fa0 .config console log report ci-upstream-net-kasan-gce
2019/07/04 15:32 net-next-old a51df9f8da43 55565fa0 .config console log report ci-upstream-net-kasan-gce
2019/07/04 15:07 net-next-old a51df9f8da43 55565fa0 .config console log report ci-upstream-net-kasan-gce
2019/07/07 15:52 linux-next f9ca7f5a1eb9 f62e1e85 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/07 15:45 linux-next f9ca7f5a1eb9 f62e1e85 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 16:19 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:42 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:40 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:30 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:29 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/04 15:04 linux-next f9ca7f5a1eb9 55565fa0 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.