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(ffffffff830b234c) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff830679a2,ffffffff83073127,136,ffffffff82fef9b5) at __assert+0x29 buf_free_pages(fffffd806056e348) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd806056e348) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd806056e348) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd806056e348) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd806a3e37a8,2,fffffd807f7d7478,ffff80002a4d1458,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807b3d7788,0,4,fffffd807f7d7478) at ffs_truncate+0xf63 ufs_rmdir(ffff800032df3428) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd807d473e98,fffffd806a3e37a8,ffff800032df3508) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff80002a4d1458,ffffff9c,7bf6989c2870,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 syscall(ffff800032df3680) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bf6989c2860, count: 244 End of stack trace.