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 460738 84322 32767 0x10 0 1 syz-executor.0 *452639 51863 32767 0x1810 0x4080080 0 syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffec7e8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffec7e8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffec7e8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dce54ae5480,a,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffec7e8,ffff80002e4b6d80,ffff80002e4b6de0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4b6e50) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4b6e50) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcf02e3a010, 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(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffec7e8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffec7e8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffec7e8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dce54ae5480,a,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffec7e8,ffff80002e4b6d80,ffff80002e4b6de0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4b6e50) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4b6e50) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcf02e3a010, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e4b69b0 rbx 0xffffffff82989bb7 cpu_info_full_primary+0x2bb7 rdx 0 rcx 0 rax 0xffff8000fffec7e8 r8 0x101010101010101 r9 0x8080808080808080 r10 0xef3c15d597acfb6e r11 0xdea05ac97aa2708b r12 0xffffffff829899b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e4b69a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.6) pid=452639 stat=onproc flags process=1810 proc=4080080 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffeed20,0xffff8000fffec018 process=0xffff8000fffe9908 user=0xffff80002e4b1000, vmspace=0xfffffd8074f0ba28 estcpu=25, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84322 460738 28363 32767 7 0x10 syz-executor.0 97148 269903 27598 32767 2 0x10 syz-executor.1 97148 137516 27598 32767 3 0x4000090 fsleep syz-executor.1 51863 14921 9270 32767 2 0x3810 syz-executor.6 *51863 452639 9270 32767 7 0x4081890 syz-executor.6 49598 275248 32100 32767 3 0x90 nanoslp syz-executor.3 49598 304890 32100 32767 3 0x4000090 pipewr syz-executor.3 49598 105667 32100 32767 3 0x4000090 fsleep syz-executor.3 49598 485411 32100 32767 3 0x4000090 fsleep syz-executor.3 44899 81107 7300 32767 3 0x90 nanoslp syz-executor.4 44899 408527 7300 32767 3 0x4000090 netcon syz-executor.4 44899 135521 7300 32767 3 0x4000090 fsleep syz-executor.4 44899 28680 7300 32767 3 0x4000090 fsleep syz-executor.4 15918 382770 0 0 3 0x14200 bored sosplice 70526 367702 73106 32767 3 0x90 nanoslp syz-executor.7 7300 329280 4995 32767 3 0x90 nanoslp syz-executor.4 73106 227696 31431 0 3 0x82 wait syz-executor.7 9270 354764 50285 32767 3 0x90 nanoslp syz-executor.6 39358 515077 28002 32767 3 0x90 nanoslp syz-executor.5 50285 60169 31431 0 3 0x82 wait syz-executor.6 32193 252901 60519 32767 3 0x90 nanoslp syz-executor.2 28002 390847 31431 0 3 0x82 wait syz-executor.5 32100 375795 87661 32767 3 0x90 nanoslp syz-executor.3 4995 193274 31431 0 3 0x82 wait syz-executor.4 87661 386495 31431 0 3 0x82 wait syz-executor.3 60519 27696 31431 0 3 0x82 wait syz-executor.2 27598 142755 8634 32767 3 0x90 nanoslp syz-executor.1 8634 234959 31431 0 3 0x82 wait syz-executor.1 28363 81677 49509 32767 3 0x90 nanoslp syz-executor.0 49509 240068 31431 0 3 0x82 wait syz-executor.0 31431 510555 69687 0 3 0x82 thrsleep syz-fuzzer 31431 83804 69687 0 3 0x4000082 thrsleep syz-fuzzer 31431 430956 69687 0 3 0x4000082 kqread syz-fuzzer 31431 461461 69687 0 3 0x4000082 thrsleep syz-fuzzer 31431 315729 69687 0 3 0x4000082 thrsleep syz-fuzzer 31431 109583 69687 0 3 0x4000082 thrsleep syz-fuzzer 31431 508960 69687 0 3 0x4000082 thrsleep syz-fuzzer 31431 278009 69687 0 3 0x4000082 thrsleep syz-fuzzer 69687 343226 69885 0 3 0x10008a sigsusp ksh 69885 475804 44762 0 3 0x9a kqread sshd 57548 43894 1 0 3 0x100083 ttyin getty 44762 75952 1 0 3 0x88 kqread sshd 97576 80000 55571 73 3 0x1100090 kqread syslogd 55571 81282 1 0 3 0x100082 netio syslogd 94389 220296 1 0 3 0x100080 kqread resolvd 21673 19962 52702 77 3 0x100092 kqread dhcpleased 25938 383490 52702 77 3 0x100092 kqread dhcpleased 52702 185207 1 0 3 0x80 kqread dhcpleased 78247 180817 0 0 3 0x14200 bored smr 36817 313935 0 0 2 0x14200 zerothread 54447 320150 0 0 3 0x14200 aiodoned aiodoned 10258 209640 0 0 3 0x14200 syncer update 42116 220111 0 0 3 0x14200 cleaner cleaner 47978 294254 0 0 3 0x14200 reaper reaper 46544 469649 0 0 3 0x14200 pgdaemon pagedaemon 30845 27612 0 0 3 0x14200 bored viomb 59999 43487 0 0 3 0x40014200 acpi0 acpi0 27557 76679 0 0 3 0x40014200 idle1 79435 515658 0 0 3 0x14200 bored softnet 43238 252033 0 0 3 0x14200 bored softnet 30473 246730 0 0 3 0x14200 bored softnet 73555 95232 0 0 3 0x14200 bored softnet 40155 215750 0 0 3 0x14200 bored systqmp 91246 473152 0 0 3 0x14200 bored systq 18095 235708 0 0 3 0x40014200 bored softclock 4897 163189 0 0 3 0x40014200 idle0 1 480578 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 (0xffffffff82a153e0) #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 CPU 1: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82ba3868) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_getpages+0xeac sys/uvm/uvm_pmemrange.c:1205 #4 uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 #5 pmap_get_ptp+0x18d sys/arch/amd64/amd64/pmap.c:1183 #6 pmap_enter+0x2ac #7 uvm_fault_lower_lookup+0x2a7 sys/uvm/uvm_fault.c:1192 #8 uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1227 #9 uvm_fault+0x238 #10 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #11 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #12 recall_trap+0x8 exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd80683db2f8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pmap_enter+0x1b8 rcr3 machine/cpufunc.h:141 [inline] #3 pmap_enter+0x1b8 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:414 [inline] #3 pmap_enter+0x1b8 sys/arch/amd64/amd64/pmap.c:2691 #4 uvm_fault_lower_lookup+0x2a7 sys/uvm/uvm_fault.c:1192 #5 uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1227 #6 uvm_fault+0x238 #7 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #8 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #9 recall_trap+0x8 Process 84322 (syz-executor.0) thread 0xffff8000fffe6540 (460738) exclusive rwlock uobjlk r = 0 (0xfffffd806dca4668) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 uvm_fault_lower_lookup+0x46 sys/uvm/uvm_fault.c:1126 #3 uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1227 #4 uvm_fault+0x238 #5 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #6 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #7 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd8074f0bd20) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1771 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10176 6408K 6420K 78643K 11266 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 346 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 0K 78643K 11 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1270 79K 79K 78643K 1283 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 308 0 proc 56 78K 115K 78643K 483 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 2 0 in_multi 99 6K 6K 78643K 103 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 2K 78643K 621 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 223 80K 92K 78643K 3205 0 UVM aobj 12 2K 2K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 106 4713K 4777K 78643K 3765 0 kqueue 13 20K 20K 78643K 32 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 73 0 70 2 0 2 2 0 8 1 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 315 0 302 6 0 6 6 0 8 5 syncache 296 7 0 7 2 1 1 1 0 8 1 tcpqe 32 61 0 61 1 0 1 1 0 8 1 tcpcb 736 38 0 25 2 0 2 2 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 145 0 132 2 0 2 2 0 8 0 nd6 48 24 0 0 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 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 11 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1682 0 246 90 0 90 90 0 8 0 ffsino 272 1682 0 246 96 0 96 96 0 8 0 nchpl 144 2171 0 492 63 0 63 63 0 8 0 uvmvnodes 80 1795 0 0 37 0 37 37 0 8 0 vnodes 224 1795 0 0 106 0 106 106 0 8 0 namei 1024 7314 0 7314 1 0 1 1 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 6434 0 6434 2 1 1 2 0 8 1 plimitpl 152 48 0 25 2 0 2 2 0 8 1 sigapl 424 584 0 529 7 0 7 7 0 8 0 futexpl 64 1762 0 1756 1 0 1 1 0 8 0 knotepl 120 105 0 0 4 0 4 4 0 8 0 kqueuepl 224 88 0 72 3 0 3 3 0 8 2 pipepl 336 175 0 144 6 0 6 6 0 8 3 fdescpl 496 566 0 532 7 1 6 6 0 8 1 filepl 152 2837 0 2579 15 0 15 15 0 8 5 lockfpl 104 43 0 41 1 0 1 1 0 8 0 lockfspl 48 12 0 10 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 157 0 139 1 0 1 1 0 8 0 zombiepl 144 532 0 529 1 0 1 1 0 8 0 processpl 1064 584 0 529 4 0 4 4 0 8 0 procpl 672 947 0 877 8 0 8 8 0 8 1 sockpl 480 544 0 515 21 10 11 21 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 147 0 0 18 0 18 18 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 300 0 0 19 0 19 19 0 8 0 bufpl 288 3757 0 135 259 0 259 259 0 8 0 anonpl 24 91222 0 79061 80 2 78 79 0 186 1 amapchunkpl 152 8284 0 7698 30 1 29 29 0 158 4 amappl16 200 1127 0 780 21 1 20 21 0 8 1 amappl15 192 21 0 21 1 0 1 1 0 8 1 amappl14 184 59 0 53 1 0 1 1 0 8 0 amappl13 176 142 0 135 1 0 1 1 0 8 0 amappl12 168 51 0 45 1 0 1 1 0 8 0 amappl11 160 100 0 82 1 0 1 1 0 8 0 amappl10 152 32 0 27 1 0 1 1 0 8 0 amappl9 144 498 0 493 1 0 1 1 0 8 0 amappl8 136 561 0 518 2 0 2 2 0 8 0 amappl7 128 129 0 116 1 0 1 1 0 8 0 amappl6 120 196 0 182 2 1 1 2 0 8 0 amappl5 112 189 0 174 1 0 1 1 0 8 0 amappl4 104 828 0 800 2 1 1 2 0 8 0 amappl3 96 1074 0 1013 2 0 2 2 0 8 0 amappl2 88 907 0 834 3 1 2 3 0 8 0 amappl1 80 15166 0 14481 19 3 16 19 0 8 0 amappl 88 2785 0 2622 6 1 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 13 0 2 1 0 1 1 0 8 0 uaddrrnd 24 566 0 532 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 566 0 532 1 0 1 1 0 8 0 vmmpekpl 168 9178 0 9127 3 0 3 3 0 8 0 vmmpepl 168 56722 0 54182 124 0 124 124 0 357 4 vmsppl 368 565 0 532 4 0 4 4 0 8 0 rwobjpl 56 16729 0 13621 46 1 45 45 0 8 0 pdppl 4096 1139 0 1064 109 28 81 91 0 8 6 pvpl 32 297759 0 280703 255 1 254 255 0 265 110 pmappl 248 565 0 532 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 644 0 30 18 0 18 18 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(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) 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(ffff8000fffec7e8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffec7e8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4b6bf0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffec7e8,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(dce54ae5480,a,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffec7e8,ffff80002e4b6d80,ffff80002e4b6de0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4b6e50) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4b6e50) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcf02e3a010, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020de8ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82a151d8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,f08d04d4a5946e88,0) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(fffffd80683db358,18000,0,3) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 pmap_get_ptp(fffffd80683db2e8,c0a5de7c000) at pmap_get_ptp+0x18d sys/arch/amd64/amd64/pmap.c:1183 pmap_enter(fffffd80683db2e8,c0a5de7c000,7704f000,5,20) at pmap_enter+0x2ac uvm_fault_lower_lookup(ffff800028012d90,ffff800028012dc8,ffff800028012d10) at uvm_fault_lower_lookup+0x2a7 sys/uvm/uvm_fault.c:1192 uvm_fault_lower(ffff800028012d90,ffff800028012dc8,ffff800028012d10,0) at uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1227 uvm_fault(fffffd8074f0bd08,c0a5de7b000,0,4) at uvm_fault+0x238 upageflttrap(ffff800028012f00,c0a5de7b62a) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 end trace frame: 0xffff800028012ef0, count: 0 ddb{1}> trace x86_ipi_db(ffff800020de8ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82a151d8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,f08d04d4a5946e88,0) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(fffffd80683db358,18000,0,3) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 pmap_get_ptp(fffffd80683db2e8,c0a5de7c000) at pmap_get_ptp+0x18d sys/arch/amd64/amd64/pmap.c:1183 pmap_enter(fffffd80683db2e8,c0a5de7c000,7704f000,5,20) at pmap_enter+0x2ac uvm_fault_lower_lookup(ffff800028012d90,ffff800028012dc8,ffff800028012d10) at uvm_fault_lower_lookup+0x2a7 sys/uvm/uvm_fault.c:1192 uvm_fault_lower(ffff800028012d90,ffff800028012dc8,ffff800028012d10,0) at uvm_fault_lower+0x5f sys/uvm/uvm_fault.c:1227 uvm_fault(fffffd8074f0bd08,c0a5de7b000,0,4) at uvm_fault+0x238 upageflttrap(ffff800028012f00,c0a5de7b62a) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff800028012f00) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc5180, count: -16