panic: kernel diagnosti c assertion "pg->wire_c ount == 0" failed: file "/syzkaller/managers/m ain/kernel/sys/uvm/uvm_ page.c", line 1326 Starting stack trace... panic(ffffffff833791f3) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff833b9ae2,ffffffff833a5ef6,52e,ffffffff833d67d4) at __assert+0x29 sys/kern/subr_prf.c:-1 uvm_pagedequeue(fffffd800714ec00) at uvm_pagedequeue+0x2cd sys/uvm/uvm_page.c:1324 uvm_pageclean(fffffd800714ec00) at uvm_pageclean+0x2ac sys/uvm/uvm_page.c:981 uvm_pagefree(fffffd800714ec00) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvm_anfree(fffffd806ffc9258) at uvm_anfree+0xe9 sys/uvm/uvm_anon.c:112 amap_wipeout(fffffd8073f558a8) at amap_wipeout+0x246 sys/uvm/uvm_amap.c:-1 uvm_unmap_detach(ffff800039919650,0) at uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1353 uvm_map_teardown(fffffd806c9a7e78) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2525 exit1(ffff80002a8c62c0,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002a8c62c0,ffff800039919810,ffff800039919760) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800039919810) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039919810) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bd16b7c36e0, count: 244 End of stack trace.