witness: lock order reversal: 1st 0xfffffd807efff5d8 vmmaplk (&map->lock) 2nd 0xfffffd806bae24e8 inode (&ip->i_lock) lock order "&ip->i_lock"(rrwlock) -> "&map->lock"(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_read+0x66 sys/kern/kern_rwlock.c:111 #2 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1438 #3 uvm_fault+0x7e sys/uvm/uvm_fault.c:526 #4 pageflttrap+0x254 sys/arch/amd64/amd64/trap.c:219 #5 kerntrap+0xf1 sys/arch/amd64/amd64/trap.c:301 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x53 #8 ffs_read+0x3e2 sys/ufs/ffs/ffs_vnops.c:258 #9 VOP_READ+0xbf sys/kern/vfs_vops.c:247 #10 vn_rdwr+0x10b #11 vmcmd_map_readvn+0xda sys/kern/exec_subr.c:246 #12 exec_process_vmcmds+0xb2 sys/kern/exec_subr.c:143 #13 sys_execve+0x9ff sys/kern/kern_exec.c:461 #14 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #14 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #15 Xsyscall+0x128 lock order "&map->lock"(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:603 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 #6 uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 #7 uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 #8 uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 #9 uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 #10 sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 #11 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #12 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(fffffd806bae24e8,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd806bae24e8,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd806bae24d8,81) at rw_enter+0xd4 rrw_enter(fffffd806bae24d8,81) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806ba4a360,81) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 vn_lock(fffffd806ba4a360,81) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 uvn_io(fffffd80773e5878,ffff8000234f6448,1,2,0) at uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 uvn_get(fffffd80773e5878,12000,ffff8000234f66a0,ffff8000234f663c,0,3) at uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 uvm_fault(fffffd807efff5c0,1b32532000,2,3) at uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 uvm_fault_wire(fffffd807efff5c0,1b32520000,1b33520000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 uvm_map_pageable_wire(fffffd807efff5c0,fffffd80514e8c28,0,39b,ffffffff81071de0,0) at uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 sys_mlockall(ffff8000ffffb3d8,ffff8000234f6878,ffff8000234f68c0) at sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 syscall(ffff8000234f6940) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234f6940) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75f1fde6870, count: -14 ddb{0}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff8000234f60a0 rbx 0x3 rdx 0xffff800000af1f00 rcx 0x3 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffffffff817c2c03 witness_checkorder+0xf33 r9 0x5 r10 0x65ab251cc98c995d r11 0xe30cda2168c25c03 r12 0xffffffff82869e40 w_lodata+0x54430 r13 0 r14 0xffffffff828562b0 w_lodata+0x408a0 r15 0xfffffd8002c8a480 rip 0xffffffff81878348 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000234f6090 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=329609 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffaee8,0xffffffff82888be0 process=0xffff80002124db90 user=0xffff8000234f1000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=7, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78301 518963 50307 32767 2 0x10 syz-executor.1 *78301 329609 50307 32767 7 0x4000010 syz-executor.1 59199 73561 0 0 3 0x14200 bored sosplice 50307 133239 8809 32767 2 0x490 syz-executor.1 86206 266676 82032 32767 7 0x10 syz-executor.0 8809 175465 60584 0 3 0x82 wait syz-executor.1 82032 386698 60584 0 3 0x82 wait syz-executor.0 60584 197507 26158 0 3 0x82 thrsleep syz-fuzzer 60584 220338 26158 0 2 0x4000482 syz-fuzzer 60584 286869 26158 0 3 0x4000082 kqread syz-fuzzer 60584 199385 26158 0 3 0x4000082 thrsleep syz-fuzzer 60584 259398 26158 0 3 0x4000082 thrsleep syz-fuzzer 60584 421631 26158 0 3 0x4000082 thrsleep syz-fuzzer 60584 375968 26158 0 2 0x4000482 syz-fuzzer 60584 176075 26158 0 3 0x4000082 thrsleep syz-fuzzer 26158 116194 52251 0 3 0x10008a pause ksh 52251 430457 1987 0 3 0x92 select sshd 4235 324402 1 0 3 0x100083 ttyin getty 1987 369221 1 0 3 0x80 select sshd 37976 504880 68582 73 3 0x100090 kqread syslogd 68582 210428 1 0 3 0x100082 netio syslogd 9492 99639 1 77 3 0x100090 poll dhclient 24937 408115 1 0 3 0x80 poll dhclient 16289 13128 0 0 3 0x14200 bored smr 83009 263010 0 0 2 0x14200 zerothread 6358 424135 0 0 3 0x14200 aiodoned aiodoned 41486 115978 0 0 3 0x14200 syncer update 89204 139469 0 0 3 0x14200 cleaner cleaner 73460 195424 0 0 3 0x14200 reaper reaper 86003 462967 0 0 3 0x14200 pgdaemon pagedaemon 96996 426369 0 0 3 0x14200 bored crynlk 74565 39957 0 0 3 0x14200 bored crypto 93963 270324 0 0 3 0x40014200 acpi0 acpi0 36064 136223 0 0 3 0x40014200 idle1 2777 496083 0 0 3 0x14200 bored softnet 25615 166033 0 0 3 0x14200 bored systqmp 83486 420022 0 0 3 0x14200 bored systq 25093 158536 0 0 3 0x40014200 bored softclock 87961 134843 0 0 3 0x40014200 idle0 1 422471 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 78301 (syz-executor.1) thread 0xffff8000ffffb3d8 (329609) shared rwlock vmmaplk r = 0 (0xfffffd807efff5d8) #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 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5452 #3 uvm_map_pageable_all+0x56 sys/uvm/uvm_map.c:2576 #4 sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 #5 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82889918) #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:567 #2 Xsyscall+0x128 Process 86206 (syz-executor.0) thread 0xffff8000fffff3d0 (266676) exclusive rrwlock inode r = 0 (0xfffffd805b39d918) #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:450 #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:567 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806bae25f8) #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:603 #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:567 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9466 6331K 6331K 78643K 10558 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 656 0 ifaddr 39 10K 10K 78643K 39 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 2K 78643K 97 0 iov 0 0K 16K 78643K 53 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 76K 78643K 1228 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 7 21K 33K 78643K 56011 0 sigio 0 0K 0K 78643K 90 0 proc 48 50K 83K 78643K 451 0 subproc 34 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 5085 0 in_multi 33 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 5 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 716 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 585 70K 70K 78643K 116022 0 UVM aobj 131 4K 4K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 15 0 NDP 5 0K 0K 78643K 9 0 temp 102 3965K 4057K 78643K 113863 0 kqueue 3 4K 9K 78643K 510 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 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 96 536 0 534 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 3415 0 3405 1 0 1 1 0 8 0 syncache 272 5 0 5 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 254 0 254 1 1 0 1 0 8 0 tcpcb 592 306 0 298 8 7 1 6 0 8 0 inpcb 296 2529 0 2522 10 8 2 2 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 57636 0 56240 88 0 88 88 0 8 0 ffsino 272 57636 0 56240 94 0 94 94 0 8 0 nchpl 144 116964 0 115368 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 239197 0 239196 5 4 1 1 0 8 0 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 342351 0 342351 10 9 1 7 0 8 1 plimitpl 152 52 0 42 1 0 1 1 0 8 0 sigapl 424 56199 0 56167 4 0 4 4 0 8 0 futexpl 56 219472 0 219472 4 3 1 1 0 8 1 knotepl 112 572 0 552 1 0 1 1 0 8 0 kqueuepl 152 53244 0 53242 1 0 1 1 0 8 0 pipepl 304 1300 0 1289 16 15 1 2 0 8 0 fdescpl 496 56183 0 56167 3 0 3 3 0 8 0 filepl 152 127538 0 127439 15 10 5 5 0 8 1 lockfpl 104 271 0 270 1 0 1 1 0 8 0 lockfspl 48 124 0 123 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 195 0 185 1 0 1 1 0 8 0 ucredpl 96 474 0 465 1 0 1 1 0 8 0 zombiepl 144 56167 0 56167 3 2 1 1 0 8 1 processpl 1008 56199 0 56167 7 2 5 5 0 8 0 procpl 632 112599 0 112559 4 0 4 4 0 8 0 sosppl 144 7 0 7 2 2 0 1 0 8 0 sockpl 400 8201 0 8182 15 12 3 4 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 522 0 0 48 25 23 48 0 8 1 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 1186 0 0 29 1 28 29 0 8 0 bufpl 280 59504 0 53256 447 0 447 447 0 8 0 anonpl 16 3289113 0 3181264 445 11 434 434 0 124 0 amapchunkpl 152 174870 0 170786 164 6 158 158 0 158 0 amappl16 192 128245 0 125566 139 4 135 135 0 8 1 amappl15 184 2 0 1 2 1 1 1 0 8 0 amappl14 176 27869 0 27862 1 0 1 1 0 8 0 amappl13 168 278 0 277 1 0 1 1 0 8 0 amappl12 160 8 0 4 1 0 1 1 0 8 0 amappl11 152 46 0 37 1 0 1 1 0 8 0 amappl10 144 10 0 6 1 0 1 1 0 8 0 amappl9 136 368 0 366 1 0 1 1 0 8 0 amappl8 128 175 0 117 2 0 2 2 0 8 0 amappl7 120 217 0 208 1 0 1 1 0 8 0 amappl6 112 59 0 50 1 0 1 1 0 8 0 amappl5 104 28507 0 28488 1 0 1 1 0 8 0 amappl4 96 28090 0 28066 1 0 1 1 0 8 0 amappl3 88 466 0 457 1 0 1 1 0 8 0 amappl2 80 405995 0 405923 2 0 2 2 0 8 0 amappl1 72 1622942 0 1622448 24 14 10 18 0 8 0 amappl 80 113294 0 112777 11 0 11 11 0 84 0 dma4096 4096 1 0 1 1 1 0 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 56183 0 56167 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 56183 0 56167 1 0 1 1 0 8 0 vmmpekpl 168 195473 0 195442 2 0 2 2 0 8 0 vmmpepl 168 7083576 0 7079121 307 106 201 251 0 357 5 vmsppl 368 56182 0 56167 2 0 2 2 0 8 0 pdppl 4096 112373 0 112334 6 0 6 6 0 8 0 pvpl 32 13036086 0 12925031 959 63 896 896 0 265 0 pmappl 232 56182 0 56167 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 317 0 46 9 0 9 9 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(fffffd806bae24e8,9,0) at witness_checkorder+0xf5a witness_debugger sys/kern/subr_witness.c:2490 [inline] witness_checkorder(fffffd806bae24e8,9,0) at witness_checkorder+0xf5a sys/kern/subr_witness.c:1087 rw_enter(fffffd806bae24d8,81) at rw_enter+0xd4 rrw_enter(fffffd806bae24d8,81) at rrw_enter+0x88 sys/kern/kern_rwlock.c:462 VOP_LOCK(fffffd806ba4a360,81) at VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 vn_lock(fffffd806ba4a360,81) at vn_lock+0x6c sys/kern/vfs_vnops.c:575 uvn_io(fffffd80773e5878,ffff8000234f6448,1,2,0) at uvn_io+0x2b5 sys/uvm/uvm_vnode.c:1196 uvn_get(fffffd80773e5878,12000,ffff8000234f66a0,ffff8000234f663c,0,3) at uvn_get+0x226 sys/uvm/uvm_vnode.c:1056 uvm_fault(fffffd807efff5c0,1b32532000,2,3) at uvm_fault+0x1197 sys/uvm/uvm_fault.c:1016 uvm_fault_wire(fffffd807efff5c0,1b32520000,1b33520000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1285 uvm_map_pageable_wire(fffffd807efff5c0,fffffd80514e8c28,0,39b,ffffffff81071de0,0) at uvm_map_pageable_wire+0x30d sys/uvm/uvm_map.c:2367 sys_mlockall(ffff8000ffffb3d8,ffff8000234f6878,ffff8000234f68c0) at sys_mlockall+0x6a sys/uvm/uvm_mmap.c:828 syscall(ffff8000234f6940) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234f6940) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75f1fde6870, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d80ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 kd_curproc sys/dev/kcov.c:569 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 sys/dev/kcov.c:143 __mp_lock(ffffffff82889710) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82889710) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82889710,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x390 sys/kern/sched_bsd.c:435 sleep_finish(ffff8000212e8680,1) at sleep_finish+0x111 sys/kern/kern_synch.c:418 sleep_finish_all(ffff8000212e8680,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff8000212e8680,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd805bac5028,11,ffffffff824306ec,0) at tsleep+0x1c2 sys/kern/kern_synch.c:155 biowait(fffffd805bac5028) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd805bac5028) at bwrite+0x213 sys/kern/vfs_bio.c:772 ffs_update(fffffd806bae2560,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff8000212e89c0) at ufs_mkdir+0x433 sys/ufs/ufs/ufs_vnops.c:1197 VOP_MKDIR(fffffd806ba4a430,ffff8000212e8b20,ffff8000212e8b70,ffff8000212e8a50) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000fffff3d0,ffffff9c,7f7ffffdb1a0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3064 syscall(ffff8000212e8cf0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212e8cf0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdb210, count: -18