syzbot


panic: indir_trunc: Bad indirdep 0 from buf ADDR

Status: fixed on 2019/07/30 03:29
Reported-by: syzbot+6532e9aab8911f58beeb@syzkaller.appspotmail.com
Fix commit: 577fca0e204d Lock the vnode before calling ufs_bmap_seekdata().
First crash: 1341d, last: 1341d

Sample crash report:
panic: indir_trunc: Bad indirdep 0 from buf 0xfffffe0000b59300
cpuid = 1
time = 19
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0020e0e630
vpanic() at vpanic+0x1e0/frame 0xfffffe0020e0e690
panic() at panic+0x43/frame 0xfffffe0020e0e6f0
indir_trunc() at indir_trunc+0xadc/frame 0xfffffe0020e0e7d0
indir_trunc() at indir_trunc+0x5d6/frame 0xfffffe0020e0e8b0
handle_workitem_freeblocks() at handle_workitem_freeblocks+0x2f7/frame 0xfffffe0020e0e920
process_worklist_item() at process_worklist_item+0x359/frame 0xfffffe0020e0e9c0
softdep_process_worklist() at softdep_process_worklist+0xea/frame 0xfffffe0020e0ea10
softdep_flush() at softdep_flush+0x134/frame 0xfffffe0020e0ea60
fork_exit() at fork_exit+0xb0/frame 0xfffffe0020e0eab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0020e0eab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 19 tid 100077 ]
Stopped at      kdb_enter+0x6a: movq    $0,kdb_why

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-freebsd-main 2019/06/05 22:14 freebsd ae1a873a0d0b bfb4a51e console log report
* Struck through repros no longer work on HEAD.