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(ffffffff830b38b5) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff8306a353,ffffffff83076279,136,ffffffff82ff2d9b) at __assert+0x29 buf_free_pages(fffffd80708cb7c8) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80708cb7c8) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80708cb7c8) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80708cb7c8) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8078b70cb8,2,fffffd807f7d7270,ffff80003761d970,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8057d38970,0,4,fffffd807f7d7270) at ffs_truncate+0xf63 ufs_rmdir(ffff80002a49d328) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd80723b0478,fffffd8078b70cb8,ffff80002a49d408) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff80003761d970,ffffff9c,6ff16f91e870,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 syscall(ffff80002a49d580) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff16f91e860, count: 244 End of stack trace.