witness: lock order reversal: 1st 0xffffffff827728c0 netlock (netlock) 2nd 0xfffffd806786d1b0 inode (&ip->i_lock) lock order "&ip->i_lock"(rrwlock) -> "netlock"(rwlock) first seen at: #0 witness_checkorder+0x65e witness_lock_order_add sys/kern/subr_witness.c:2463 [inline] #0 witness_checkorder+0x65e sys/kern/subr_witness.c:880 #1 rw_enter_write+0x5b sys/kern/kern_rwlock.c:127 #2 uvn_get+0xeb uvm_vnode_lock sys/uvm/uvm_vnode.c:1501 [inline] #2 uvn_get+0xeb sys/uvm/uvm_vnode.c:993 #3 uvm_fault+0xa41 sys/uvm/uvm_fault.c:1073 #4 kpageflttrap+0x202 sys/arch/amd64/amd64/trap.c:265 #5 kerntrap+0xef sys/arch/amd64/amd64/trap.c:321 #6 alltraps_kern_meltdown+0x7b #7 copyin+0x53 #8 sys_connect+0x9b sys/kern/uipc_syscalls.c:362 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #10 Xsyscall+0x128 lock order "netlock"(rwlock) -> "&ip->i_lock"(rrwlock) first seen at: #0 witness_checkorder+0x65e witness_lock_order_add sys/kern/subr_witness.c:2463 [inline] #0 witness_checkorder+0x65e sys/kern/subr_witness.c:880 #1 rw_enter+0xd4 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vget+0x1c6 sys/kern/vfs_subr.c:671 #6 ktrwriteraw+0x138 sys/kern/kern_ktrace.c:659 #7 ktrstruct+0x169 ktrwrite2 sys/kern/kern_ktrace.c:627 [inline] #7 ktrstruct+0x169 sys/kern/kern_ktrace.c:311 #8 sys_connect+0x246 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #10 Xsyscall+0x128 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 witness_checkorder(fffffd806786d1b0,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd806786d1b0,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd806786d1a0,1) at rw_enter+0xd4 rrw_enter(fffffd806786d1a0,1) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806344f340,2001) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 vn_lock(fffffd806344f340,2001) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 vget(fffffd806344f340,2001) at vget+0x1c6 sys/kern/vfs_subr.c:671 ktrwriteraw(ffff8000212c4030,fffffd806344f340,fffffd807f7b77e0,ffff8000222f3540,ffff8000222f3520) at ktrwriteraw+0x138 sys/kern/kern_ktrace.c:659 ktrstruct(ffff8000212c4030,ffffffff823b392d,fffffd80637eeb20,1c) at ktrstruct+0x169 ktrwrite2 sys/kern/kern_ktrace.c:627 [inline] ktrstruct(ffff8000212c4030,ffffffff823b392d,fffffd80637eeb20,1c) at ktrstruct+0x169 sys/kern/kern_ktrace.c:311 sys_connect(ffff8000212c4030,ffff8000222f3688,ffff8000222f36d0) at sys_connect+0x246 syscall(ffff8000222f3750) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222f3750) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf31eb9b36b0, count: -12 ddb{0}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff8000222f3150 rbx 0x3 rdx 0xffff800000b0e400 rcx 0x3 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffffffff823582d3 witness_checkorder+0xf33 r9 0x5 r10 0xb537b907c70201af r11 0xfe9386231b9b3abe r12 0xffffffff828bda80 w_lodata+0x4c870 r13 0 r14 0xffffffff828ba9b0 w_lodata+0x497a0 r15 0xfffffd8002ce5500 rip 0xffffffff81f33568 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000222f3140 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=334924 stat=onproc flags process=0 proc=4000001 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000212c54b0,0xffffffff828de248 process=0xffff800022331098 user=0xffff8000222ee000, vmspace=0xfffffd807effaa10 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55932 319743 3914 0 7 0 syz-executor.1 *55932 334924 3914 0 7 0x4000001 syz-executor.1 60471 284264 0 0 3 0x14280 nfsidl nfsio 73991 406324 0 0 3 0x14280 nfsidl nfsio 60084 390411 0 0 3 0x14280 nfsidl nfsio 37082 100754 0 0 3 0x14280 nfsidl nfsio 31628 509133 0 0 3 0x14280 nfsidl nfsio 6577 499243 0 0 3 0x14280 nfsidl nfsio 71269 424986 0 0 3 0x14280 nfsidl nfsio 22039 166498 0 0 3 0x14280 nfsidl nfsio 26564 350886 0 0 3 0x14280 nfsidl nfsio 41782 303849 0 0 3 0x14280 nfsidl nfsio 40537 196926 0 0 3 0x14280 nfsidl nfsio 77092 372278 0 0 3 0x14280 nfsidl nfsio 74738 352219 0 0 3 0x14280 nfsidl nfsio 16491 514814 0 0 3 0x14280 nfsidl nfsio 8842 86266 0 0 3 0x14280 nfsidl nfsio 8185 77773 0 0 3 0x14280 nfsidl nfsio 59589 205101 0 0 3 0x14280 nfsidl nfsio 49838 116946 0 0 3 0x14280 nfsidl nfsio 61195 133929 0 0 3 0x14280 nfsidl nfsio 48740 186258 0 0 3 0x14280 nfsidl nfsio 99565 142007 0 0 3 0x14200 bored sosplice 3914 258243 7838 0 3 0x82 nanosleep syz-executor.1 91911 53239 7838 0 3 0x2 biowait syz-executor.0 7838 50286 31347 0 3 0x82 thrsleep syz-fuzzer 7838 432765 31347 0 3 0x4000082 nanosleep syz-fuzzer 7838 56278 31347 0 3 0x4000082 thrsleep syz-fuzzer 7838 32079 31347 0 3 0x4000082 thrsleep syz-fuzzer 7838 213993 31347 0 3 0x4000082 thrsleep syz-fuzzer 7838 278339 31347 0 3 0x4000082 thrsleep syz-fuzzer 7838 241713 31347 0 3 0x4000082 kqread syz-fuzzer 7838 212701 31347 0 3 0x4000082 nanosleep syz-fuzzer 31347 305847 5116 0 3 0x10008a pause ksh 5116 318035 90370 0 3 0x92 select sshd 92551 239894 1 0 3 0x100083 ttyin getty 90370 261325 1 0 3 0x80 select sshd 65309 257750 10984 74 3 0x100092 bpf pflogd 10984 67551 1 0 3 0x80 netio pflogd 73462 383611 5967 73 3 0x100090 kqread syslogd 5967 417062 1 0 3 0x100082 netio syslogd 14835 129024 1 77 3 0x100090 poll dhclient 37665 108760 1 0 3 0x80 poll dhclient 21747 312527 0 0 3 0x14200 bored smr 25684 474008 0 0 3 0x14200 pgzero zerothread 5232 252213 0 0 3 0x14200 aiodoned aiodoned 12835 379194 0 0 3 0x14200 syncer update 92946 176240 0 0 3 0x14200 cleaner cleaner 26502 25846 0 0 3 0x14200 reaper reaper 91429 39358 0 0 3 0x14200 pgdaemon pagedaemon 9081 329614 0 0 3 0x14200 bored crynlk 8318 420387 0 0 3 0x14200 bored crypto 19146 388833 0 0 3 0x14200 bored viomb 19166 56016 0 0 3 0x40014200 acpi0 acpi0 85926 366711 0 0 3 0x40014200 idle1 21730 127317 0 0 3 0x14200 bored softnet 15267 368379 0 0 3 0x14200 bored systqmp 14719 200615 0 0 3 0x14200 bored systq 96659 135834 0 0 3 0x40014200 bored softclock 27660 202997 0 0 3 0x40014200 idle0 1 17825 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 55932 (syz-executor.1) thread 0xffff8000212c4030 (334924) exclusive rwlock netlock r = 0 (0xffffffff827728c0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sys_connect+0x6a sys/kern/uipc_syscalls.c:357 #3 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828db810) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 syscall+0x3fd mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3fd sys/arch/amd64/amd64/trap.c:590 #2 Xsyscall+0x128 Process 91911 (syz-executor.0) thread 0xffff80002127b728 (53239) exclusive rrwlock inode r = 0 (0xfffffd806786dc50) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x135 sys/ufs/ffs/ffs_vfsops.c:1350 #5 ffs_inode_alloc+0x1e1 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:459 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3064 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806786da30) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3049 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9529 6434K 7189K 78643K 11733 0 pcb 13 8K 8K 78643K 69 0 rtable 106 3K 4K 78643K 312 0 ifaddr 70 13K 14K 78643K 96 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1502 0 iov 0 0K 16K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1542 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 43 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1825 197K 290K 78643K 13109 0 file desc 5 13K 25K 78643K 972 0 sigio 0 0K 0K 78643K 10 0 proc 61 63K 95K 78643K 489 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 43 0 in_multi 36 2K 2K 78643K 70 0 ether_multi 1 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 403 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 145 76K 76K 78643K 3163 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 45 0 NDP 12 0K 0K 78643K 25 0 temp 131 3966K 4042K 78643K 4711 0 kqueue 3 4K 12K 78643K 37 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 arp 64 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 46 0 44 1 0 1 1 0 8 0 rtentry 112 56 0 13 2 0 2 2 0 8 0 unpcb 120 226 0 216 1 0 1 1 0 8 0 syncache 296 9 0 9 4 3 1 1 0 8 1 tcpqe 32 1280 0 1280 1 1 0 1 0 8 0 tcpcb 736 133 0 121 4 1 3 3 0 8 1 inpcb 296 388 0 379 4 2 2 2 0 8 1 nd6 48 12 0 4 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 swfcl 56 8 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 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 18 0 9 1 0 1 1 0 8 0 pfstkey 112 20 0 11 1 0 1 1 0 8 0 pfstate 328 20 0 11 2 0 2 2 0 8 0 pfrule 1360 30 0 23 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 211 0 4 13 0 13 13 0 8 0 art_table 32 212 0 4 2 0 2 2 0 8 0 art_node 16 55 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 11 1 1 0 1 0 8 0 semupl 112 10 0 10 1 1 0 1 0 8 0 semapl 112 41 0 31 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2556 0 1156 89 1 88 89 0 8 0 ffsino 272 2556 0 1156 95 1 94 94 0 8 0 nchpl 144 3878 0 2272 60 0 60 60 0 8 0 uvmvnodes 72 2856 0 0 52 0 52 52 0 8 0 vnodes 208 2856 0 0 151 0 151 151 0 8 0 namei 1024 9732 0 9731 2 1 1 1 0 8 0 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 0 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11547 0 11546 9 8 1 8 0 8 0 plimitpl 152 34 0 26 1 0 1 1 0 8 0 sigapl 424 1209 0 1156 7 0 7 7 0 8 1 futexpl 56 6900 0 6900 1 0 1 1 0 8 1 knotepl 112 100 0 80 1 0 1 1 0 8 0 kqueuepl 152 727 0 725 1 0 1 1 0 8 0 pipepl 304 96 0 85 3 1 2 2 0 8 1 fdescpl 496 1172 0 1156 3 0 3 3 0 8 0 filepl 152 4343 0 4239 6 1 5 5 0 8 0 lockfpl 104 46 0 44 1 0 1 1 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 325 0 316 1 0 1 1 0 8 0 zombiepl 144 1156 0 1156 2 1 1 1 0 8 1 processpl 1056 1209 0 1156 4 0 4 4 0 8 0 procpl 656 2585 0 2524 7 1 6 6 0 8 0 sosppl 168 7 0 7 2 2 0 1 0 8 0 sockpl 400 660 0 639 7 3 4 4 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 221 0 0 27 0 27 27 0 8 0 mtagpl 96 75 0 0 2 0 2 2 0 8 0 mbufpl 256 419 0 0 25 0 25 25 0 8 0 bufpl 280 4649 0 182 320 0 320 320 0 8 0 anonpl 16 103315 0 83558 83 2 81 81 0 124 1 amapchunkpl 152 5096 0 4716 18 3 15 16 0 158 0 amappl16 192 3483 0 2626 45 1 44 44 0 8 1 amappl15 184 465 0 462 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 26 0 24 1 0 1 1 0 8 0 amappl12 160 497 0 492 3 2 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 9 0 5 1 0 1 1 0 8 0 amappl9 136 114 0 113 2 1 1 1 0 8 0 amappl8 128 133 0 104 1 0 1 1 0 8 0 amappl7 120 244 0 237 1 0 1 1 0 8 0 amappl6 112 69 0 59 1 0 1 1 0 8 0 amappl5 104 1340 0 1321 1 0 1 1 0 8 0 amappl4 96 775 0 744 1 0 1 1 0 8 0 amappl3 88 140 0 133 1 0 1 1 0 8 0 amappl2 80 8135 0 8064 3 1 2 3 0 8 0 amappl1 72 45027 0 44557 26 16 10 19 0 8 0 amappl 80 2865 0 2772 4 1 3 3 0 84 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 64 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1177 0 1156 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1177 0 1156 1 0 1 1 0 8 0 vmmpekpl 168 10906 0 10878 2 0 2 2 0 8 0 vmmpepl 168 156415 0 154324 133 35 98 115 0 357 2 vmsppl 368 1176 0 1156 2 0 2 2 0 8 0 pdppl 4096 2361 0 2317 71 25 46 46 0 8 2 pvpl 32 438693 0 415683 203 10 193 198 0 265 5 pmappl 232 1176 0 1156 3 1 2 2 0 8 0 extentpl 40 57 0 39 1 0 1 1 0 8 0 phpool 112 350 0 34 10 0 10 10 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:398 witness_checkorder(fffffd806786d1b0,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd806786d1b0,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd806786d1a0,1) at rw_enter+0xd4 rrw_enter(fffffd806786d1a0,1) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806344f340,2001) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 vn_lock(fffffd806344f340,2001) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 vget(fffffd806344f340,2001) at vget+0x1c6 sys/kern/vfs_subr.c:671 ktrwriteraw(ffff8000212c4030,fffffd806344f340,fffffd807f7b77e0,ffff8000222f3540,ffff8000222f3520) at ktrwriteraw+0x138 sys/kern/kern_ktrace.c:659 ktrstruct(ffff8000212c4030,ffffffff823b392d,fffffd80637eeb20,1c) at ktrstruct+0x169 ktrwrite2 sys/kern/kern_ktrace.c:627 [inline] ktrstruct(ffff8000212c4030,ffffffff823b392d,fffffd80637eeb20,1c) at ktrstruct+0x169 sys/kern/kern_ktrace.c:311 sys_connect(ffff8000212c4030,ffff8000222f3688,ffff8000222f36d0) at sys_connect+0x246 syscall(ffff8000222f3750) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222f3750) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf31eb9b36b0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 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(ffffffff828db608) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828db608) at __mp_lock+0x129 sys/kern/kern_lock.c:147 syscall(ffff8000222e7390) at syscall+0x345 mi_syscall sys/sys/syscall_mi.h:75 [inline] syscall(ffff8000222e7390) at syscall+0x345 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe9070, count: -6