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(fffffd80719b5af0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd80719b5af0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd80719b5af0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd80719b5af0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf (fffffd806546c2e8,2,fffffd807f7d75b0,ffff80002a4f31e8,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8064936010,0,4,fffffd807f7d75b0) at ffs_truncate+0xf63 ffs_write(ffff80002a59f850) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806546c2e8,ffff80002a59f9f8,7,fffffd807f7d75b0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd806c0f2d30,ffff80002a59f9f8,0) at vn_write+0x1c3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4f31e8,5,ffff80002a59f9f8,0,ffff80002a59fab0) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_write(ffff80002a4f31e8,ffff80002a59fb60,ffff80002a59fab0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80002a59fb60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4625cfc7870, count: 242 End of stack trace. syncing disks...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