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(ffffffff830b1620) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83067bad,ffffffff8307044b,136,ffffffff82fefbbf) at __assert+0x29 buf_free_pages(fffffd805584e590) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805584e590) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd805584e590) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd805584e590) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd80550e1448,2,ffffffffffffffff,ffff8000376b11e8,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd807a3e1698,0,0,ffffffffffffffff) at ffs_truncate+0xf63 ufs_inactive(ffff80002a5aef08) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80550e1448,ffff8000376b11e8) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd80550e1448) at vput+0xdc sys/kern/vfs_subr.c:776 VOP_REMOVE(fffffd806c92b110,fffffd80550e1448,ffff80002a5af088) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff8000376b11e8,ffffff9c,7c8fe37be870,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a5af200) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c8fe37bed20, count: 242 End of stack trace.