panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 386690 4315 0 0 0 1 syz-executor.4 *197138 83354 0 0x1800 0x4080080 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff800021309268,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021309268,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021309268,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(6e12791a8e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021309268,ffff80002e44fbb0,ffff80002e44fc10) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e44fc80) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e44fc80) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e123a46560, 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/multicore/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(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff800021309268,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021309268,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021309268,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(6e12791a8e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021309268,ffff80002e44fbb0,ffff80002e44fc10) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e44fc80) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e44fc80) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e123a46560, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e44f7e0 rbx 0xffffffff8297fbb7 cpu_info_full_primary+0x2bb7 rdx 0 rcx 0 rax 0xffff800021309268 r8 0x101010101010101 r9 0x8080808080808080 r10 0x315a5a747fb4132c r11 0x7ba280c9657540bc r12 0xffffffff8297f9b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e44f7d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=197138 stat=onproc flags process=1800 proc=4080080 pri=84, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000213087e8,0xffff800021309518 process=0xffff80002a5f5d30 user=0xffff80002e44a000, vmspace=0xfffffd806aa99460 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20131 266604 56784 0 2 0 syz-executor.2 4315 386690 65155 0 7 0 syz-executor.4 4315 176677 65155 0 2 0x4000000 syz-executor.4 83354 280386 31601 0 3 0x3800 suspend syz-executor.0 *83354 197138 31601 0 7 0x4081880 syz-executor.0 83354 247814 31601 0 2 0x4081880 syz-executor.0 5832 458027 93506 0 3 0x2 getblk syz-executor.7 21940 259738 93506 0 2 0x2 syz-executor.6 69846 159710 93506 0 3 0x82 nanoslp syz-executor.5 22759 186437 93506 0 3 0x2 biowait syz-executor.3 65155 58009 93506 0 3 0x82 nanoslp syz-executor.4 56784 449926 93506 0 3 0x82 nanoslp syz-executor.2 30758 31723 93506 0 3 0x82 nanoslp syz-executor.1 31601 515955 93506 0 3 0x82 nanoslp syz-executor.0 93506 58223 16176 0 3 0x82 thrsleep syz-fuzzer 93506 226321 16176 0 3 0x4000082 nanoslp syz-fuzzer 93506 338264 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 233868 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 10117 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 416174 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 397449 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 696 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 517245 16176 0 3 0x4000082 thrsleep syz-fuzzer 93506 482155 16176 0 3 0x4000082 kqread syz-fuzzer 16176 388145 20071 0 3 0x10008a sigsusp ksh 20071 389994 50885 0 3 0x9a kqread sshd 22331 154611 1 0 3 0x100083 ttyin getty 50885 510386 1 0 3 0x88 kqread sshd 70735 127561 85310 74 3 0x1100092 bpf pflogd 85310 419190 1 0 3 0x80 netio pflogd 31783 200436 39755 73 3 0x1100090 kqread syslogd 39755 496629 1 0 3 0x100082 netio syslogd 58872 376710 1 0 3 0x100080 kqread resolvd 46741 43490 30180 77 3 0x100092 kqread dhcpleased 51777 68663 30180 77 3 0x100092 kqread dhcpleased 30180 418514 1 0 3 0x80 kqread dhcpleased 49764 65321 0 0 3 0x14200 bored smr 82354 76711 0 0 2 0x14200 zerothread 1532 433829 0 0 3 0x14200 aiodoned aiodoned 31088 159438 0 0 3 0x14200 syncer update 86013 55601 0 0 3 0x14200 cleaner cleaner 17676 228340 0 0 3 0x14200 reaper reaper 96527 373923 0 0 3 0x14200 pgdaemon pagedaemon 17347 131101 0 0 3 0x14200 bored viomb 41775 241557 0 0 3 0x40014200 acpi0 acpi0 59859 35765 0 0 3 0x40014200 idle1 48094 312023 0 0 3 0x14200 bored softnet 34789 374867 0 0 3 0x14200 bored softnet 40914 300430 0 0 3 0x14200 bored softnet 59039 237377 0 0 3 0x14200 bored softnet 87627 61678 0 0 3 0x14200 bored systqmp 97906 452214 0 0 3 0x14200 bored systq 47548 35263 0 0 3 0x40014200 bored softclock 57614 155623 0 0 3 0x40014200 idle0 1 214855 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 (0xffffffff82a872c8) #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 5832 (syz-executor.7) thread 0xffff8000212f1270 (458027) exclusive rrwlock inode r = 0 (0xfffffd807638d808) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vn_closefile+0xc6 vn_close sys/kern/vfs_vnops.c:295 [inline] #5 vn_closefile+0xc6 sys/kern/vfs_vnops.c:612 #6 fdrop+0xc7 sys/kern/kern_descrip.c:1279 #7 closef+0x11c sys/kern/kern_descrip.c:1263 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 22759 (syz-executor.3) thread 0xffff8000212f07f0 (186437) exclusive rrwlock inode r = 0 (0xfffffd807638d098) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #10 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8068be72c0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3101 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10184 6483K 6509K 78643K 12606 0 pcb 13 11K 12K 78643K 472 0 rtable 234 6K 6K 78643K 348 0 ifaddr 86 17K 17K 78643K 90 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 6310 0 iov 0 0K 0K 78643K 194 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1338 84K 84K 78643K 3718 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 17K 78643K 266 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 516 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 93K 78643K 17460 0 sigio 0 0K 0K 78643K 44 0 proc 68 91K 115K 78643K 507 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 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 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 644 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 185 75K 76K 78643K 85606 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 12 0K 2K 78643K 28 0 temp 111 4714K 4778K 78643K 40150 0 kqueue 12 18K 18K 78643K 22 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 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 13282 0 13267 50 49 1 10 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 546 0 539 12 11 1 6 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 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 26 0 24 1 0 1 1 0 8 0 pfstkey 120 26 0 24 1 0 1 1 0 8 0 pfstate 336 26 0 24 3 2 1 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 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 semapl 112 514 0 504 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 20640 0 19202 91 0 91 91 0 8 0 ffsino 272 20640 0 19202 97 0 97 97 0 8 0 nchpl 144 41448 0 39766 64 0 64 64 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 121347 0 121346 2 1 1 2 0 8 0 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 113642 0 113641 12 11 1 6 0 8 0 plimitpl 152 362 0 345 1 0 1 1 0 8 0 sigapl 424 17765 0 17720 8 2 6 7 0 8 0 futexpl 64 90736 0 90734 1 0 1 1 0 8 0 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 224 18 0 10 1 0 1 1 0 8 0 pipepl 336 129 0 101 3 0 3 3 0 8 0 fdescpl 496 17748 0 17722 5 0 5 5 0 8 0 filepl 152 66859 0 66620 80 70 10 19 0 8 0 lockfpl 104 1033 0 1031 1 0 1 1 0 8 0 lockfspl 48 486 0 484 1 0 1 1 0 8 0 sessionpl 144 24 0 7 1 0 1 1 0 8 0 pgrppl 48 199 0 182 1 0 1 1 0 8 0 ucredpl 104 17494 0 17482 1 0 1 1 0 8 0 zombiepl 144 17722 0 17720 1 0 1 1 0 8 0 processpl 1064 17765 0 17720 4 0 4 4 0 8 0 procpl 672 37677 0 37620 11 5 6 7 0 8 0 sockpl 480 13861 0 13836 212 208 4 35 0 8 0 mcl64k 65536 21 0 0 3 1 2 3 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 26 0 0 2 0 2 2 0 8 1 mcl9k 9216 22 0 0 2 0 2 2 0 8 0 mcl8k 8192 18 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 118 0 0 11 0 11 11 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 631 0 0 21 1 20 21 0 8 0 bufpl 288 21068 0 14739 453 0 453 453 0 8 0 anonpl 24 2769315 0 2762307 58 11 47 49 0 186 0 amapchunkpl 152 246442 0 246040 31 12 19 20 0 158 0 amappl16 200 33089 0 32933 12 3 9 9 0 8 0 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 2177 0 2173 1 0 1 1 0 8 0 amappl13 176 2258 0 2254 1 0 1 1 0 8 0 amappl12 168 4412 0 4407 1 0 1 1 0 8 0 amappl11 160 2232 0 2212 1 0 1 1 0 8 0 amappl10 152 2182 0 2173 1 0 1 1 0 8 0 amappl9 144 2662 0 2657 1 0 1 1 0 8 0 amappl8 136 2815 0 2759 2 0 2 2 0 8 0 amappl7 128 2308 0 2293 1 0 1 1 0 8 0 amappl6 120 2381 0 2366 2 1 1 2 0 8 0 amappl5 112 15272 0 15254 1 0 1 1 0 8 0 amappl4 104 5135 0 5107 2 0 2 2 0 8 0 amappl3 96 51975 0 51932 2 0 2 2 0 8 0 amappl2 88 22803 0 22747 3 1 2 3 0 8 0 amappl1 80 398115 0 397517 20 5 15 20 0 8 0 amappl 88 85152 0 85038 5 1 4 4 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 17748 0 17722 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17748 0 17722 1 0 1 1 0 8 0 vmmpekpl 168 79995 0 79950 3 0 3 3 0 8 0 vmmpepl 168 1612753 0 1610869 151 49 102 103 0 357 4 vmsppl 368 17747 0 17722 4 1 3 4 0 8 0 rwobjpl 56 359973 0 352815 113 10 103 103 0 8 0 pdppl 4096 35503 0 35444 331 262 69 83 0 8 10 pvpl 32 5728683 0 5717580 291 188 103 242 0 265 2 pmappl 248 17747 0 17722 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1067 0 272 23 0 23 23 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(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff800021309268,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021309268,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e44fa20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021309268,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(6e12791a8e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021309268,ffff80002e44fbb0,ffff80002e44fc10) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e44fc80) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e44fc80) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e123a46560, 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(ffffffff82a870c0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 schedclock(ffff800021309508) at schedclock+0x99 sys/kern/sched_bsd.c:507 hardclock(ffff80002e461490) at hardclock+0x1e0 sys/kern/kern_clock.c:169 lapic_clockintr(0,0) at lapic_clockintr+0x44 sys/arch/amd64/amd64/lapic.c:454 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x26 __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 witness_warn(2,0,ffffffff82623d20) at witness_warn+0x33c userret(ffff800021309508) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002e461770) at syscall+0x573 mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e461770) at syscall+0x573 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0ec0, count: 2 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(ffffffff82a870c0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 schedclock(ffff800021309508) at schedclock+0x99 sys/kern/sched_bsd.c:507 hardclock(ffff80002e461490) at hardclock+0x1e0 sys/kern/kern_clock.c:169 lapic_clockintr(0,0) at lapic_clockintr+0x44 sys/arch/amd64/amd64/lapic.c:454 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x26 __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 witness_warn(2,0,ffffffff82623d20) at witness_warn+0x33c userret(ffff800021309508) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002e461770) at syscall+0x573 mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e461770) at syscall+0x573 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0ec0, count: -13