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(ffffffff830b2cf8) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83067aec,ffffffff83077779,136,ffffffff82ff1e56) at __assert+0x29 buf_free_pages(fffffd8073f48c18) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd8073f48c18) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd8073f48c18) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd8073f48c18) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8076dd83c0,2,ffffffffffffffff,ffff800037617bf8,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8064dc5880,0,0,ffffffffffffffff) at ffs_truncate+0xf63 ufs_inactive(ffff80002a52baa8) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8076dd83c0,ffff800037617bf8) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vput(fffffd8076dd83c0) at vput+0xdc sys/kern/vfs_subr.c:776 VOP_REMOVE(fffffd8061cf02d8,fffffd8076dd83c0,ffff80002a52bc28) at VOP_REMOVE+0x19d sys/kern/vfs_vops.c:336 dounlinkat(ffff800037617bf8,ffffff9c,71eabe1d4870,0) at dounlinkat+0x177 sys/kern/vfs_syscalls.c:1888 syscall(ffff80002a52bda0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71eabe1d4d20, count: 242 End of stack trace.