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 * 218 92540 0 0x1800 0x4080080 0 syz-executor.7 137695 72546 0 0 0 1 syz-executor.6 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(ffff8000285ff260,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000285ff260,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000285ff260,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(8d02d4d7fc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000285ff260,ffff80002e453120,ffff80002e453180) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4531f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4531f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfe877a4f0, 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(ffff8000285ff260,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000285ff260,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000285ff260,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(8d02d4d7fc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000285ff260,ffff80002e453120,ffff80002e453180) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4531f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4531f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfe877a4f0, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e452d50 rbx 0xffffffff8297fbb7 cpu_info_full_primary+0x2bb7 rdx 0xffff800000c01580 rcx 0 rax 0xffff8000285ff260 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf2c1bf247417463c r11 0x550dd3615250a772 r12 0xffffffff8297f9b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e452d40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.7) pid=218 stat=onproc flags process=1800 proc=4080080 pri=83, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000285fe2a0,0xffffffff82a88160 process=0xffff800027bf29a8 user=0xffff80002e44e000, vmspace=0xfffffd806aa475d0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53889 76756 42448 0 2 0 syz-executor.3 53889 460719 42448 0 3 0x4000080 fsleep syz-executor.3 53889 215216 42448 0 2 0x4000000 syz-executor.3 7291 68059 58237 0 2 0 syz-executor.4 7291 465048 58237 0 3 0x4000080 fsleep syz-executor.4 1725 376658 19184 0 2 0 syz-executor.1 95696 263065 49916 0 2 0 syz-executor.2 95696 49857 49916 0 3 0x4000080 fsleep syz-executor.2 72523 390805 52611 0 2 0 syz-executor.0 92540 11095 17377 0 2 0x3800 syz-executor.7 *92540 218 17377 0 7 0x4081880 syz-executor.7 72546 137695 50373 0 7 0 syz-executor.6 72546 496887 50373 0 3 0x4000080 fsleep syz-executor.6 96557 31090 15722 0 2 0 syz-executor.5 96557 69971 15722 0 3 0x4000080 fsleep syz-executor.5 57990 7833 1 0 3 0x100083 ttyin getty 33691 202648 0 0 3 0x14200 bored sosplice 17377 73563 26449 0 3 0x82 nanoslp syz-executor.7 50373 219855 26449 0 3 0x82 nanoslp syz-executor.6 58237 410961 26449 0 2 0x2 syz-executor.4 15722 181449 26449 0 3 0x82 nanoslp syz-executor.5 42448 194747 26449 0 3 0x82 nanoslp syz-executor.3 49916 25194 26449 0 3 0x82 nanoslp syz-executor.2 19184 179541 26449 0 3 0x82 nanoslp syz-executor.1 52611 245156 26449 0 3 0x82 nanoslp syz-executor.0 26449 412666 80218 0 3 0x82 thrsleep syz-fuzzer 26449 457246 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 309602 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 441226 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 42003 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 407691 80218 0 3 0x4000082 kqread syz-fuzzer 26449 453247 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 513990 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 267084 80218 0 3 0x4000082 thrsleep syz-fuzzer 26449 261009 80218 0 3 0x4000082 thrsleep syz-fuzzer 80218 361114 51619 0 3 0x10008a sigsusp ksh 51619 5100 68930 0 3 0x9a kqread sshd 68930 464382 1 0 3 0x88 kqread sshd 62279 258258 87949 74 3 0x1100092 bpf pflogd 87949 318640 1 0 3 0x80 netio pflogd 67021 47076 2892 73 3 0x1100090 kqread syslogd 2892 36297 1 0 3 0x100082 netio syslogd 34426 425766 1 0 3 0x100080 kqread resolvd 6010 183264 53773 77 3 0x100092 kqread dhcpleased 25411 288298 53773 77 3 0x100092 kqread dhcpleased 53773 285702 1 0 3 0x80 kqread dhcpleased 43176 225761 0 0 3 0x14200 bored smr 20879 338656 0 0 2 0x14200 zerothread 70811 109971 0 0 3 0x14200 aiodoned aiodoned 1462 335364 0 0 3 0x14200 syncer update 55475 238602 0 0 3 0x14200 cleaner cleaner 99191 126699 0 0 3 0x14200 reaper reaper 46352 466486 0 0 3 0x14200 pgdaemon pagedaemon 66246 138608 0 0 3 0x14200 bored viomb 18744 308417 0 0 3 0x40014200 acpi0 acpi0 87983 226539 0 0 3 0x40014200 idle1 37346 413344 0 0 3 0x14200 bored softnet 23778 75623 0 0 3 0x14200 bored softnet 74454 124514 0 0 3 0x14200 bored softnet 14869 245503 0 0 3 0x14200 bored softnet 11960 212776 0 0 3 0x14200 bored systqmp 58636 166164 0 0 3 0x14200 bored systq 64778 346258 0 0 3 0x40014200 bored softclock 74849 94514 0 0 3 0x40014200 idle0 1 176670 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 CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd8065c484e8) #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 udv_fault+0x19e sys/uvm/uvm_device.c:374 #5 uvm_fault+0x1c1 sys/uvm/uvm_fault.c:624 #6 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #7 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #8 recall_trap+0x8 Process 72546 (syz-executor.6) thread 0xffff8000212e67f0 (137695) exclusive rwlock uobjlk r = 0 (0xfffffd8067ee2ef0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 uvm_fault+0x18e sys/uvm/uvm_fault.c:624 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82b2ed50) #0 witness_lock+0x44d #1 uvm_fault+0x181 sys/uvm/uvm_fault.c:623 #2 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #3 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #4 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd800874e468) #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 10181 6474K 7256K 78643K 13077 0 pcb 14 10K 12K 78643K 56 0 rtable 214 5K 6K 78643K 392 0 ifaddr 85 17K 19K 78643K 131 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 74 0 ioctlops 0 0K 4K 78643K 1525 0 iov 0 0K 16K 78643K 31 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1334 83K 83K 78643K 1714 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 148 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 85K 78643K 722 0 sigio 0 0K 0K 78643K 118 0 proc 70 91K 128K 78643K 547 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 30 0 in_multi 92 6K 7K 78643K 124 0 ether_multi 1 0K 0K 78643K 4 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 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 680 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 243 129K 129K 78643K 6055 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 12 0K 1K 78643K 39 0 temp 127 4718K 5348K 78643K 5682 0 kqueue 12 18K 24K 78643K 59 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 180 0 177 5 3 2 3 0 8 1 rtentry 112 125 0 25 4 0 4 4 0 8 0 unpcb 136 290 0 275 3 2 1 3 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 184 0 184 1 1 0 1 0 8 0 tcpcb 736 290 0 283 19 15 4 17 0 8 3 arp 120 19 0 0 1 0 1 1 0 8 0 inpcb 320 590 0 579 12 10 2 12 0 8 0 nd6 48 26 0 4 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1256 9 0 9 1 1 0 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 2 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 40 0 20 1 0 1 1 0 8 0 pfstkey 120 40 0 20 2 0 2 2 0 8 0 pfstate 336 40 0 20 4 0 4 4 0 8 0 pfrule 1360 24 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 531 0 135 29 2 27 29 0 8 0 art_table 32 532 0 135 4 0 4 4 0 8 0 art_node 16 124 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 145 0 135 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2276 0 841 91 0 91 91 0 8 0 ffsino 272 2276 0 841 97 0 97 97 0 8 0 nchpl 144 3336 0 1653 63 0 63 63 0 8 0 uvmvnodes 80 2722 0 0 56 0 56 56 0 8 0 vnodes 224 2722 0 0 161 0 161 161 0 8 0 namei 1024 11006 0 11006 2 1 1 2 0 8 1 percpumem 16 49 0 9 1 0 1 1 0 8 0 vcpupl 2048 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 kstatmem 264 42 0 18 3 1 2 3 0 8 0 scxspl 216 9848 0 9848 9 8 1 8 0 8 1 plimitpl 152 78 0 62 1 0 1 1 0 8 0 sigapl 424 1037 0 988 7 1 6 6 0 8 0 futexpl 64 5512 0 5506 1 0 1 1 0 8 0 knotepl 120 243 0 0 7 0 7 7 0 8 0 kqueuepl 224 122 0 114 3 2 1 3 0 8 0 pipepl 336 211 0 183 6 0 6 6 0 8 3 fdescpl 496 1019 0 988 5 1 4 5 0 8 0 filepl 152 5229 0 4990 16 3 13 15 0 8 3 lockfpl 104 75 0 73 1 0 1 1 0 8 0 lockfspl 48 32 0 30 1 0 1 1 0 8 0 sessionpl 144 25 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 8 1 0 1 1 0 8 0 ucredpl 104 484 0 472 1 0 1 1 0 8 0 zombiepl 144 988 0 988 1 0 1 1 0 8 1 processpl 1064 1037 0 988 4 0 4 4 0 8 0 procpl 672 2245 0 2180 9 2 7 7 0 8 1 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 480 1066 0 1040 25 14 11 20 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 253 0 0 31 0 31 31 0 8 0 mtagpl 96 347 0 0 9 0 9 9 0 8 0 mbufpl 256 598 0 0 37 0 37 37 0 8 0 bufpl 288 4505 0 142 312 0 312 312 0 8 0 anonpl 24 174691 0 157402 113 4 109 109 0 186 1 amapchunkpl 152 15956 0 15247 34 4 30 33 0 158 0 amappl16 200 2121 0 1593 29 0 29 29 0 8 1 amappl15 192 299 0 296 1 0 1 1 0 8 0 amappl14 184 172 0 165 1 0 1 1 0 8 0 amappl13 176 160 0 156 1 0 1 1 0 8 0 amappl12 168 99 0 92 1 0 1 1 0 8 0 amappl11 160 165 0 143 1 0 1 1 0 8 0 amappl10 152 37 0 31 1 0 1 1 0 8 0 amappl9 144 579 0 574 1 0 1 1 0 8 0 amappl8 136 589 0 547 2 0 2 2 0 8 0 amappl7 128 112 0 101 1 0 1 1 0 8 0 amappl6 120 307 0 290 2 1 1 2 0 8 0 amappl5 112 413 0 395 1 0 1 1 0 8 0 amappl4 104 1087 0 1058 2 1 1 2 0 8 0 amappl3 96 2510 0 2455 2 0 2 2 0 8 0 amappl2 88 1437 0 1375 3 1 2 3 0 8 0 amappl1 80 26241 0 25570 21 5 16 20 0 8 1 amappl 88 5584 0 5412 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1022 0 988 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1022 0 988 1 0 1 1 0 8 0 vmmpekpl 168 12358 0 12314 3 0 3 3 0 8 0 vmmpepl 168 100074 0 97435 135 14 121 132 0 357 6 vmsppl 368 1021 0 988 5 1 4 4 0 8 1 rwobjpl 56 28473 0 24195 62 0 62 62 0 8 0 pdppl 4096 2051 0 1979 131 59 72 79 0 8 0 pvpl 32 462091 0 440299 243 35 208 242 0 265 28 pmappl 248 1021 0 988 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 780 0 82 20 0 20 20 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(ffff8000285ff260,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000285ff260,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e452f90,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000285ff260,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(8d02d4d7fc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000285ff260,ffff80002e453120,ffff80002e453180) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4531f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4531f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8cfe877a4f0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148 __mp_lock(ffffffff82a870c0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800024786330) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800024786330) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd7dc0, count: 7 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148 __mp_lock(ffffffff82a870c0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800024786330) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800024786330) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd7dc0, count: -8