syzbot


assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c (2)

Status: upstream: reported on 2025/11/24 19:49
Reported-by: syzbot+769b6dd090e5fdcccd48@syzkaller.appspotmail.com
First crash: 143d, last: 35d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c -1 8 644d 808d 0/3 auto-obsoleted due to no activity on 2024/10/09 15:35

Sample crash report:
panic: kernel diagnostic assertion "ISSET(bp->b_flags, B_BC)" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_bio.c", line 1661
Starting stack trace...
panic(ffffffff8340c772) at panic+0x1ba sys/kern/subr_prf.c:229
__assert(ffffffff8344cdf7,ffffffff8345179c,67d,ffffffff834b2a1e) at __assert+0x29 sys/kern/subr_prf.c:-1
bufcache_take(fffffd80625a2128) at bufcache_take+0x2d3 sys/kern/vfs_bio.c:1662
getblk(fffffd8064689970,0,4000,0,ffffffffffffffff) at getblk+0x214 sys/kern/vfs_bio.c:1025
bread(fffffd8064689970,0,4000,ffff80002a813100) at bread+0x45 bio_doread sys/kern/vfs_bio.c:418 [inline]
bread(fffffd8064689970,0,4000,ffff80002a813100) at bread+0x45 sys/kern/vfs_bio.c:463
ffs_read(ffff80002a813170) at ffs_read+0x325 sys/ufs/ffs/ffs_vnops.c:-1
VOP_READ(fffffd8064689970,ffff80002a813318,0,fffffd8007ffd750) at VOP_READ+0x101 sys/kern/vfs_vops.c:227
ufs_readdir(ffff80002a8133d0) at ufs_readdir+0x16d sys/ufs/ufs/ufs_vnops.c:1366
VOP_READDIR(fffffd8064689970,ffff80002a813458,fffffd8007ffd750,ffff80002a81349c) at VOP_READDIR+0x125 sys/kern/vfs_vops.c:453
sys_getdents(ffff80002a798a70,ffff80002a8135e0,ffff80002a813530) at sys_getdents+0x2dd sys/kern/vfs_syscalls.c:3213
syscall(ffff80002a8135e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002a8135e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e8779a76990, count: 245
End of stack trace.

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/12 12:55 openbsd fd49698d88e5 4efadf07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2026/02/11 13:02 openbsd 960213463517 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2025/11/24 19:48 openbsd 879ea5f6fdb7 bf6fe8fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
* Struck through repros no longer work on HEAD.