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(ffffffff8337bf4d) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff833b9417,ffffffff833a66da,52e,ffffffff833d7632) at __assert+0x29 sys/kern/subr_prf.c:-1 uvm_pagedequeue(fffffd8006de1700) at uvm_pagedequeue+0x2cd sys/uvm/uvm_page.c:1324 uvn_flush(fffffd8065ae06a8,0,0,19) at uvn_flush+0x4fc sys/uvm/uvm_vnode.c:683 uvn_detach(fffffd8065ae06a8) at uvn_detach+0xb8 sys/uvm/uvm_vnode.c:344 uvm_unmap_detach(ffff800038109af0,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806f377cf8) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2525 exit1(ffff80002f0f1a08,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002f0f1a08,ffff800038109cb0,ffff800038109c00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038109cb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038109cb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a88fe0e6d10, count: 246 End of stack trace.