syzbot


assert "bp->b_data != NULL" failed in vfs_biomem.c (4)

Status: auto-obsoleted due to no activity on 2024/04/02 12:49
Reported-by: syzbot+ad7f0e0d846df4607d0b@syzkaller.appspotmail.com
First crash: 325d, last: 323d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (3) 2 784d 800d 0/3 auto-obsoleted due to no activity on 2022/12/28 15:30
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c 1 1058d 1058d 0/3 auto-closed as invalid on 2022/03/29 13:49
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (2) 2 915d 967d 0/3 auto-closed as invalid on 2022/08/19 17:45
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (5) 6 179d 227d 0/3 auto-obsoleted due to no activity on 2024/08/24 12:36

Sample crash report:
login: panic: kernel diagnostic assertion "bp->b_data != NULL" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 235
Starting stack trace...
panic(ffffffff82786632) at panic+0x159 sys/kern/subr_prf.c:229
__assert(ffffffff82801b44,ffffffff8281cf93,eb,ffffffff8283d267) at __assert+0x29 sys/kern/subr_prf.c:157
buf_unmap(fffffd80694876f8) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd8064154040) at buf_map+0x1c7 sys/kern/vfs_biomem.c:117
buf_get(fffffd806956aa58,be,4000) at buf_get+0x763 sys/kern/vfs_bio.c:1189
getblk(fffffd806956aa58,be,4000,0,ffffffffffffffff) at getblk+0x10d sys/kern/vfs_bio.c:1057
bread_cluster(fffffd806956aa58,be,4000,ffff80002dbb6f50) at bread_cluster+0x59 bio_doread sys/kern/vfs_bio.c:433 [inline]
bread_cluster(fffffd806956aa58,be,4000,ffff80002dbb6f50) at bread_cluster+0x59 sys/kern/vfs_bio.c:596
ffs_read(ffff80002dbb6fb0) at ffs_read+0x343
VOP_READ(fffffd806956aa58,ffff80002dbb7040,0,fffffd807f7d6548) at VOP_READ+0xc3 sys/kern/vfs_vops.c:227
uvn_io(fffffd8066c0d840,ffff80002dbb7150,1,202,0) at uvn_io+0x39a
uvn_get(fffffd8066c0d840,2f8000,ffff80002dbb7218,ffff80002dbb71e8,0,1,3552b5de3efbfbd4,ffffffff82743790) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1110
uvm_fault_lower(ffff80002dbb7380,ffff80002dbb73b8,ffff80002dbb7300,2) at uvm_fault_lower+0x88a sys/uvm/uvm_fault.c:1284
uvm_fault(fffffd8070720b88,c3e728c7000,2,1) at uvm_fault+0x20d
uvm_fault_wire(fffffd8070720b88,c3e725cf000,c3e729cf000,1) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1602
uvm_map_pageable_wire(fffffd8070720b88,fffffd8068c12250,0,141,ffffffff8258e7d0,0) at uvm_map_pageable_wire+0x2cd sys/uvm/uvm_map.c:2190
sys_mlockall(ffff80002a6c0ac0,ffff80002dbb75c0,ffff80002dbb7610) at sys_mlockall+0x61 sys/uvm/uvm_mmap.c:896
syscall(ffff80002dbb7680) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc3eb32f2060, count: 239
End of stack trace.

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/03 12:48 openbsd 2b0553810350 fb427a07 .config console log report ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/01/01 08:14 openbsd 4dba83b83de2 fb427a07 .config console log report ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
* Struck through repros no longer work on HEAD.