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 * 4729 11653 32767 0x1810 0x4080080 1 syz-executor.2 17657 18480 32767 0x10 0 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(ffff80002e49a2a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e49a2a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e49a2a0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(42d5e1e86d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e49a2a0,ffff800029a4e310,ffff800029a4e370) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029a4e3e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029a4e3e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cca7d9270, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> 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(ffff80002e49a2a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e49a2a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e49a2a0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(42d5e1e86d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e49a2a0,ffff800029a4e310,ffff800029a4e370) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029a4e3e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029a4e3e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cca7d9270, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800029a4df40 rbx 0xffff800020de9bb7 rdx 0 rcx 0 rax 0xffff80002e49a2a0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x87deb9c23a85f78c r11 0x2488ab9ee8803765 r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800029a4df30 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=4729 stat=onproc flags process=1810 proc=4080080 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002e49afc0,0xffff80002e49b270 process=0xffff8000fffeadd0 user=0xffff800029a49000, vmspace=0xfffffd8064e14e78 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56795 446522 59277 32767 2 0x10 syz-executor.1 11653 166224 50676 32767 2 0x3810 syz-executor.2 *11653 4729 50676 32767 7 0x4081890 syz-executor.2 18480 17657 71778 32767 7 0x10 syz-executor.6 18480 495966 71778 32767 3 0x4000090 fsleep syz-executor.6 18480 203742 71778 32767 2 0x4000010 syz-executor.6 37998 156519 33869 32767 2 0x10 syz-executor.4 37998 91704 33869 32767 3 0x4000090 netio syz-executor.4 91851 476982 97772 32767 2 0x10 syz-executor.3 91851 99116 97772 32767 3 0x4000090 fsleep syz-executor.3 7272 142866 1205 32767 3 0x90 nanoslp syz-executor.5 7272 496136 1205 32767 3 0x4000090 netio syz-executor.5 7272 448061 1205 32767 3 0x4000090 fsleep syz-executor.5 71778 386827 6873 32767 3 0x90 nanoslp syz-executor.6 6873 409212 42509 0 3 0x82 wait syz-executor.6 73448 519085 0 0 3 0x14200 bored sosplice 1205 218776 83716 32767 3 0x90 nanoslp syz-executor.5 86483 85821 52527 32767 3 0x90 piperd syz-executor.7 83716 224420 42509 0 3 0x82 wait syz-executor.5 52527 171688 42509 0 3 0x82 wait syz-executor.7 33869 271842 17531 32767 3 0x90 nanoslp syz-executor.4 97772 118891 52324 32767 3 0x90 nanoslp syz-executor.3 17531 318673 42509 0 3 0x82 wait syz-executor.4 52324 97642 42509 0 3 0x82 wait syz-executor.3 50676 429649 14629 32767 3 0x90 nanoslp syz-executor.2 59277 149392 15911 32767 3 0x90 nanoslp syz-executor.1 14629 335911 42509 0 3 0x82 wait syz-executor.2 48344 467021 58295 32767 3 0x90 piperd syz-executor.0 15911 191463 42509 0 3 0x82 wait syz-executor.1 58295 328931 42509 0 3 0x82 wait syz-executor.0 42509 350308 55457 0 3 0x82 thrsleep syz-fuzzer 42509 447104 55457 0 3 0x4000082 nanoslp syz-fuzzer 42509 442435 55457 0 3 0x4000082 thrsleep syz-fuzzer 42509 249051 55457 0 3 0x4000082 thrsleep syz-fuzzer 42509 517045 55457 0 3 0x4000082 thrsleep syz-fuzzer 42509 399483 55457 0 3 0x4000082 kqread syz-fuzzer 42509 474285 55457 0 3 0x4000082 thrsleep syz-fuzzer 42509 369389 55457 0 3 0x4000082 thrsleep syz-fuzzer 42509 321128 55457 0 3 0x4000082 thrsleep syz-fuzzer 55457 1289 45497 0 3 0x10008a sigsusp ksh 45497 133561 79646 0 3 0x9a kqread sshd 3891 65359 1 0 3 0x100083 ttyin getty 79646 492328 1 0 3 0x88 kqread sshd 80166 390584 42850 73 3 0x1100090 kqread syslogd 42850 224941 1 0 3 0x100082 netio syslogd 88010 295268 1 0 3 0x100080 kqread resolvd 52890 337703 8855 77 3 0x100092 kqread dhcpleased 59028 102061 8855 77 3 0x100092 kqread dhcpleased 8855 422747 1 0 3 0x80 kqread dhcpleased 20083 134381 0 0 3 0x14200 bored smr 71224 256538 0 0 2 0x14200 zerothread 66556 48306 0 0 3 0x14200 aiodoned aiodoned 31351 304770 0 0 3 0x14200 syncer update 87499 246851 0 0 3 0x14200 cleaner cleaner 33287 460800 0 0 3 0x14200 reaper reaper 99383 347556 0 0 3 0x14200 pgdaemon pagedaemon 44193 3303 0 0 3 0x14200 bored viomb 70818 466644 0 0 3 0x40014200 acpi0 acpi0 21465 97470 0 0 3 0x40014200 idle1 24790 350984 0 0 3 0x14200 bored softnet 82916 433269 0 0 3 0x14200 bored softnet 58735 356844 0 0 3 0x14200 bored softnet 27682 467108 0 0 3 0x14200 bored softnet 56606 462306 0 0 3 0x14200 bored systqmp 46955 8671 0 0 3 0x14200 bored systq 74616 518403 0 0 3 0x40014200 bored softclock 8548 136081 0 0 3 0x40014200 idle0 1 451888 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex vmmpepl r = 0 (0xffffffff829e1fc0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_get+0xbd sys/kern/subr_pool.c:581 #4 uvm_mapent_alloc+0x2c9 sys/uvm/uvm_map.c:1779 #5 uvm_map_protect+0x6f4 uvm_map_clip_end sys/uvm/uvm_map.c:4814 [inline] #5 uvm_map_protect+0x6f4 sys/uvm/uvm_map.c:3402 #6 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 CPU 1: 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 Process 18480 (syz-executor.6) thread 0xffff80002e49ad20 (17657) exclusive rwlock vmmaplk r = 0 (0xfffffd8064e14bb0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5457 #3 uvm_map_protect+0xc1 uvm_map_addr_RBT_ROOT sys/uvm/uvm_map.h:176 [inline] #3 uvm_map_protect+0xc1 uvm_map_entrybyaddr sys/uvm/uvm_map.c:568 [inline] #3 uvm_map_protect+0xc1 sys/uvm/uvm_map.c:3337 #4 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ad3210) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3bb sys/kern/sched_bsd.c:416 #3 sleep_finish+0x180 sys/kern/kern_synch.c:420 #4 rw_enter+0x35a sys/kern/kern_rwlock.c:286 #5 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5457 #6 uvm_map_protect+0xc1 uvm_map_addr_RBT_ROOT sys/uvm/uvm_map.h:176 [inline] #6 uvm_map_protect+0xc1 uvm_map_entrybyaddr sys/uvm/uvm_map.c:568 [inline] #6 uvm_map_protect+0xc1 sys/uvm/uvm_map.c:3337 #7 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10204 6412K 6420K 78643K 11299 0 pcb 13 12K 14K 78643K 17 0 rtable 238 6K 7K 78643K 777 0 ifaddr 81 16K 16K 78643K 89 0 counters 56 35K 35K 78643K 58 0 ioctlops 0 0K 2K 78643K 38 0 iov 0 0K 16K 78643K 360 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 1702 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 43 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1082 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 109K 78643K 2713 0 sigio 0 0K 0K 78643K 16 0 proc 56 78K 103K 78643K 716 0 subproc 104 6K 6K 78643K 117 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 244 0 in_multi 99 6K 7K 78643K 146 0 ether_multi 1 0K 0K 78643K 24 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 223 996K 996K 78643K 223 0 exec 0 0K 2K 78643K 848 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 256 84K 98K 78643K 18311 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 2 0K 0K 78643K 188 0 NDP 11 0K 2K 78643K 30 0 temp 124 4722K 4786K 78643K 9317 0 kqueue 13 20K 26K 78643K 280 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 377 0 374 7 6 1 3 0 8 0 rtentry 112 126 0 14 4 0 4 4 0 8 0 unpcb 136 7170 0 7153 38 32 6 9 0 8 5 syncache 296 44 0 44 9 8 1 1 0 8 1 tcpqe 32 510 0 510 6 6 0 1 0 8 0 tcpcb 736 1416 0 1398 51 48 3 15 0 8 0 arp 120 21 0 2 1 0 1 1 0 8 0 inpcb 320 2834 0 2816 51 44 7 15 0 8 2 nd6 48 30 0 5 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 536 0 70 31 1 30 30 0 8 0 art_table 32 537 0 70 4 0 4 4 0 8 0 art_node 16 125 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1080 0 1070 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 4980 0 3540 91 0 91 91 0 8 0 ffsino 272 4980 0 3540 97 0 97 97 0 8 0 nchpl 144 8761 0 7127 63 0 63 63 0 8 0 uvmvnodes 80 5106 0 0 105 0 105 105 0 8 0 vnodes 224 5106 0 0 301 0 301 301 0 8 0 namei 1024 29552 0 29552 1 0 1 1 0 8 1 percpumem 16 41 0 1 1 0 1 1 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 25507 0 25507 14 13 1 8 0 8 1 plimitpl 152 633 0 610 2 1 1 2 0 8 0 sigapl 424 2992 0 2939 7 0 7 7 0 8 0 futexpl 64 26982 0 26978 1 0 1 1 0 8 0 knotepl 120 134 0 0 4 0 4 4 0 8 0 kqueuepl 224 888 0 879 21 18 3 9 0 8 2 pipepl 336 1003 0 975 26 23 3 8 0 8 0 fdescpl 496 2974 0 2939 7 2 5 6 0 8 0 filepl 152 25406 0 25166 53 37 16 20 0 8 6 lockfpl 104 351 0 349 1 0 1 1 0 8 0 lockfspl 48 133 0 131 1 0 1 1 0 8 0 sessionpl 144 24 0 8 1 0 1 1 0 8 0 pgrppl 48 24 0 8 1 0 1 1 0 8 0 ucredpl 104 3754 0 3736 1 0 1 1 0 8 0 zombiepl 144 2940 0 2939 1 0 1 1 0 8 0 processpl 1064 2992 0 2939 4 0 4 4 0 8 0 procpl 672 8558 0 8490 13 5 8 8 0 8 1 sosppl 168 44 0 44 8 8 0 1 0 8 0 sockpl 480 10599 0 10562 207 189 18 34 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 30 0 0 4 2 2 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 181 0 0 21 0 21 21 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 8822 0 0 547 0 547 547 0 8 0 bufpl 288 8018 0 1687 453 0 453 453 0 8 0 anonpl 24 595675 0 583354 135 36 99 106 0 186 13 amapchunkpl 152 51856 0 51252 46 16 30 36 0 158 4 amappl16 200 9250 0 8891 61 38 23 32 0 8 3 amappl15 192 598 0 593 1 0 1 1 0 8 0 amappl14 184 353 0 346 1 0 1 1 0 8 0 amappl13 176 411 0 408 1 0 1 1 0 8 0 amappl12 168 347 0 343 1 0 1 1 0 8 0 amappl11 160 465 0 449 1 0 1 1 0 8 0 amappl10 152 369 0 361 1 0 1 1 0 8 0 amappl9 144 858 0 853 1 0 1 1 0 8 0 amappl8 136 650 0 584 3 0 3 3 0 8 0 amappl7 128 117 0 106 1 0 1 1 0 8 0 amappl6 120 568 0 547 2 1 1 2 0 8 0 amappl5 112 2391 0 2369 1 0 1 1 0 8 0 amappl4 104 1556 0 1530 2 1 1 2 0 8 0 amappl3 96 9331 0 9275 2 0 2 2 0 8 0 amappl2 88 3678 0 3608 3 1 2 3 0 8 0 amappl1 80 73526 0 72832 19 2 17 19 0 8 0 amappl 88 17749 0 17580 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 2974 0 2939 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2974 0 2939 1 0 1 1 0 8 0 vmmpekpl 168 28098 0 28038 4 0 4 4 0 8 0 vmmpepl 168 294611 0 291942 166 35 131 136 0 357 6 vmsppl 368 2973 0 2939 4 0 4 4 0 8 0 rwobjpl 56 80570 0 73997 95 1 94 94 0 8 0 pdppl 4096 5955 0 5878 143 62 81 87 0 8 4 pvpl 32 1201943 0 1184497 281 104 177 240 0 265 21 pmappl 248 2973 0 2939 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1486 0 139 39 0 39 39 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82988ff0) 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+0x21 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 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 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800027bee9c0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027bee9c0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffdd9a0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82988ff0) 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+0x21 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x21 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 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800027bee9c0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027bee9c0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffdd9a0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp 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(ffff80002e49a2a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e49a2a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e49a2a0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(42d5e1e86d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e49a2a0,ffff800029a4e310,ffff800029a4e370) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029a4e3e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029a4e3e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cca7d9270, count: 3 ddb{1}> 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(ffff80002e49a2a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e49a2a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800029a4e180,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e49a2a0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(42d5e1e86d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e49a2a0,ffff800029a4e310,ffff800029a4e370) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800029a4e3e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800029a4e3e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cca7d9270, count: -12