panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_biomem.c", line 310 Starting stack trace... panic(ffffffff830eb4cc) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8309c831,ffffffff830447d0,136,ffffffff830240ed) at __assert+0x29 buf_free_pages(fffffd805f055350) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805f055350) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd805f055350) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd805f055350) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd8066509108,2,ffffffffffffffff,ffff8000371abc08,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8058d08998,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff8000371f1378) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8066509108,ffff8000371abc08) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd8066509108) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrwriteraw(ffff8000371abc08,fffffd8066509108,fffffd807f7d3478,ffff8000371f15c8,ffff8000371f15a0) at ktrwriteraw+0x382 ktrcleartrace sys/kern/kern_ktrace.c:86 [inline] ktrwriteraw(ffff8000371abc08,fffffd8066509108,fffffd807f7d3478,ffff8000371f15c8,ffff8000371f15a0) at ktrwriteraw+0x382 sys/kern/kern_ktrace.c:701 ktrpsig(ffff8000371abc08,9,0,0,0,ffff8000371f1690) at ktrpsig+0x1ac sys/kern/kern_ktrace.c:292 postsig(ffff8000371abc08,9,ffff8000371f1798) at postsig+0x3b3 sys/kern/kern_sig.c:1571 userret(ffff8000371abc08) at userret+0x21e sys/kern/kern_sig.c:2022 syscall(ffff8000371f18d0) at syscall+0x9a7 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff8000371f18d0) at syscall+0x9a7 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767915deba70, count: 240 End of stack trace. set $lines = 0 set $maxwidth = 0 show panic trace show registers show proc ps show all locks show malloc show all pools machine ddbcpu 0 trace machine ddbcpu 1 trace