panic: kernel diagnostic assertion "!ISSET(p->p_flag, P_WSLEEP) || p->p_stat == SSTOP" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_sched.c", line 265 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *284327 23022 32767 0x10 0 0K syz-executor.3 8549 24619 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82795a6a) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828181cc,ffffffff8276596b,109,ffffffff828419b7) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffffffff82bbeff0,ffff8000212b9340,33) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82d7b2e8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82d7b2e8) at timeout_run+0xd0 sys/kern/kern_timeout.c:640 softclock_process_tick_timeout(ffffffff82d7b2e8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:710 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x76f9c2a49fd0, count: 5 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "!ISSET(p->p_flag, P_WSLEEP) || p->p_stat == SSTOP" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_sched.c", line 265 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82795a6a) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828181cc,ffffffff8276596b,109,ffffffff828419b7) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffffffff82bbeff0,ffff8000212b9340,33) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82d7b2e8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82d7b2e8) at timeout_run+0xd0 sys/kern/kern_timeout.c:640 softclock_process_tick_timeout(ffffffff82d7b2e8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:710 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x76f9c2a49fd0, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002afd9610 rbx 0xffffffff82bbfb8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0xffff8000212855f0 rax 0xffffffff82bbeff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe264b2c0e21ccd3c r11 0xbde64d9ef0df6e28 r12 0xffffffff82bbf990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff826cbdcc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002afd9600 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=284327 stat=onproc flags process=10 proc=0 pri=53, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800021285080,0xffff8000212842f8 process=0xffff8000ffffb248 user=0xffff80002afd4000, vmspace=0xfffffd806bc581e8 estcpu=3, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2004 438696 90859 32767 2 0x10 syz-executor.0 2004 40846 90859 32767 3 0x4000090 fsleep syz-executor.0 2004 523538 90859 32767 3 0x4000090 fsleep syz-executor.0 94831 186028 25226 32767 2 0x10 syz-executor.2 94831 59950 25226 32767 3 0x4000090 fsleep syz-executor.2 94831 48350 25226 32767 3 0x4000090 fsleep syz-executor.2 *23022 284327 4143 32767 7 0x10 syz-executor.3 23022 450336 4143 32767 2 0x4000090 syz-executor.3 23022 75749 4143 32767 3 0x4000090 fsleep syz-executor.3 99003 297564 29160 32767 3 0x3810 suspend syz-executor.1 99003 5305 29160 32767 2 0x40818b0 syz-executor.1 25976 233521 21809 32767 2 0x10 syz-executor.5 25976 223570 21809 32767 3 0x4000090 fsleep syz-executor.5 19371 135291 54697 32767 3 0x90 nanoslp syz-executor.7 54697 383430 59164 0 3 0x82 wait syz-executor.7 29160 187440 75567 32767 3 0x90 nanoslp syz-executor.1 75567 452250 59164 0 3 0x82 wait syz-executor.1 90859 417792 2138 32767 3 0x90 nanoslp syz-executor.0 2138 227119 59164 0 3 0x82 wait syz-executor.0 11704 131398 0 0 3 0x14200 bored sosplice 21809 2058 81581 32767 3 0x90 nanoslp syz-executor.5 81581 177790 59164 0 3 0x82 wait syz-executor.5 40215 299571 99839 32767 3 0x90 nanoslp syz-executor.6 99839 281122 59164 0 3 0x82 wait syz-executor.6 34968 240441 36493 32767 3 0x90 nanoslp syz-executor.4 25226 96812 50230 32767 3 0x90 nanoslp syz-executor.2 36493 307870 59164 0 3 0x82 wait syz-executor.4 50230 459580 59164 0 3 0x82 wait syz-executor.2 4143 178432 58723 32767 3 0x90 nanoslp syz-executor.3 58723 294272 59164 0 3 0x82 wait syz-executor.3 59164 396951 17145 0 3 0x82 thrsleep syz-fuzzer 59164 238043 17145 0 3 0x4000082 nanoslp syz-fuzzer 59164 133598 17145 0 3 0x4000082 wait syz-fuzzer 59164 251216 17145 0 3 0x4000082 wait syz-fuzzer 59164 506988 17145 0 3 0x4000082 wait syz-fuzzer 59164 429049 17145 0 3 0x4000082 thrsleep syz-fuzzer 59164 258397 17145 0 2 0x4000002 syz-fuzzer 59164 314403 17145 0 3 0x4000082 wait syz-fuzzer 59164 161779 17145 0 3 0x4000082 wait syz-fuzzer 59164 49769 17145 0 3 0x4000082 thrsleep syz-fuzzer 59164 330800 17145 0 3 0x4000082 wait syz-fuzzer 59164 475051 17145 0 3 0x4000082 wait syz-fuzzer 59164 88642 17145 0 3 0x4000082 wait syz-fuzzer 59164 477998 17145 0 3 0x4000082 thrsleep syz-fuzzer 59164 175363 17145 0 3 0x4000082 kqread syz-fuzzer 17145 127153 18099 0 3 0x10008a sigsusp ksh 18099 328927 23482 0 3 0x9a kqread sshd 63815 54697 1 0 3 0x100083 ttyin getty 23482 437223 1 0 3 0x88 kqread sshd 97080 395303 15026 73 3 0x1100090 kqread syslogd 15026 13630 1 0 3 0x100082 netio syslogd 68027 40181 1 0 3 0x100080 kqread resolvd 92768 494632 69997 77 3 0x100092 kqread dhcpleased 8327 416592 69997 77 3 0x100092 kqread dhcpleased 69997 503957 1 0 3 0x80 kqread dhcpleased 20719 440434 0 0 3 0x14200 bored smr 95955 223535 0 0 2 0x14200 zerothread 30375 198501 0 0 3 0x14200 aiodoned aiodoned 20303 404049 0 0 3 0x14200 syncer update 61843 399532 0 0 3 0x14200 cleaner cleaner 24619 8549 0 0 7 0x14200 reaper 40419 258954 0 0 3 0x14200 pgdaemon pagedaemon 56738 138558 0 0 3 0x14200 bored viomb 4141 365980 0 0 3 0x40014200 acpi0 acpi0 41301 496864 0 0 3 0x40014200 idle1 7163 12323 0 0 3 0x14200 bored softnet3 57736 502338 0 0 3 0x14200 bored softnet2 29830 128585 0 0 3 0x14200 bored softnet1 63591 317064 0 0 3 0x14200 bored softnet0 54058 446698 0 0 3 0x14200 bored systqmp 40820 84247 0 0 3 0x14200 bored systq 37217 445444 0 0 3 0x40014200 bored softclock 80413 259337 0 0 3 0x40014200 idle0 1 441369 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d7b2a0) #0 witness_lock+0x447 #1 schedcpu+0x119 sys/kern/sched_bsd.c:219 #2 timeout_run+0xd0 sys/kern/kern_timeout.c:640 #3 softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 #4 softclock+0x130 sys/kern/kern_timeout.c:710 #5 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 #6 Xsoftclock+0x27 shared mutex timeout r = 0 (0xffffffff82b91078) #0 witness_lock+0x447 #1 timeout_run+0xbb sys/kern/kern_timeout.c:636 #2 softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 #3 softclock+0x130 sys/kern/kern_timeout.c:710 #4 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 #5 Xsoftclock+0x27 CPU 1: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82d3f750) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #2 mtx_enter+0x4f sys/kern/kern_lock.c:266 #3 uvm_pmr_freepages+0x10c sys/uvm/uvm_pmemrange.c:1289 #4 pmap_do_remove+0x676 sys/arch/amd64/amd64/pmap.c:1909 #5 uvm_unmap_kill_entry_withlock+0x1b0 sys/uvm/uvm_map.c:1928 #6 uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #6 uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2565 #7 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3503 #8 reaper+0x19a sys/kern/kern_exit.c:449 #9 proc_trampoline+0x1c Process 23022 (syz-executor.3) thread 0xffff8000212855f0 (284327) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d16e08) #0 witness_lock+0x447 #1 softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 #2 Xsoftclock+0x27 exclusive sched_lock &sched_lock r = 0 (0xffffffff82d7b2a0) #0 witness_lock+0x447 #1 schedcpu+0x119 sys/kern/sched_bsd.c:219 #2 timeout_run+0xd0 sys/kern/kern_timeout.c:640 #3 softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 #4 softclock+0x130 sys/kern/kern_timeout.c:710 #5 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 #6 Xsoftclock+0x27 shared mutex timeout r = 0 (0xffffffff82b91078) #0 witness_lock+0x447 #1 timeout_run+0xbb sys/kern/kern_timeout.c:636 #2 softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 #3 softclock+0x130 sys/kern/kern_timeout.c:710 #4 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 #5 Xsoftclock+0x27 Process 24619 (reaper) thread 0xffff8000211ad058 (8549) exclusive rwlock vmmaplk r = 0 (0xfffffd806b713698) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0xfa sys/uvm/uvm_map.c:5345 #3 uvm_map_teardown+0x85 sys/uvm/uvm_map.c:2533 #4 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3503 #5 reaper+0x19a sys/kern/kern_exit.c:449 #6 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 6407K 6419K 78643K 11272 0 pcb 13 10K 12K 78643K 15 0 rtable 236 6K 6K 78643K 500 0 pf 29 8K 8K 78643K 39 0 ifaddr 44 15K 15K 78643K 68 0 ifgroup 50 2K 2K 78643K 70 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 70 0 ioctlops 0 0K 2K 78643K 37 0 iov 0 0K 16K 78643K 75 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 1435 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 85 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 279 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 1271 0 sigio 0 0K 0K 78643K 189 0 proc 56 78K 115K 78643K 688 0 subproc 104 6K 6K 78643K 169 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 24 0 in_multi 99 7K 7K 78643K 168 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 577 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 381 85K 104K 78643K 14224 0 UVM aobj 131 4K 4K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 11 0K 2K 78643K 42 0 temp 74 5872K 5952K 78643K 6852 0 kqueue 12 18K 26K 78643K 109 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 48 0 45 1 0 1 1 0 8 0 rtentry 112 169 0 58 4 0 4 4 0 8 0 unpcb 144 747 0 734 11 7 4 6 0 8 3 syncache 296 12 0 12 2 2 0 1 0 8 0 tcpqe 32 55 0 55 2 2 0 1 0 8 0 tcpcb 808 625 0 613 12 3 9 12 0 8 5 arp 120 28 0 10 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 368 1033 0 1018 12 4 8 11 0 8 3 nd6 136 42 0 17 1 0 1 1 0 8 0 kcovpl 48 13 0 5 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 686 0 229 29 0 29 29 0 8 0 art_table 32 687 0 229 4 0 4 4 0 8 0 art_node 16 168 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 274 0 264 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2748 0 1307 91 0 91 91 0 8 0 ffsino 272 2748 0 1307 97 0 97 97 0 8 0 nchpl 144 4481 0 2839 63 0 63 63 0 8 0 uvmvnodes 80 2926 0 0 60 0 60 60 0 8 0 vnodes 216 2926 0 0 163 0 163 163 0 8 0 namei 1024 16242 0 16242 2 1 1 2 0 8 1 percpumem 16 48 0 5 1 0 1 1 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scxspl 216 14769 0 14769 10 9 1 8 0 8 1 plimitpl 152 184 0 158 3 1 2 2 0 8 0 sigapl 424 1546 0 1491 7 0 7 7 0 8 0 futexpl 64 9208 0 9201 1 0 1 1 0 8 0 knotepl 120 169 0 0 6 0 6 6 0 8 0 kqueuepl 216 130 0 122 1 0 1 1 0 8 0 pipepl 320 282 0 254 6 3 3 6 0 8 0 fdescpl 496 1528 0 1494 7 1 6 6 0 8 0 filepl 152 8361 0 8124 18 5 13 16 0 8 3 lockfpl 104 81 0 79 1 0 1 1 0 8 0 lockfspl 48 33 0 31 1 0 1 1 0 8 0 sessionpl 144 28 0 12 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 828 0 810 1 0 1 1 0 8 0 zombiepl 144 1495 0 1491 1 0 1 1 0 8 0 processpl 1072 1546 0 1491 4 0 4 4 0 8 0 procpl 696 3453 0 3376 10 2 8 9 0 8 0 sosppl 168 12 0 9 2 1 1 1 0 8 0 sockpl 488 1842 0 1811 43 29 14 21 0 8 6 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 21 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 248 0 0 31 0 31 31 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 981 0 0 60 0 60 60 0 8 0 bufpl 288 5967 0 144 416 0 416 416 0 8 0 anonpl 24 317031 0 307714 89 2 87 88 0 186 9 amapchunkpl 152 46565 0 45665 48 1 47 48 0 158 11 amappl16 200 7320 0 6943 21 0 21 21 0 8 1 amappl15 192 38 0 38 1 1 0 1 0 8 0 amappl14 184 168 0 155 2 1 1 2 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 2215 0 2177 2 0 2 2 0 8 0 amappl11 160 50 0 39 1 0 1 1 0 8 0 amappl10 152 27 0 18 1 0 1 1 0 8 0 amappl9 144 230 0 228 2 1 1 2 0 8 0 amappl8 136 281 0 207 3 0 3 3 0 8 0 amappl7 128 87 0 71 1 0 1 1 0 8 0 amappl6 120 292 0 271 2 1 1 2 0 8 0 amappl5 112 204 0 198 1 0 1 1 0 8 0 amappl4 104 640 0 601 3 1 2 3 0 8 0 amappl3 96 9124 0 9017 3 0 3 3 0 8 0 amappl2 88 1759 0 1687 4 2 2 3 0 8 0 amappl1 80 14036 0 13510 22 10 12 22 0 8 0 amappl 88 13621 0 13360 8 1 7 7 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 1529 0 1495 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1529 0 1495 1 0 1 1 0 8 0 vmmpekpl 168 16862 0 16797 4 0 4 4 0 8 0 vmmpepl 168 112363 0 109903 130 7 123 123 0 357 11 vmsppl 464 1528 0 1494 7 1 6 6 0 8 0 rwobjpl 56 37330 0 32861 67 3 64 64 0 8 0 pdppl 4096 3066 0 2988 156 74 82 92 0 8 4 pvpl 32 712258 0 696907 363 61 302 363 0 265 154 pmappl 248 1528 0 1494 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 922 0 84 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82795a6a) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828181cc,ffffffff8276596b,109,ffffffff828419b7) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffffffff82bbeff0,ffff8000212b9340,33) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82d7b2e8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82d7b2e8) at timeout_run+0xd0 sys/kern/kern_timeout.c:640 softclock_process_tick_timeout(ffffffff82d7b2e8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:687 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:710 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x76f9c2a49fd0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d58ff0) 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(ffffffff82d7b098) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d7b098) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82d3f5a8,ffffffff) at wakeup_n+0x37 sys/kern/kern_synch.c:538 uvm_pmr_freepages(fffffd8007547180,1) at uvm_pmr_freepages+0x2ce sys/uvm/uvm_pmemrange.c:1303 pmap_do_remove(fffffd807eff85d0,20000000,20010000,0) at pmap_do_remove+0x676 sys/arch/amd64/amd64/pmap.c:1909 uvm_unmap_kill_entry_withlock(fffffd806b7135a0,fffffd80697c06f0,0) at uvm_unmap_kill_entry_withlock+0x1b0 sys/uvm/uvm_map.c:1928 uvm_map_teardown(fffffd806b7135a0) at uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806b7135a0) at uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2565 uvmspace_free(fffffd806b7135a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3503 reaper(ffff8000211ad058) at reaper+0x19a sys/kern/kern_exit.c:449 end trace frame: 0x0, count: 4 ddb{1}> trace x86_ipi_db(ffff800020d58ff0) 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(ffffffff82d7b098) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d7b098) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82d3f5a8,ffffffff) at wakeup_n+0x37 sys/kern/kern_synch.c:538 uvm_pmr_freepages(fffffd8007547180,1) at uvm_pmr_freepages+0x2ce sys/uvm/uvm_pmemrange.c:1303 pmap_do_remove(fffffd807eff85d0,20000000,20010000,0) at pmap_do_remove+0x676 sys/arch/amd64/amd64/pmap.c:1909 uvm_unmap_kill_entry_withlock(fffffd806b7135a0,fffffd80697c06f0,0) at uvm_unmap_kill_entry_withlock+0x1b0 sys/uvm/uvm_map.c:1928 uvm_map_teardown(fffffd806b7135a0) at uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd806b7135a0) at uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2565 uvmspace_free(fffffd806b7135a0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3503 reaper(ffff8000211ad058) at reaper+0x19a sys/kern/kern_exit.c:449 end trace frame: 0x0, count: -11