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(fffffd800732ed80) at uvm_pagedequeue+0x2cd sys/uvm/uvm_page.c:1324 uvn_flush(fffffd80633cfba0,0,0,19) at uvn_flush+0xb8f sys/uvm/uvm_vnode.c:818 uvn_detach(fffffd80633cfba0) at uvn_detach+0xb8 sys/uvm/uvm_vnode.c:344 uvm_unmap_detach(ffff800037d4b290,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806cafe460) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2525 exit1(ffff80003c946d20,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80003c946d20,ffff800037d4b450,ffff800037d4b3a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800037d4b450) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037d4b450) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x736f278c3ff0, count: 246 End of stack trace.