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(fffffd8007864d00) at uvm_pagedequeue+0x2cd sys/uvm/uvm_page.c:1324 uvm_pageclean(fffffd8007864d00) at uvm_pageclean+0x2ac sys/uvm/uvm_page.c:981 uvm_pagefree(fffffd8007864d00) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvm_anfree(fffffd807e8c41f8) at uvm_anfree+0xe9 sys/uvm/uvm_anon.c:112 amap_wipeout(fffffd806af3a058) at amap_wipeout+0x246 sys/uvm/uvm_amap.c:-1 uvm_unmap_detach(ffff80003c9332a0,0) at uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1353 uvm_map_teardown(fffffd806cb1eb90) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2525 exit1(ffff80002a7bda08,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002a7bda08,ffff80003c933460,ffff80003c9333b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c933460) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c933460) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708d371e34c0, count: 244 End of stack trace.