panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 310 Starting stack trace... panic(ffffffff830b4120) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83068a43,ffffffff83074733,136,ffffffff82ff3bfe) at __assert+0x29 buf_free_pages(fffffd806a11e7b8) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd806a11e7b8) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd806a11e7b8) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd806a11e7b8) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8061f647d0,2,fffffd807f7d77b8,ffff80002a5062b8,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8064255790,0,4,fffffd807f7d77b8) at ffs_truncate+0xf63 ufs_rmdir(ffff80003744cf28) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd806ab45e88,fffffd8061f647d0,ffff80003744d008) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff80002a5062b8,ffffff9c,77735a128440,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 syscall(ffff80003744d180) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77735a128430, count: 244 End of stack trace. syncing disks...set $lines = 0 set $maxwidth = 0 show panic trace show registers show proc ps show all locks show malloc show all pools machine ddbcpu 0 trace machine ddbcpu 1 trace