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(fffffd8071f19e38) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd8071f19e38) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd8071f19e38) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd8071f19e38) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8073ac47d0,2,ffffffffffffffff,ffff80002a560f70,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8071071d28,0,0,ffffffffffffffff) at ffs_truncate+0xf63 ufs_inactive(ffff80002f3d14e8) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8073ac47d0,ffff80002a560f70) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8073ac47d0) at vput+0xdc sys/kern/vfs_subr.c:776 VOP_REMOVE(fffffd8073ac42c0,fffffd8073ac47d0,ffff80002f3d1668) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a560f70,ffffff9c,7979e25c5870,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002f3d17e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7979e25c5d20, count: 242 End of stack trace.