syzbot


panic: ffs_blkfree: bad size (4)

Status: upstream: reported on 2024/05/10 03:16
Reported-by: syzbot+399f63dcd94db9aa6887@syzkaller.appspotmail.com
First crash: 38d, last: 38d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: ffs_blkfree: bad size (3) 1 157d 157d 0/3 auto-obsoleted due to no activity on 2024/04/11 20:56
openbsd panic: ffs_blkfree: bad size 2 1811d 1815d 0/3 auto-closed as invalid on 2019/10/25 14:12
openbsd panic: ffs_blkfree: bad size (2) 1 262d 262d 0/3 auto-obsoleted due to no activity on 2023/12/28 07:11

Sample crash report:
panic: ffs_blkfree: bad size
Starting stack trace...
panic(ffffffff828810dd) at panic+0x16f sys/kern/subr_prf.c:229
ffs_blkfree(fffffd806e391de0,80010031,4000) at ffs_blkfree+0xa76 sys/ufs/ffs/ffs_alloc.c:1285
ffs_indirtrunc(fffffd806e391de0,fffffffffffffff4,20b680,ffffffffffffffff,0,ffff80002a79da10) at ffs_indirtrunc+0x61a sys/ufs/ffs/ffs_inode.c:493
ffs_truncate(fffffd806e391de0,0,0,ffffffffffffffff) at ffs_truncate+0xc6c sys/ufs/ffs/ffs_inode.c:297
ufs_inactive(ffff80002a79db68) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd8069578398,ffff80002a224a80) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489
vrele(fffffd8069578398) at vrele+0xd5 sys/kern/vfs_subr.c:827
ktrwriteraw(ffff80002a224a80,fffffd8069578398,fffffd807f7d32d8,ffff80002a79dd10,ffff80002a79dcf0) at ktrwriteraw+0x2b4 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline]
ktrwriteraw(ffff80002a224a80,fffffd8069578398,fffffd807f7d32d8,ffff80002a79dd10,ffff80002a79dcf0) at ktrwriteraw+0x2b4 sys/kern/kern_ktrace.c:701
ktrsyscall(ffff80002a224a80,b,20,ffff80002a79dea0) at ktrsyscall+0x283 ktrwrite sys/kern/kern_ktrace.c:623 [inline]
ktrsyscall(ffff80002a224a80,b,20,ffff80002a79dea0) at ktrsyscall+0x283 sys/kern/kern_ktrace.c:182
syscall(ffff80002a79dea0) at syscall+0x237 mi_syscall sys/sys/syscall_mi.h:158 [inline]
syscall(ffff80002a79dea0) at syscall+0x237 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7540e43a1c50, count: 246
End of stack trace.

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/10 03:15 openbsd fbadb84b3757 de979bc2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ffs_blkfree: bad size
* Struck through repros no longer work on HEAD.