panic: pmap_remove_ptes: unmanaged page marked PG_PVLIST: va 0x26d83260000, opte 0x3efff Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 275614 47732 0 0x8000002 0 0 syz-executor.4 *515287 21261 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828f46ff) at panic+0x17b sys/kern/subr_prf.c:198 pmap_remove_ptes(fffffd806ae3f5e0,fffffd80076d6d60,7f8136c19118,26d83223000,26d83263000,0,20308d6ebf88ee27) at pmap_remove_ptes+0x33e pmap_do_remove(fffffd806ae3f5e0,26d83223000,26d83263000,0) at pmap_do_remove+0x410 sys/arch/amd64/amd64/pmap.c:1896 uvm_unmap_kill_entry_withlock(fffffd806ad5e6f0,fffffd806ae33ea0,0) at uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2534 uvmspace_free(fffffd806ad5e6f0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 reaper(ffff80002a1491f8) at reaper+0x197 sys/kern/kern_exit.c:463 end trace frame: 0x0, count: 7 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: pmap_remove_ptes: unmanaged page marked PG_PVLIST: va 0x26d83260000, opte 0x3efff ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828f46ff) at panic+0x17b sys/kern/subr_prf.c:198 pmap_remove_ptes(fffffd806ae3f5e0,fffffd80076d6d60,7f8136c19118,26d83223000,26d83263000,0,20308d6ebf88ee27) at pmap_remove_ptes+0x33e pmap_do_remove(fffffd806ae3f5e0,26d83223000,26d83263000,0) at pmap_do_remove+0x410 sys/arch/amd64/amd64/pmap.c:1896 uvm_unmap_kill_entry_withlock(fffffd806ad5e6f0,fffffd806ae33ea0,0) at uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2534 uvmspace_free(fffffd806ad5e6f0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 reaper(ffff80002a1491f8) at reaper+0x197 sys/kern/kern_exit.c:463 end trace frame: 0x0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a154e80 rbx 0xffff800029cecd77 rdx 0 rcx 0xffff80002a1491f8 rax 0xffff800029cebff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x671b9e2c90ade5c5 r11 0xa7b2556387ccdf39 r12 0xffff800029cecb78 r13 0 r14 0 r15 0x1 rip 0xffffffff81dca81c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a154e70 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) tid=515287 pid=21261 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=4, usrpri=58, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a149718,0xffff80002a148ce8 process=0xffff80002a15b9b8 user=0xffff80002a150000, vmspace=0xffffffff82e4dd40 estcpu=8, cpticks=9, pctcpu=1.93, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94980 170251 8643 0 2 0x8000000 syz-executor.6 94980 223904 8643 0 3 0xc000000 biowait syz-executor.6 4807 298506 23236 0 2 0x8000000 syz-executor.0 4807 28199 23236 0 3 0xc000080 fsleep syz-executor.0 45708 442358 87520 0 3 0x8000080 nanoslp syz-executor.2 45708 436880 87520 0 3 0xc000080 netacc syz-executor.2 45708 58888 87520 0 3 0xc000080 fsleep syz-executor.2 54909 417714 68934 0 2 0x8000000 syz-executor.7 54909 30335 68934 0 3 0xc000080 fsleep syz-executor.7 54909 147537 68934 0 3 0xc000080 fsleep syz-executor.7 64767 302529 60204 0 2 0x8000000 syz-executor.1 64767 181824 60204 0 3 0xc000080 fsleep syz-executor.1 64767 276142 60204 0 3 0xc000080 fsleep syz-executor.1 64767 161143 60204 0 3 0xc000080 fsleep syz-executor.1 68934 323783 58989 0 3 0x8000082 nanoslp syz-executor.7 8643 267711 58989 0 3 0x8000082 nanoslp syz-executor.6 60204 368652 58989 0 3 0x8000082 nanoslp syz-executor.1 48062 127436 1 0 3 0x18100083 ttyin getty 47732 275614 58989 0 7 0x8000002 syz-executor.4 8186 482710 58989 0 3 0x8000082 nanoslp syz-executor.5 23236 290256 58989 0 3 0x8000082 nanoslp syz-executor.0 87520 145029 58989 0 3 0x8000082 nanoslp syz-executor.2 51207 64592 0 0 3 0x14280 nfsidl nfsio 98045 233700 0 0 3 0x14280 nfsidl nfsio 85862 401349 0 0 3 0x14280 nfsidl nfsio 88955 201093 0 0 3 0x14280 nfsidl nfsio 73991 286948 0 0 3 0x14280 nfsidl nfsio 57928 513272 0 0 3 0x14280 nfsidl nfsio 88884 421803 0 0 3 0x14280 nfsidl nfsio 46630 5452 0 0 3 0x14280 nfsidl nfsio 40658 369134 0 0 3 0x14280 nfsidl nfsio 53362 279801 0 0 3 0x14280 nfsidl nfsio 28250 256666 0 0 3 0x14280 nfsidl nfsio 35610 209776 0 0 3 0x14280 nfsidl nfsio 58977 326837 0 0 3 0x14280 nfsidl nfsio 59642 449587 0 0 3 0x14280 nfsidl nfsio 98907 468791 0 0 3 0x14280 nfsidl nfsio 46290 65197 0 0 3 0x14280 nfsidl nfsio 57924 396020 0 0 3 0x14280 nfsidl nfsio 99901 445510 0 0 3 0x14280 nfsidl nfsio 76134 519786 0 0 3 0x14280 nfsidl nfsio 98088 273610 0 0 3 0x14280 nfsidl nfsio 80364 168443 0 0 3 0x14200 bored sosplice 64969 262420 58989 0 3 0x8000082 nanoslp syz-executor.3 58989 55079 75420 0 3 0x1a000082 wait syz-fuzzer 58989 107735 75420 0 3 0x1e000082 nanoslp syz-fuzzer 58989 492297 75420 0 3 0x1e000082 thrsleep syz-fuzzer 58989 31692 75420 0 3 0x1e000082 wait syz-fuzzer 58989 94010 75420 0 3 0x1e000082 kqread syz-fuzzer 58989 355305 75420 0 3 0x1e000082 thrsleep syz-fuzzer 58989 329404 75420 0 3 0x1e000082 wait syz-fuzzer 58989 351911 75420 0 3 0x1e000082 thrsleep syz-fuzzer 58989 3088 75420 0 3 0x1e000082 wait syz-fuzzer 58989 209930 75420 0 3 0x1e000082 thrsleep syz-fuzzer 58989 102061 75420 0 3 0x1e000082 thrsleep syz-fuzzer 58989 412931 75420 0 3 0x1e000082 wait syz-fuzzer 58989 151385 75420 0 3 0x1e000082 wait syz-fuzzer 58989 139668 75420 0 3 0x1e000082 wait syz-fuzzer 58989 461933 75420 0 3 0x1e000082 wait syz-fuzzer 58989 217068 75420 0 3 0x1e000082 thrsleep syz-fuzzer 75420 156630 47260 0 3 0x810008a sigsusp ksh 47260 59371 83121 0 3 0x1800009a kqread sshd 83121 476776 1 0 3 0x18000088 kqread sshd 77254 137781 57981 73 3 0x19100090 kqread syslogd 57981 119288 1 0 3 0x18100082 sbwait syslogd 75059 487378 1 0 3 0x18100080 kqread resolvd 97865 139750 0 0 3 0x14200 bored smr 97580 455967 0 0 2 0x14200 zerothread 13021 322243 0 0 3 0x14200 aiodoned aiodoned 62142 103497 0 0 3 0x14200 syncer update 19812 83782 0 0 3 0x14200 cleaner cleaner *21261 515287 0 0 7 0x14200 reaper 59702 509917 0 0 3 0x14200 pgdaemon pagedaemon 39911 225386 0 0 3 0x14200 bored viomb 46163 377415 0 0 3 0x40014200 acpi0 acpi0 36832 349173 0 0 3 0x40014200 idle1 27846 292890 0 0 3 0x14200 bored softnet3 93224 349242 0 0 3 0x14200 bored softnet2 13455 264743 0 0 3 0x14200 bored softnet1 26329 488007 0 0 3 0x14200 bored softnet0 8542 506569 0 0 3 0x14200 bored systqmp 2324 399811 0 0 3 0x14200 bored systq 53413 253476 0 0 3 0x14200 tmoslp softclockmp 86090 418645 0 0 3 0x40014200 tmoslp softclock 83570 163752 0 0 3 0x40014200 idle0 1 68730 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806ae3f5f0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 mtx_enter_try+0x103 #2 mtx_enter+0x4e sys/kern/kern_lock.c:266 #3 pmap_do_remove+0x99 rcr3 machine/cpufunc.h:141 [inline] #3 pmap_do_remove+0x99 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:425 [inline] #3 pmap_do_remove+0x99 sys/arch/amd64/amd64/pmap.c:1800 #4 uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 #5 uvm_map_teardown+0x1c7 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #5 uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2534 #6 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 #7 reaper+0x197 sys/kern/kern_exit.c:463 #8 proc_trampoline+0x10 Process 94980 (syz-executor.6) thread 0xffff80002a29d760 (223904) Process 47732 (syz-executor.4) thread 0xffff80002a29cfb0 (275614) Process 21261 (reaper) thread 0xffff80002a1491f8 (515287) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 6429K 6604K 166960K 11702 0 pcb 19 12K 12K 166960K 285 0 rtable 182 14K 16K 166960K 1034 0 pf 36 10K 10K 166960K 121 0 ifaddr 43 15K 15K 166960K 146 0 ifgroup 63 2K 2K 166960K 185 0 sysctl 3 0K 0K 166960K 5 0 counters 70 37K 37K 166960K 144 0 ioctlops 0 0K 4K 166960K 1570 0 iov 0 0K 20K 166960K 98 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1376 86K 87K 166960K 2131 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 34 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 153 0 dirhash 12 2K 3K 166960K 57 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 81K 166960K 1783 0 sigio 0 0K 0K 166960K 22 0 proc 52 54K 115K 166960K 1045 0 subproc 104 6K 7K 166960K 312 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 244 0 in_multi 74 5K 7K 166960K 323 0 ether_multi 1 0K 0K 166960K 15 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 790 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 266 95K 112K 166960K 17463 0 UVM aobj 87 3K 5K 166960K 99 0 pinsyscall 29 58K 100K 166960K 3354 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 123 0 NDP 14 0K 2K 166960K 100 0 temp 74 6820K 6950K 166960K 42635 0 kqueue 7 12K 28K 166960K 232 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 206 0 203 1 0 1 1 0 8 0 rtentry 112 343 0 265 4 1 3 4 0 8 0 unpcb 144 1246 0 1237 5 4 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 32 0 32 1 1 0 1 0 8 0 tcpcb 808 542 0 533 13 12 1 8 0 8 0 arp 120 62 0 46 1 0 1 1 0 8 0 inpcb 384 2058 0 2046 26 24 2 21 0 8 0 nd6 136 85 0 68 1 0 1 1 0 8 0 pkpcb 40 8 0 8 5 5 0 1 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 ppxss 1168 13 0 13 6 5 1 1 0 8 1 pffrag 232 9 0 9 5 4 1 1 0 482 1 pffrnode 88 9 0 9 5 4 1 1 0 8 1 pffrent 40 190 0 190 5 4 1 1 0 8 1 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 146 0 107 1 0 1 1 0 8 0 pfstkey 128 146 0 107 2 0 2 2 0 8 0 pfstate 376 146 0 107 6 1 5 5 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1310 0 940 38 13 25 29 0 8 0 art_table 32 1312 0 940 4 0 4 4 0 8 0 art_node 16 337 0 271 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 10 1 0 1 1 0 8 0 semapl 112 150 0 140 1 0 1 1 0 8 0 shmpl 112 96 0 12 3 0 3 3 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 4292 0 2777 96 0 96 96 0 8 0 ffsino 272 4292 0 2777 102 0 102 102 0 8 0 nchpl 144 7013 0 5272 67 0 67 67 0 8 0 uvmvnodes 80 4738 0 0 97 0 97 97 0 8 0 vnodes 216 4738 0 0 264 0 264 264 0 8 0 namei 1024 25090 0 25088 5 4 1 2 0 8 0 percpumem 16 86 0 37 1 0 1 1 0 8 0 vcpupl 3904 6 0 1 1 0 1 1 0 8 0 vmpool 696 9 0 4 2 1 1 1 0 8 0 kstatmem 264 102 0 74 3 0 3 3 0 8 0 scsiplug 72 8 0 8 4 3 1 1 0 8 1 scxspl 216 35728 0 35727 14 11 3 8 1 8 2 plimitpl 152 349 0 333 1 0 1 1 0 8 0 sigapl 424 2080 0 2016 8 0 8 8 0 8 0 futexpl 64 30176 0 30169 2 1 1 1 0 8 0 knotepl 120 515 0 0 16 0 16 16 0 8 0 kqueuepl 216 599 0 592 1 0 1 1 0 8 0 pipepl 320 370 0 342 3 0 3 3 0 8 0 fdescpl 496 2039 0 2016 6 2 4 5 0 8 0 filepl 152 13458 0 13220 21 9 12 17 0 8 0 lockfpl 104 573 0 572 1 0 1 1 0 8 0 lockfspl 48 207 0 206 1 0 1 1 0 8 0 sessionpl 144 40 0 25 1 0 1 1 0 8 0 pgrppl 48 74 0 59 1 0 1 1 0 8 0 ucredpl 104 2404 0 2394 1 0 1 1 0 8 0 zombiepl 144 2018 0 2016 1 0 1 1 0 8 0 processpl 1136 2080 0 2016 6 0 6 6 0 8 0 procpl 656 3874 0 3786 11 2 9 9 0 8 0 srpgc 96 13 0 13 7 7 0 1 0 8 0 sosppl 168 19 0 19 4 3 1 1 0 8 1 sockpl 664 3623 0 3600 25 22 3 19 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 396 0 0 50 0 50 50 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1108 0 0 59 0 59 59 0 8 0 bufpl 280 11783 0 5061 481 0 481 481 0 8 0 anonpl 24 416244 0 410341 101 45 56 69 0 186 0 amapchunkpl 152 56048 0 55385 56 26 30 40 0 158 0 amappl16 200 11653 0 11494 62 47 15 26 0 8 3 amappl15 192 49 0 48 1 0 1 1 0 8 0 amappl14 184 205 0 197 2 1 1 2 0 8 0 amappl13 176 15 0 15 2 2 0 1 0 8 0 amappl12 168 2932 0 2905 3 1 2 2 0 8 0 amappl11 160 57 0 53 1 0 1 1 0 8 0 amappl10 152 57 0 49 1 0 1 1 0 8 0 amappl9 144 361 0 361 3 3 0 1 0 8 0 amappl8 136 167 0 127 2 0 2 2 0 8 0 amappl7 128 78 0 61 1 0 1 1 0 8 0 amappl6 120 531 0 519 2 1 1 2 0 8 0 amappl5 112 234 0 225 1 0 1 1 0 8 0 amappl4 104 662 0 634 2 0 2 2 0 8 0 amappl3 96 10522 0 10441 3 0 3 3 0 8 0 amappl2 88 2431 0 2380 4 2 2 4 0 8 0 amappl1 80 15579 0 15181 22 11 11 22 0 8 0 amappl 88 16626 0 16438 6 0 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 98 0 12 2 0 2 2 0 8 0 uaddrrnd 24 2048 0 2020 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2048 0 2020 1 0 1 1 0 8 0 vmmpekpl 168 17470 0 17403 4 0 4 4 0 8 0 vmmpepl 168 147485 0 145824 145 59 86 117 0 357 0 vmsppl 440 2047 0 2019 4 0 4 4 0 8 0 rwobjpl 56 46859 0 41066 85 3 82 82 0 8 0 pdppl 4096 4103 0 4043 179 115 64 75 0 8 4 pvpl 32 49312 0 0 398 0 398 398 0 265 0 pmappl 248 2047 0 2019 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 560 0 152 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d1cff0) 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 __mp_lock(ffffffff82e4e630) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e4e630) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82e4e630,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x491 sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19a sys/kern/kern_synch.c:417 biowait(fffffd8057f71d30) at biowait+0x91 sys/kern/vfs_bio.c:1254 bwrite(fffffd8057f71d30) at bwrite+0x1fe sys/kern/vfs_bio.c:766 VOP_BWRITE(fffffd8057f71d30) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:646 ufs_direnter(fffffd806d520968,fffffd80617b3888,ffff80002a25c0a0,ffff80002a25c3c0,fffffd807b937130) at ufs_direnter+0x60e sys/ufs/ufs/ufs_lookup.c:833 ufs_mkdir(ffff80002a25c230) at ufs_mkdir+0x4a3 sys/ufs/ufs/ufs_vnops.c:1179 VOP_MKDIR(fffffd806d520968,ffff80002a25c390,ffff80002a25c3c0,ffff80002a25c2c0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:394 domkdirat(ffff80002a29cfb0,ffffff9c,72293d0f2db0,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3077 end trace frame: 0xffff80002a25c530, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82d1cff0) 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 __mp_lock(ffffffff82e4e630) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e4e630) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82e4e630,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x491 sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19a sys/kern/kern_synch.c:417 biowait(fffffd8057f71d30) at biowait+0x91 sys/kern/vfs_bio.c:1254 bwrite(fffffd8057f71d30) at bwrite+0x1fe sys/kern/vfs_bio.c:766 VOP_BWRITE(fffffd8057f71d30) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:646 ufs_direnter(fffffd806d520968,fffffd80617b3888,ffff80002a25c0a0,ffff80002a25c3c0,fffffd807b937130) at ufs_direnter+0x60e sys/ufs/ufs/ufs_lookup.c:833 ufs_mkdir(ffff80002a25c230) at ufs_mkdir+0x4a3 sys/ufs/ufs/ufs_vnops.c:1179 VOP_MKDIR(fffffd806d520968,ffff80002a25c390,ffff80002a25c3c0,ffff80002a25c2c0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:394 domkdirat(ffff80002a29cfb0,ffffff9c,72293d0f2db0,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3077 syscall(ffff80002a25c540) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a25c540) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72293d0f2e20, count: -16 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(ffffffff828f46ff) at panic+0x17b sys/kern/subr_prf.c:198 pmap_remove_ptes(fffffd806ae3f5e0,fffffd80076d6d60,7f8136c19118,26d83223000,26d83263000,0,20308d6ebf88ee27) at pmap_remove_ptes+0x33e pmap_do_remove(fffffd806ae3f5e0,26d83223000,26d83263000,0) at pmap_do_remove+0x410 sys/arch/amd64/amd64/pmap.c:1896 uvm_unmap_kill_entry_withlock(fffffd806ad5e6f0,fffffd806ae33ea0,0) at uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2534 uvmspace_free(fffffd806ad5e6f0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 reaper(ffff80002a1491f8) at reaper+0x197 sys/kern/kern_exit.c:463 end trace frame: 0x0, count: 7 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828f46ff) at panic+0x17b sys/kern/subr_prf.c:198 pmap_remove_ptes(fffffd806ae3f5e0,fffffd80076d6d60,7f8136c19118,26d83223000,26d83263000,0,20308d6ebf88ee27) at pmap_remove_ptes+0x33e pmap_do_remove(fffffd806ae3f5e0,26d83223000,26d83263000,0) at pmap_do_remove+0x410 sys/arch/amd64/amd64/pmap.c:1896 uvm_unmap_kill_entry_withlock(fffffd806ad5e6f0,fffffd806ae33ea0,0) at uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806ad5e6f0) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2534 uvmspace_free(fffffd806ad5e6f0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 reaper(ffff80002a1491f8) at reaper+0x197 sys/kern/kern_exit.c:463 end trace frame: 0x0, count: -8