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(ffffffff830e3b59) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8309b45c,ffffffff8303efd2,136,ffffffff8302125c) at __assert+0x29 buf_free_pages(fffffd805cb847d0) at buf_free_pages+0x23d sys/kern/vfs_biomem.c:299 buf_dealloc_mem(fffffd805cb847d0) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd805cb847d0) at buf_put+0x1dc sys/kern/vfs_bio.c:127 brelse(fffffd805cb847d0) at brelse+0x395 sys/kern/vfs_bio.c:944 vinvalbuf(fffffd80796736f8,2,ffffffffffffffff,ffff800029fd9be0,0,ffffffffffffffff) at vinvalbuf+0x52c sys/kern/vfs_subr.c:2022 ffs_truncate(fffffd8072937ab0,0,0,ffffffffffffffff) at ffs_truncate+0xf6c ufs_inactive(ffff80003723f858) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80796736f8,ffff800029fd9be0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd80796736f8) at vrele+0x129 sys/kern/vfs_subr.c:824 ktrsettrace(ffff8000ffffb1e8,80000112,fffffd807e1c1870,fffffd807f7d3680) at ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122 ktrops(ffff800029fd9be0,ffff8000ffffb1e8,0,80000112,fffffd807e1c1870,fffffd807f7d3680) at ktrops+0x271 sys/kern/kern_ktrace.c:564 doktrace(fffffd807e1c1870,4,112,0,ffff800029fd9be0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd807e1c1870,4,112,0,ffff800029fd9be0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff800029fd9be0,ffff80003723fcc0,ffff80003723fc10) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80003723fcc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003723fcc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4c1c37ef1f0, count: 240 End of stack trace.