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(ffffffff830b6ace) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff83069aeb,ffffffff83074463,136,ffffffff82ff1905) at __assert+0x29 buf_free_pages(fffffd80617c5c48) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80617c5c48) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80617c5c48) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80617c5c48) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8076ce8c20,2,ffffffffffffffff,ffff80002a52ef58,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd805ed7c4c0,0,0,ffffffffffffffff) at ffs_truncate+0xf63 ufs_inactive(ffff80002be0ee38) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8076ce8c20,ffff80002a52ef58) at VOP_INACTIVE+0xfe sys/kern/vfs_vops.c:495 vrele(fffffd8076ce8c20) at vrele+0x120 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff80002a52ef58,fffffd8076ce8c20,fffffd807f7d77b8,ffff80002be0f070,ffff80002be0f050) at ktrwriteraw+0x352 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff80002a52ef58,fffffd8076ce8c20,fffffd807f7d77b8,ffff80002be0f070,ffff80002be0f050) at ktrwriteraw+0x352 sys/kern/kern_ktrace.c:701 ktrpsig(ffff80002a52ef58,9,0,0,0,ffff80002be0f140) at ktrpsig+0x1b2 sys/kern/kern_ktrace.c:292 postsig(ffff80002a52ef58,9,ffff80002be0f248) at postsig+0x3b2 sys/kern/kern_sig.c:1571 userret(ffff80002a52ef58) at userret+0x1fe sys/kern/kern_sig.c:2022 syscall(ffff80002be0f380) at syscall+0xa72 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff80002be0f380) at syscall+0xa72 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74f2c8cee720, count: 240 End of stack trace.