panic: kernel diagnostic assertion "(pg->pg_flags & PG_BUSY) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/pmap.c", line 1422 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 342971 7274 0 0x8000000 0 0 syz-executor.7 *168271 7274 0 0x8000000 0x4000000 1K syz-executor.7 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8295c3b9) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff829117d7,ffffffff8293687b,58e,ffffffff828bbd79) at __assert+0x29 sys/kern/subr_prf.c:157 pmap_destroy(fffffd806be192f8) at pmap_destroy+0x2c4 sys/arch/amd64/amd64/pmap.c:1422 uvm_map_teardown(fffffd806adc1a60) at uvm_map_teardown+0x305 sys/uvm/uvm_map.c:2557 uvmspace_free(fffffd806adc1a60) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 vm_teardown(ffff8000373df760) at vm_teardown+0x15c sys/dev/vmm/vmm.c:555 vm_terminate(ffff8000373dfa00) at vm_terminate+0x124 sys/dev/vmm/vmm.c:688 vmmioctl(a00,80045604,ffff8000373dfa00,2,ffff80002a1574b8) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd806e8bbcb0,80045604,ffff8000373dfa00,2,fffffd807f7d3410,ffff80002a1574b8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8076f64428,80045604,ffff8000373dfa00,ffff80002a1574b8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a1574b8,ffff8000373dfbe0,ffff8000373dfb30) at sys_ioctl+0x4a9 syscall(ffff8000373dfbe0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff8000373dfbe0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd19e51be260, count: 1 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "(pg->pg_flags & PG_BUSY) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/pmap.c", line 1422 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8295c3b9) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff829117d7,ffffffff8293687b,58e,ffffffff828bbd79) at __assert+0x29 sys/kern/subr_prf.c:157 pmap_destroy(fffffd806be192f8) at pmap_destroy+0x2c4 sys/arch/amd64/amd64/pmap.c:1422 uvm_map_teardown(fffffd806adc1a60) at uvm_map_teardown+0x305 sys/uvm/uvm_map.c:2557 uvmspace_free(fffffd806adc1a60) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 vm_teardown(ffff8000373df760) at vm_teardown+0x15c sys/dev/vmm/vmm.c:555 vm_terminate(ffff8000373dfa00) at vm_terminate+0x124 sys/dev/vmm/vmm.c:688 vmmioctl(a00,80045604,ffff8000373dfa00,2,ffff80002a1574b8) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd806e8bbcb0,80045604,ffff8000373dfa00,2,fffffd807f7d3410,ffff80002a1574b8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8076f64428,80045604,ffff8000373dfa00,ffff80002a1574b8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a1574b8,ffff8000373dfbe0,ffff8000373dfb30) at sys_ioctl+0x4a9 syscall(ffff8000373dfbe0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff8000373dfbe0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd19e51be260, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000373df540 rbx 0xffff800029cecd77 rdx 0xffff800000df5080 rcx 0xffff80002a1574b8 rax 0xffff800029cebff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x283762bea2802137 r11 0x67adb28adb101b6f r12 0xffff800029cecb78 r13 0 r14 0 r15 0x1 rip 0xffffffff81dd779c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000373df530 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.7) tid=168271 pid=7274 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a156038,0xffff800030b47768 process=0xffff80002a24f108 user=0xffff8000373da000, vmspace=0xfffffd8069be8388 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67574 275172 76109 0 2 0x8000000 syz-executor.0 67574 200319 76109 0 2 0xc000000 syz-executor.0 7274 342971 8532 0 7 0x8000000 syz-executor.7 * 7274 168271 8532 0 7 0xc000000 syz-executor.7 70561 499941 70251 0 2 0x8000000 syz-executor.2 70561 351709 70251 0 3 0xc000080 bell syz-executor.2 8168 231829 94860 0 2 0x8000000 syz-executor.3 8168 353355 94860 0 3 0xc000080 ttyopn syz-executor.3 8168 514608 94860 0 3 0xc000080 fsleep syz-executor.3 9767 107247 13785 0 3 0x8000080 nanoslp syz-executor.1 9767 221955 13785 0 3 0xc000080 nanoslp syz-executor.1 9767 522620 13785 0 3 0xc000080 fsleep syz-executor.1 80248 45879 17396 0 3 0x8000080 nanoslp syz-executor.4 80248 67869 17396 0 3 0xc000080 fifor syz-executor.4 80248 213585 17396 0 3 0xc000080 fsleep syz-executor.4 94860 493911 53464 0 3 0x8000082 nanoslp syz-executor.3 68662 349412 53464 0 3 0x8000082 nanoslp syz-executor.5 70251 20033 53464 0 3 0x8000082 nanoslp syz-executor.2 13785 297870 53464 0 3 0x8000082 nanoslp syz-executor.1 63550 295284 1 0 3 0x8000080 fsleep syz-executor.1 63550 155504 1 0 3 0xc000080 sbwait syz-executor.1 76109 214997 53464 0 3 0x8000082 nanoslp syz-executor.0 17396 24742 53464 0 3 0x8000082 nanoslp syz-executor.4 47137 303166 53464 0 3 0x8000082 nanoslp syz-executor.6 8532 248898 53464 0 3 0x8000082 nanoslp syz-executor.7 94624 138499 0 0 3 0x14200 bored sosplice 53464 53041 77664 0 3 0x1a000082 kqread syz-fuzzer 53464 103634 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 111003 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 88385 77664 0 3 0x1e000082 wait syz-fuzzer 53464 125255 77664 0 3 0x1e000082 wait syz-fuzzer 53464 443728 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 156608 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 387573 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 397604 77664 0 3 0x1e000082 wait syz-fuzzer 53464 193634 77664 0 3 0x1e000082 wait syz-fuzzer 53464 21243 77664 0 3 0x1e000082 thrsleep syz-fuzzer 53464 513524 77664 0 3 0x1e000082 wait syz-fuzzer 53464 460846 77664 0 3 0x1e000082 wait syz-fuzzer 53464 163182 77664 0 3 0x1e000082 wait syz-fuzzer 53464 446237 77664 0 3 0x1e000082 wait syz-fuzzer 53464 370173 77664 0 3 0x1e000082 thrsleep syz-fuzzer 77664 134704 35217 0 3 0x810008a sigsusp ksh 35217 480109 35642 0 3 0x1800009a kqread sshd 33088 290304 1 0 3 0x18100083 ttyin getty 35642 482304 1 0 3 0x18000088 kqread sshd 65286 264156 95521 73 3 0x19100090 kqread syslogd 95521 309386 1 0 3 0x18100082 sbwait syslogd 690 200062 1 0 3 0x18100080 kqread resolvd 82109 71715 83566 77 3 0x18100092 kqread dhcpleased 10980 21884 83566 77 3 0x18100092 kqread dhcpleased 83566 109919 1 0 3 0x18000080 kqread dhcpleased 60223 113089 0 0 3 0x14200 bored smr 4758 438242 0 0 2 0x14200 zerothread 4578 357000 0 0 3 0x14200 aiodoned aiodoned 53662 469561 0 0 3 0x14200 syncer update 34779 66989 0 0 3 0x14200 cleaner cleaner 98178 125273 0 0 3 0x14200 reaper reaper 8678 50961 0 0 3 0x14200 pgdaemon pagedaemon 10705 322148 0 0 3 0x14200 bored viomb 77200 370921 0 0 3 0x40014200 acpi0 acpi0 22846 470598 0 0 3 0x40014200 idle1 27737 379224 0 0 3 0x14200 bored softnet3 11687 231490 0 0 3 0x14200 bored softnet2 46210 444347 0 0 3 0x14200 bored softnet1 43635 60009 0 0 3 0x14200 bored softnet0 1565 214382 0 0 3 0x14200 bored systqmp 15896 498097 0 0 3 0x14200 bored systq 386 139295 0 0 3 0x14200 tmoslp softclockmp 48401 252724 0 0 3 0x40014200 tmoslp softclock 99515 313437 0 0 3 0x40014200 idle0 1 21496 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 7274 (syz-executor.7) thread 0xffff80002a1574b8 (168271) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e47f18) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 uvm_map_teardown+0x2fd sys/uvm/uvm_map.c:2556 #2 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 #3 vm_teardown+0x15c sys/dev/vmm/vmm.c:555 #4 vm_terminate+0x124 sys/dev/vmm/vmm.c:688 #5 vmmioctl+0x2a1 sys/dev/vmm/vmm.c:248 #6 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 #7 vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 #8 sys_ioctl+0x4a9 #9 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #9 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 6574K 7029K 166960K 15181 0 pcb 18 14K 15K 166960K 414 0 rtable 169 14K 15K 166960K 1613 0 pf 35 9K 10K 166960K 148 0 ifaddr 37 13K 15K 166960K 207 0 ifgroup 62 2K 2K 166960K 244 0 sysctl 4 1K 1K 166960K 8 0 counters 70 37K 37K 166960K 168 0 ioctlops 0 0K 4K 166960K 1623 0 iov 0 0K 20K 166960K 154 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1392 87K 88K 166960K 3665 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 18K 166960K 76 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 167 0 dirhash 12 2K 2K 166960K 90 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 85K 166960K 2873 0 sigio 0 0K 0K 166960K 64 0 proc 58 79K 152K 166960K 1668 0 subproc 117 7K 7K 166960K 533 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 388 0 in_multi 63 4K 7K 166960K 567 0 ether_multi 1 0K 0K 166960K 27 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 1108 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 299 117K 139K 166960K 26539 0 UVM aobj 128 6K 6K 166960K 142 0 pinsyscall 37 74K 100K 166960K 4924 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 162 0 NDP 14 0K 2K 166960K 147 0 temp 82 6820K 14756K 166960K 135813 0 kqueue 13 20K 28K 166960K 422 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 418 0 415 3 2 1 3 0 8 0 rtentry 112 546 0 476 4 1 3 4 0 8 0 unpcb 144 2725 0 2708 24 17 7 10 0 8 6 syncache 336 10 0 10 6 6 0 1 0 8 0 tcpqe 32 32 0 32 1 1 0 1 0 8 0 tcpcb 808 833 0 828 23 21 2 8 0 8 1 arp 120 92 0 77 1 0 1 1 0 8 0 inpcb 384 2974 0 2949 34 28 6 9 0 8 2 nd6 136 142 0 124 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 41 0 32 1 0 1 1 0 8 0 ppxss 1168 10 0 10 5 4 1 1 0 8 1 pffrag 232 24 0 19 3 2 1 1 0 482 0 pffrnode 88 24 0 19 3 2 1 1 0 8 0 pffrent 40 218 0 213 7 6 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 287 0 230 1 0 1 1 0 8 0 pfstkey 128 287 0 230 2 0 2 2 0 8 0 pfstate 376 287 0 230 11 5 6 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2049 0 1765 46 24 22 29 0 8 1 art_table 32 2050 0 1765 5 1 4 4 0 8 0 art_node 16 522 0 460 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 164 0 154 1 0 1 1 0 8 0 shmpl 112 139 0 14 4 0 4 4 0 8 0 dirhash 1024 69 0 52 3 0 3 3 0 8 0 dino2pl 256 5931 0 4393 97 0 97 97 0 8 0 ffsino 272 5931 0 4393 103 0 103 103 0 8 0 nchpl 144 10004 0 8256 67 0 67 67 0 8 0 uvmvnodes 80 7586 0 0 155 0 155 155 0 8 0 vnodes 216 7586 0 0 422 0 422 422 0 8 0 namei 1024 38092 0 38092 13 12 1 2 0 8 1 percpumem 16 98 0 49 1 0 1 1 0 8 0 vcpupl 3904 8 0 1 1 0 1 1 0 8 0 vmpool 696 16 0 8 1 0 1 1 0 8 0 kstatmem 264 126 0 98 3 0 3 3 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 71692 0 71692 13 12 1 8 1 8 1 plimitpl 152 475 0 457 1 0 1 1 0 8 0 sigapl 424 3142 0 3093 9 1 8 9 0 8 0 futexpl 64 43169 0 43165 9 8 1 1 0 8 0 knotepl 120 841 0 0 19 1 18 18 0 8 0 kqueuepl 216 935 0 922 7 6 1 5 0 8 0 pipepl 320 567 0 536 3 0 3 3 0 8 0 fdescpl 496 3100 0 3072 7 2 5 5 0 8 0 filepl 152 21505 0 21228 56 39 17 21 0 8 6 lockfpl 104 779 0 777 2 1 1 2 0 8 0 lockfspl 48 282 0 280 1 0 1 1 0 8 0 sessionpl 144 56 0 39 1 0 1 1 0 8 0 pgrppl 48 159 0 142 1 0 1 1 0 8 0 ucredpl 104 3821 0 3803 1 0 1 1 0 8 0 zombiepl 144 3095 0 3093 1 0 1 1 0 8 0 processpl 1136 3142 0 3093 8 2 6 6 0 8 0 procpl 656 6195 0 6121 10 1 9 9 0 8 0 srpgc 96 28 0 28 11 10 1 1 0 8 1 sosppl 168 14 0 14 10 9 1 1 0 8 1 sockpl 664 6149 0 6106 73 60 13 23 0 8 8 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 579 0 0 39 7 32 39 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 1304 0 0 66 0 66 66 0 8 0 bufpl 280 13891 0 4103 700 0 700 700 0 8 0 anonpl 24 554525 0 547951 203 139 64 98 0 186 1 amapchunkpl 152 89828 0 89124 107 69 38 51 0 158 4 amappl16 200 10650 0 10494 65 54 11 22 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 289 0 276 2 1 1 2 0 8 0 amappl13 176 17 0 17 2 2 0 1 0 8 0 amappl12 168 4240 0 4208 2 0 2 2 0 8 0 amappl11 160 57 0 47 1 0 1 1 0 8 0 amappl10 152 79 0 69 1 0 1 1 0 8 0 amappl9 144 171 0 171 2 2 0 1 0 8 0 amappl8 136 313 0 274 2 0 2 2 0 8 0 amappl7 128 71 0 54 1 0 1 1 0 8 0 amappl6 120 772 0 761 2 1 1 2 0 8 0 amappl5 112 308 0 296 1 0 1 1 0 8 0 amappl4 104 798 0 764 3 1 2 3 0 8 0 amappl3 96 16422 0 16336 4 1 3 3 0 8 0 amappl2 88 3654 0 3579 4 2 2 4 0 8 0 amappl1 80 20173 0 19677 23 11 12 22 0 8 0 amappl 88 25566 0 25359 10 4 6 6 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 141 0 14 3 0 3 3 0 8 0 uaddrrnd 24 3116 0 3081 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3116 0 3081 1 0 1 1 0 8 0 vmmpekpl 168 24732 0 24656 5 0 5 5 0 8 0 vmmpepl 168 210137 0 208197 180 81 99 118 0 357 6 vmsppl 440 3115 0 3080 5 0 5 5 0 8 0 rwobjpl 56 60887 0 52035 137 12 125 125 0 8 0 pdppl 4096 6239 0 6168 322 247 75 80 0 8 4 pvpl 32 50092 0 0 404 0 404 404 0 265 0 pmappl 248 3115 0 3080 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 731 0 323 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d30ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x785af7e51590, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82d30ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x785af7e51590, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8295c3b9) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff829117d7,ffffffff8293687b,58e,ffffffff828bbd79) at __assert+0x29 sys/kern/subr_prf.c:157 pmap_destroy(fffffd806be192f8) at pmap_destroy+0x2c4 sys/arch/amd64/amd64/pmap.c:1422 uvm_map_teardown(fffffd806adc1a60) at uvm_map_teardown+0x305 sys/uvm/uvm_map.c:2557 uvmspace_free(fffffd806adc1a60) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 vm_teardown(ffff8000373df760) at vm_teardown+0x15c sys/dev/vmm/vmm.c:555 vm_terminate(ffff8000373dfa00) at vm_terminate+0x124 sys/dev/vmm/vmm.c:688 vmmioctl(a00,80045604,ffff8000373dfa00,2,ffff80002a1574b8) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd806e8bbcb0,80045604,ffff8000373dfa00,2,fffffd807f7d3410,ffff80002a1574b8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8076f64428,80045604,ffff8000373dfa00,ffff80002a1574b8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a1574b8,ffff8000373dfbe0,ffff8000373dfb30) at sys_ioctl+0x4a9 syscall(ffff8000373dfbe0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff8000373dfbe0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd19e51be260, count: 1 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8295c3b9) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff829117d7,ffffffff8293687b,58e,ffffffff828bbd79) at __assert+0x29 sys/kern/subr_prf.c:157 pmap_destroy(fffffd806be192f8) at pmap_destroy+0x2c4 sys/arch/amd64/amd64/pmap.c:1422 uvm_map_teardown(fffffd806adc1a60) at uvm_map_teardown+0x305 sys/uvm/uvm_map.c:2557 uvmspace_free(fffffd806adc1a60) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 vm_teardown(ffff8000373df760) at vm_teardown+0x15c sys/dev/vmm/vmm.c:555 vm_terminate(ffff8000373dfa00) at vm_terminate+0x124 sys/dev/vmm/vmm.c:688 vmmioctl(a00,80045604,ffff8000373dfa00,2,ffff80002a1574b8) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd806e8bbcb0,80045604,ffff8000373dfa00,2,fffffd807f7d3410,ffff80002a1574b8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8076f64428,80045604,ffff8000373dfa00,ffff80002a1574b8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a1574b8,ffff8000373dfbe0,ffff8000373dfb30) at sys_ioctl+0x4a9 syscall(ffff8000373dfbe0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff8000373dfbe0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd19e51be260, count: -14