syzbot


panic: ffs_blkfree_cg: freeing free block

Status: fixed on 2019/04/29 23:55
Reported-by: syzbot+36fd786cb3ab88f18c9b@syzkaller.appspotmail.com
Fix commit: a7a455c299b0 Optimize lseek(SEEK_DATA) on UFS.
First crash: 1421d, last: 1421d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
freebsd panic: ffs_blkfree_cg: freeing free block (2) 2 1357d 1377d 2/2 fixed on 2019/07/30 03:29

Sample crash report:
panic: ffs_blkfree_cg: freeing free block
cpuid = 0
time = 1552872502
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0020dfc150
vpanic() at vpanic+0x1e0/frame 0xfffffe0020dfc1b0
panic() at panic+0x43/frame 0xfffffe0020dfc210
ffs_blkfree_cg() at ffs_blkfree_cg+0x6e9/frame 0xfffffe0020dfc2d0
ffs_blkfree() at ffs_blkfree+0x15e/frame 0xfffffe0020dfc350
ffs_indirtrunc() at ffs_indirtrunc+0x724/frame 0xfffffe0020dfc450
ffs_indirtrunc() at ffs_indirtrunc+0x856/frame 0xfffffe0020dfc530
ffs_truncate() at ffs_truncate+0x17c3/frame 0xfffffe0020dfc720
ufs_setattr() at ufs_setattr+0x918/frame 0xfffffe0020dfc7c0
VOP_SETATTR_APV() at VOP_SETATTR_APV+0xc2/frame 0xfffffe0020dfc7f0
vn_truncate() at vn_truncate+0x23f/frame 0xfffffe0020dfc930
kern_ftruncate() at kern_ftruncate+0x13b/frame 0xfffffe0020dfc980
amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0020dfcab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0020dfcab0
--- syscall (0, FreeBSD ELF64, nosys), rip = 0x42132a, rsp = 0x7fffffffea88, rbp = 0x2 ---
KDB: enter: panic
[ thread pid 762 tid 100093 ]
Stopped at      kdb_enter+0x6a: movq    $0,kdb_why

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-freebsd-main 2019/03/18 01:31 freebsd 8b17fbc25c73 f8757044 console log report syz C
ci-freebsd-main 2019/03/18 05:00 freebsd 8b17fbc25c73 f8757044 console log report
ci-freebsd-main 2019/03/18 04:03 freebsd 8b17fbc25c73 f8757044 console log report
ci-freebsd-main 2019/03/18 03:07 freebsd 8b17fbc25c73 f8757044 console log report
ci-freebsd-main 2019/03/18 01:14 freebsd 8b17fbc25c73 f8757044 console log report
* Struck through repros no longer work on HEAD.