panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *214019 65059 32767 0x1810 0x4080080 0 syz-executor.0 151874 69319 0 0x14000 0x200 1 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000fffe4fc0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffe4fc0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffe4fc0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(a77ae18bb00,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffe4fc0,ffff80002ca60e30,ffff80002ca60e90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca60f00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca60f00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7854729f00, count: 3 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 "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000fffe4fc0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffe4fc0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffe4fc0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(a77ae18bb00,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffe4fc0,ffff80002ca60e30,ffff80002ca60e90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca60f00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca60f00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7854729f00, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002ca60a60 rbx 0xffffffff8292bbb7 cpu_info_full_primary+0x2bb7 rdx 0xffff80000002a3c0 rcx 0 rax 0xffff8000fffe4fc0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6d3e709e0286fd04 r11 0x3ae4a1bd80b56790 r12 0xffffffff8292b9b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81477f68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002ca60a50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=214019 stat=onproc flags process=1810 proc=4080080 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffe4540,0xffff8000fffe5510 process=0xffff8000fffe9908 user=0xffff80002ca5b000, vmspace=0xfffffd8065220018 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98748 407295 84423 32767 2 0x10 syz-executor.1 98748 335011 84423 32767 2 0x4000010 syz-executor.1 6907 331583 54173 32767 2 0x10 syz-executor.2 6907 457234 54173 32767 3 0x4000090 fsleep syz-executor.2 77242 306909 48018 32767 2 0x10 syz-executor.7 77242 37966 48018 32767 3 0x4000090 fsleep syz-executor.7 77242 462592 48018 32767 2 0x4000010 syz-executor.7 65059 368118 73239 32767 2 0x3810 syz-executor.0 *65059 214019 73239 32767 7 0x4081890 syz-executor.0 90344 295754 13564 32767 2 0x10 syz-executor.4 17894 220745 53614 32767 2 0x10 syz-executor.5 17894 323247 53614 32767 3 0x4000090 netio syz-executor.5 17894 430564 53614 32767 3 0x4000090 fsleep syz-executor.5 17894 493821 53614 32767 3 0x4000090 fsleep syz-executor.5 95967 140842 49956 32767 2 0x10 syz-executor.3 95967 392076 49956 32767 2 0x4000010 syz-executor.3 14424 443831 84277 32767 2 0x10 syz-executor.6 14424 143293 84277 32767 3 0x4000090 ttyout syz-executor.6 27747 21562 0 0 3 0x14200 bored sosplice 48018 288020 24153 32767 3 0x90 nanoslp syz-executor.7 84277 394601 13851 32767 3 0x90 nanoslp syz-executor.6 24153 24706 15467 0 3 0x82 wait syz-executor.7 13564 513644 88874 32767 3 0x90 nanoslp syz-executor.4 49956 185230 86255 32767 3 0x90 nanoslp syz-executor.3 13851 413248 15467 0 3 0x82 wait syz-executor.6 53614 218924 33891 32767 3 0x90 nanoslp syz-executor.5 88874 505244 15467 0 3 0x82 wait syz-executor.4 33891 499560 15467 0 3 0x82 wait syz-executor.5 54173 27651 66636 32767 3 0x90 nanoslp syz-executor.2 86255 395683 15467 0 3 0x82 wait syz-executor.3 66636 121614 15467 0 3 0x82 wait syz-executor.2 84423 155340 38655 32767 3 0x90 nanoslp syz-executor.1 38655 35513 15467 0 3 0x82 wait syz-executor.1 73239 480946 42235 32767 3 0x90 nanoslp syz-executor.0 42235 288264 15467 0 3 0x82 wait syz-executor.0 15467 337526 27010 0 3 0x82 thrsleep syz-fuzzer 15467 375085 27010 0 2 0x4000482 syz-fuzzer 15467 472402 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 153625 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 54316 27010 0 3 0x4000082 kqread syz-fuzzer 15467 157146 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 438380 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 251917 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 239757 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 282871 27010 0 3 0x4000082 thrsleep syz-fuzzer 15467 487118 27010 0 3 0x4000082 thrsleep syz-fuzzer 27010 42733 14795 0 3 0x10008a sigsusp ksh 14795 251786 6108 0 3 0x9a kqread sshd 39152 260882 1 0 3 0x100083 ttyin getty 6108 178109 1 0 3 0x88 kqread sshd 94694 157278 44139 73 3 0x1100090 kqread syslogd 44139 453237 1 0 3 0x100082 netio syslogd 89329 47838 1 0 3 0x100080 kqread resolvd 70606 24523 38974 77 3 0x100092 kqread dhcpleased 43432 82939 38974 77 3 0x100092 kqread dhcpleased 38974 399972 1 0 3 0x80 kqread dhcpleased 53160 49386 0 0 3 0x14200 bored smr 76984 381214 0 0 2 0x14200 zerothread 56602 393684 0 0 3 0x14200 aiodoned aiodoned 33364 510316 0 0 3 0x14200 syncer update 76248 136405 0 0 3 0x14200 cleaner cleaner 91170 475818 0 0 3 0x14200 reaper reaper 67271 342135 0 0 3 0x14200 pgdaemon pagedaemon 70079 135286 0 0 3 0x14200 bored viomb 20109 124311 0 0 3 0x40014200 acpi0 acpi0 65667 430617 0 0 3 0x40014200 idle1 57402 150324 0 0 3 0x14200 bored softnet 65428 424389 0 0 3 0x14200 bored softnet 3419 209666 0 0 3 0x14200 bored softnet 53523 133330 0 0 3 0x14200 bored softnet 69319 151874 0 0 7 0x14200 systqmp 20818 512571 0 0 3 0x14200 bored systq 6006 203911 0 0 3 0x40014200 bored softclock 41375 222973 0 0 3 0x40014200 idle0 1 76936 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 (0xffffffff82b5eeb8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 Process 69319 (systqmp) thread 0xffff8000211e82a0 (151874) shared rwlock pools r = 0 (0xffffffff8290d470) #0 witness_lock+0x44d #1 pool_gc_pages+0x21 sys/kern/subr_pool.c:1562 #2 taskq_thread+0xe5 sys/kern/kern_task.c:449 #3 proc_trampoline+0x1c shared rwlock systqmp r = 0 (0xffffffff829661c0) #0 witness_lock+0x44d #1 taskq_thread+0xca sys/kern/kern_task.c:445 #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10212 6413K 6420K 78643K 11304 0 pcb 13 8K 8K 78643K 13 0 rtable 236 6K 6K 78643K 367 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 39 0 iov 0 0K 24K 78643K 196 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 1591 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 369 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 26 97K 117K 78643K 1277 0 sigio 0 0K 0K 78643K 72 0 proc 56 78K 103K 78643K 567 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 98 0 in_multi 99 6K 6K 78643K 135 0 ether_multi 1 0K 0K 78643K 7 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 271 1208K 1208K 78643K 271 0 exec 0 0K 2K 78643K 733 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 7 26K 26K 78643K 7 0 UVM amap 257 84K 94K 78643K 9207 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 26 0 NDP 11 0K 2K 78643K 27 0 temp 124 4722K 4850K 78643K 5980 0 kqueue 12 18K 24K 78643K 131 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 185 0 182 4 1 3 3 0 8 2 rtentry 112 113 0 2 4 0 4 4 0 8 0 unpcb 136 2806 0 2786 20 15 5 10 0 8 4 syncache 296 16 0 16 4 3 1 1 0 8 1 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 736 413 0 406 14 12 2 8 0 8 0 arp 120 19 0 0 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 320 1086 0 1074 17 15 2 12 0 8 0 nd6 48 25 0 1 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 2 29 0 29 29 0 8 0 art_table 32 456 0 2 4 0 4 4 0 8 0 art_node 16 112 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 1 1 0 1 0 8 0 semapl 112 367 0 357 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3137 0 1703 90 0 90 90 0 8 0 ffsino 272 3137 0 1703 96 0 96 96 0 8 0 nchpl 144 4887 0 3210 63 0 63 63 0 8 0 uvmvnodes 80 3250 0 0 67 0 67 67 0 8 0 vnodes 224 3250 0 0 192 0 192 192 0 8 0 namei 1024 16331 0 16331 2 1 1 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 14557 0 14557 9 8 1 8 0 8 1 plimitpl 152 291 0 268 2 1 1 2 0 8 0 sigapl 424 1558 0 1503 7 0 7 7 0 8 0 futexpl 64 10932 0 10927 1 0 1 1 0 8 0 knotepl 120 582 0 0 17 0 17 17 0 8 0 kqueuepl 224 403 0 395 11 10 1 5 0 8 0 pipepl 336 282 0 254 6 3 3 6 0 8 0 fdescpl 496 1540 0 1503 6 1 5 6 0 8 0 filepl 152 10979 0 10736 31 13 18 19 0 8 8 lockfpl 104 132 0 130 1 0 1 1 0 8 0 lockfspl 48 43 0 41 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 104 1840 0 1822 1 0 1 1 0 8 0 zombiepl 144 1503 0 1503 1 0 1 1 0 8 1 processpl 1064 1558 0 1503 4 0 4 4 0 8 0 procpl 672 3998 0 3923 10 3 7 8 0 8 0 sosppl 168 11 0 11 3 3 0 1 0 8 0 sockpl 480 4081 0 4047 95 83 12 35 0 8 7 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 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 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 169 0 0 21 0 21 21 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 380 0 0 22 1 21 21 0 8 0 bufpl 288 5373 0 140 374 0 374 374 0 8 0 anonpl 24 295561 0 282969 108 20 88 102 0 186 3 amapchunkpl 152 25197 0 24582 34 9 25 31 0 158 1 amappl16 200 4501 0 4107 48 26 22 33 0 8 0 amappl15 192 303 0 300 1 0 1 1 0 8 0 amappl14 184 308 0 299 1 0 1 1 0 8 0 amappl13 176 224 0 220 1 0 1 1 0 8 0 amappl12 168 152 0 146 1 0 1 1 0 8 0 amappl11 160 221 0 202 1 0 1 1 0 8 0 amappl10 152 194 0 189 1 0 1 1 0 8 0 amappl9 144 504 0 500 1 0 1 1 0 8 0 amappl8 136 710 0 648 3 0 3 3 0 8 0 amappl7 128 255 0 240 1 0 1 1 0 8 0 amappl6 120 214 0 198 2 1 1 2 0 8 0 amappl5 112 860 0 842 1 0 1 1 0 8 0 amappl4 104 1204 0 1170 2 0 2 2 0 8 0 amappl3 96 4376 0 4311 2 0 2 2 0 8 0 amappl2 88 2107 0 2032 4 2 2 3 0 8 0 amappl1 80 38989 0 38229 21 5 16 19 0 8 0 amappl 88 8725 0 8554 5 0 5 5 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1540 0 1503 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1540 0 1503 1 0 1 1 0 8 0 vmmpekpl 168 16426 0 16368 3 0 3 3 0 8 0 vmmpepl 168 153129 0 150216 139 11 128 138 0 357 1 vmsppl 368 1539 0 1503 4 0 4 4 0 8 0 rwobjpl 56 42901 0 38110 69 1 68 68 0 8 0 pdppl 4096 3087 0 3006 132 51 81 91 0 8 0 pvpl 32 663422 0 645433 226 59 167 224 0 265 16 pmappl 248 1539 0 1503 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 806 0 71 21 0 21 21 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000fffe4fc0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffe4fc0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca60ca0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffe4fc0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(a77ae18bb00,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffe4fc0,ffff80002ca60e30,ffff80002ca60e90) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca60f00) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca60f00) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7854729f00, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a 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+0x23 __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff829e0538,ffffffff) at wakeup_n+0x37 uvm_pmr_freepageq(ffff800021200de0) at uvm_pmr_freepageq+0x292 sys/uvm/uvm_pmemrange.c:1352 km_free(fffffd80652be000,1000,ffffffff828b2100,ffffffff828b2118) at km_free+0x166 sys/uvm/uvm_km.c:911 pool_p_free(ffffffff82ae6f60,fffffd80652bef90) at pool_p_free+0x14b sys/kern/subr_pool.c:1014 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1585 taskq_thread(ffffffff82966150) at taskq_thread+0xe5 sys/kern/kern_task.c:449 end trace frame: 0x0, count: 5 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a 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+0x23 __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff829e0538,ffffffff) at wakeup_n+0x37 uvm_pmr_freepageq(ffff800021200de0) at uvm_pmr_freepageq+0x292 sys/uvm/uvm_pmemrange.c:1352 km_free(fffffd80652be000,1000,ffffffff828b2100,ffffffff828b2118) at km_free+0x166 sys/uvm/uvm_km.c:911 pool_p_free(ffffffff82ae6f60,fffffd80652bef90) at pool_p_free+0x14b sys/kern/subr_pool.c:1014 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1585 taskq_thread(ffffffff82966150) at taskq_thread+0xe5 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -10