panic: kernel diagnostic assertion "pg->wire_count == 0" failed: file "/syzkaller/managers/main/kernel/sys/uvm/uvm_page.c", line 1326 Starting stack trace... panic(ffffffff8337b37c) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff833ba7b3,ffffffff833a3e01,52e,ffffffff833d457a) at __assert+0x29 sys/kern/subr_prf.c:-1 uvm_pagedequeue(fffffd80070af100) at uvm_pagedequeue+0x2cd sys/uvm/uvm_page.c:1324 uvn_flush(fffffd806ad5fe20,0,0,19) at uvn_flush+0xb8f sys/uvm/uvm_vnode.c:818 uvn_detach(fffffd806ad5fe20) at uvn_detach+0xb8 sys/uvm/uvm_vnode.c:344 uvm_unmap_detach(ffff8000334f7a10,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd807228d458) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2525 exit1(ffff80002a788568,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002a788568,ffff8000334f7bd0,ffff8000334f7b20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000334f7bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000334f7bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79aa602f30c0, count: 246 End of stack trace.