witness: lock_object uninitialized: 0xffff800001334028 Starting stack trace... witness_checkorder(ffff800001334028,9,0) at witness_checkorder+0x1af witness_debugger sys/kern/subr_witness.c:2522 [inline] witness_checkorder(ffff800001334028,9,0) at witness_checkorder+0x1af sys/kern/subr_witness.c:779 rw_enter_write(ffff800001334018) at rw_enter_write+0x7a sys/kern/kern_rwlock.c:128 unveil_delete_names(ffff800001334000) at unveil_delete_names+0x3d sys/kern/kern_unveil.c:102 unveil_destroy(ffff8000372031e0) at unveil_destroy+0xbd sys/kern/kern_unveil.c:183 exit1(ffff8000ffff1978,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff8000ffff1978,ffff8000371bc100,ffff8000371bc050) at sys_exit+0x1a syscall(ffff8000371bc100) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371bc100) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b4c0d9e75b0, count: 249 End of stack trace. Stopped at db_enter+0x25: addq $0x8,%rsp ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(ffff800001334028,9,0) at witness_checkorder+0x1b4 rw_enter_write(ffff800001334018) at rw_enter_write+0x7a sys/kern/kern_rwlock.c:128 unveil_delete_names(ffff800001334000) at unveil_delete_names+0x3d sys/kern/kern_unveil.c:102 unveil_destroy(ffff8000372031e0) at unveil_destroy+0xbd sys/kern/kern_unveil.c:183 exit1(ffff8000ffff1978,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff8000ffff1978,ffff8000371bc100,ffff8000371bc050) at sys_exit+0x1a syscall(ffff8000371bc100) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371bc100) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b4c0d9e75b0, count: -9 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000371bbdd0 rbx 0 rdx 0 rcx 0xffff8000ffff1978 rax 0xffff800029b7bff0 r8 0xffff8000371bbd70 r9 0x8080808080808080 r10 0x25d82f0e615dd2d7 r11 0x5009799f6fecd639 r12 0 r13 0x1 r14 0xffff800001334028 r15 0x3 rip 0xffffffff81610e15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371bbdc0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=33703 pid=99430 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000ffff1978 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a0ee548,0xffff8000371bea60 process=0xffff8000372031e0 user=0xffff8000371b7000, vmspace=0xfffffd806bf71720 estcpu=36, cpticks=12, pctcpu=0.0, user=0, sys=9, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62311 447009 59476 0 2 0 syz-executor 62311 84163 59476 0 7 0x4000000 syz-executor 62311 80109 59476 0 3 0x4000080 fsleep syz-executor 99074 324482 27316 0 2 0 syz-executor 99074 65096 27316 0 2 0x4000000 syz-executor 99074 327987 27316 0 2 0x4000000 syz-executor 99074 436999 27316 0 2 0x4000000 syz-executor 54238 212507 1532 0 3 0x80 nanoslp syz-executor 54238 17550 1532 0 3 0x4000080 kqpoll syz-executor 54238 409328 1532 0 3 0x4000080 fsleep syz-executor 69422 271636 52396 60929 3 0x90 nanoslp syz-executor 69422 510811 52396 60929 3 0x4000090 kqsel syz-executor 69422 489879 52396 60929 3 0x4000090 fsleep syz-executor 19514 466015 26711 0 3 0x80 nanoslp syz-executor 19514 293458 26711 0 3 0x4000080 kqread syz-executor 19514 124413 26711 0 3 0x4000080 fsleep syz-executor 44437 485676 30411 0 2 0 syz-executor 44437 261839 30411 0 2 0x4000000 syz-executor 44437 273193 30411 0 3 0x4000000 vmmaplk syz-executor 44437 396401 30411 0 3 0x4000000 vmmaplk syz-executor 66640 181077 0 0 3 0x14280 nfsidl nfsio 92020 140094 0 0 3 0x14280 nfsidl nfsio 7683 352223 0 0 3 0x14280 nfsidl nfsio 9677 171247 0 0 3 0x14280 nfsidl nfsio 20993 190075 0 0 3 0x14280 nfsidl nfsio 40450 451377 0 0 3 0x14280 nfsidl nfsio 25037 166680 0 0 3 0x14280 nfsidl nfsio 94044 4650 0 0 3 0x14280 nfsidl nfsio 54165 273427 0 0 3 0x14280 nfsidl nfsio 94388 122643 0 0 3 0x14280 nfsidl nfsio 39097 309509 0 0 3 0x14280 nfsidl nfsio 49902 176010 0 0 3 0x14280 nfsidl nfsio 83014 345417 0 0 3 0x14280 nfsidl nfsio 40128 328442 0 0 3 0x14280 nfsidl nfsio 47173 21348 0 0 3 0x14280 nfsidl nfsio 60932 364056 0 0 3 0x14280 nfsidl nfsio 34312 353688 0 0 3 0x14280 nfsidl nfsio 14734 29785 0 0 3 0x14280 nfsidl nfsio 51445 428584 0 0 3 0x14280 nfsidl nfsio 51776 17203 0 0 3 0x14280 nfsidl nfsio 20221 409945 0 0 3 0x14200 bored sosplice 26711 124800 42065 0 3 0x82 nanoslp syz-executor 59476 391429 42065 0 3 0x82 nanoslp syz-executor 1532 45693 42065 0 3 0x82 nanoslp syz-executor 99084 298106 42065 0 3 0x82 nanoslp syz-executor 52396 40261 42065 0 3 0x82 nanoslp syz-executor 30411 472110 42065 0 3 0x82 nanoslp syz-executor 78183 184599 42065 0 3 0x82 nanoslp syz-executor 27316 509541 42065 0 3 0x82 nanoslp syz-executor 42065 111437 30293 0 3 0x82 kqread syz-executor 30293 16692 21487 0 3 0x10008a sigsusp ksh 21487 508343 74429 0 3 0x98 kqread sshd-session 74429 245076 60963 0 3 0x92 kqread sshd-session 85959 505844 1 0 3 0x100083 ttyin getty 60963 502797 1 0 3 0x88 kqread sshd 42782 478174 45118 74 3 0x1100092 bpf pflogd 45118 394299 1 0 3 0x80 sbwait pflogd 92508 519799 59920 73 3 0x1100090 kqread syslogd 59920 32019 1 0 3 0x100082 sbwait syslogd 96562 9197 1 0 3 0x100080 kqread resolvd 921 361683 57347 77 3 0x100092 kqread dhcpleased 37453 122281 57347 77 3 0x100092 kqread dhcpleased 57347 17021 1 0 3 0x80 kqread dhcpleased 1087 225209 0 0 3 0x14200 bored smr 13941 85065 0 0 3 0x14200 pgzero zerothread 70624 211678 0 0 3 0x14200 aiodoned aiodoned 49151 42566 0 0 3 0x14200 syncer update 94642 292047 0 0 3 0x14200 cleaner cleaner 26033 2509 0 0 2 0x14200 reaper 5699 53633 0 0 3 0x14200 pgdaemon pagedaemon 42441 165695 0 0 3 0x14200 bored viomb 34311 232068 0 0 3 0x40014200 acpi0 acpi0 67316 79590 0 0 3 0x40014200 idle1 94445 397992 0 0 3 0x14200 bored softnet3 80928 493120 0 0 3 0x14200 bored softnet2 52691 420151 0 0 3 0x14200 bored softnet1 40921 453523 0 0 3 0x14200 bored softnet0 39235 86018 0 0 3 0x14200 bored systqmp 17226 151220 0 0 3 0x14200 bored systq 6592 357443 0 0 3 0x14200 tmoslp softclockmp 27717 41803 0 0 3 0x40014200 tmoslp softclock 18572 207795 0 0 3 0x40014200 idle0 1 59659 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 99074 (syz-executor) thread 0xffff80002a0ee548 (324482) exclusive rwlock vmmaplk r = 0 (0xfffffd806bf712d8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255 #2 uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3057 #3 sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 Process 99074 (syz-executor) thread 0xffff80002a0ee038 (436999) exclusive rwlock fdlock r = 0 (0xfffffd806c00fde8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 doopenat+0x173 #2 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #2 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #3 Xsyscall+0x128 Process 44437 (syz-executor) thread 0xffff8000ffff0028 (261839) exclusive rwlock vmmaplk r = 0 (0xfffffd806bf71f18) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255 #2 uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1813 #3 uvm_fault_check+0x831 uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #3 uvm_fault_check+0x831 sys/uvm/uvm_fault.c:712 #4 uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 #5 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #6 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #7 alltraps_kern_meltdown+0x7b #8 copyout+0x57 #9 mmrw+0x3de #10 spec_read+0x155 sys/kern/spec_vnops.c:215 #11 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #12 vn_read+0x17b sys/kern/vfs_vnops.c:369 #13 dofilereadv+0x230 sys/kern/sys_generic.c:252 #14 sys_preadv+0xe3 sys/kern/vfs_syscalls.c:3322 #15 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #15 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #16 Xsyscall+0x128 Process 26033 (reaper) thread 0xffff800029fd8cb0 (2509) exclusive rwlock kmmaplk r = 0 (0xffffffff83630f90) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255 #2 uvm_unmap+0x81 sys/uvm/uvm_map.c:1792 #3 km_free+0x87 sys/uvm/uvm_km.c:833 #4 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:284 #5 reaper+0x1fe sys/kern/kern_exit.c:466 #6 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 11116K 11639K 166960K 12017 0 pcb 18 13K 14K 166960K 115 0 rtable 198 6K 7K 166960K 394 0 pf 34 17K 21K 166960K 68 0 ifaddr 36 6K 7K 166960K 57 0 ifgroup 51 2K 2K 166960K 69 0 sysctl 2 0K 0K 166960K 2 0 counters 62 36K 36K 166960K 72 0 ioctlops 0 0K 4K 166960K 1576 0 iov 1 2K 16K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1668 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 17 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 93K 166960K 532 0 sigio 0 0K 0K 166960K 76 0 proc 81 127K 140K 166960K 581 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 41 0 in_multi 74 5K 7K 166960K 130 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 391 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 257 73K 77K 166960K 6526 0 UVM aobj 18 2K 2K 166960K 20 0 pinsyscall 43 86K 107K 166960K 1601 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 32 0 NDP 11 0K 2K 166960K 37 0 temp 56 6822K 7083K 166960K 14958 0 kqueue 14 22K 28K 166960K 73 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 54 0 51 1 0 1 1 0 8 0 rtentry 112 122 0 32 4 0 4 4 0 8 0 unpcb 144 314 0 293 6 3 3 4 0 8 2 syncache 336 3 0 3 2 2 0 1 0 8 0 tcpcb 808 104 0 98 2 0 2 2 0 8 0 arp 120 19 0 4 1 0 1 1 0 8 0 inpcb 336 547 0 534 15 8 7 9 0 8 5 nd6 136 25 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 2 0 2 1 0 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 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 1 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 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pfstitem 24 43 0 3 1 0 1 1 0 8 0 pfstkey 128 44 0 4 2 0 2 2 0 8 0 pfstate 376 43 0 4 4 0 4 4 0 8 0 pfrule 1344 24 0 16 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 523 0 169 30 3 27 29 0 8 3 art_table 32 525 0 169 4 0 4 4 0 8 0 art_node 16 121 0 39 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 2 1 1 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 17 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2288 0 789 95 0 95 95 0 8 0 ffsino 272 2288 0 789 102 1 101 102 0 8 0 nchpl 144 3061 0 1374 63 0 63 63 0 8 0 uvmvnodes 80 2569 0 0 53 0 53 53 0 8 0 vnodes 216 2569 0 0 143 0 143 143 0 8 0 namei 1024 9852 0 9851 4 3 1 2 0 8 0 percpumem 16 50 0 5 1 0 1 1 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 9268 0 9268 9 8 1 8 1 8 1 plimitpl 152 85 0 68 1 0 1 1 0 8 0 sigapl 424 851 0 780 9 1 8 8 0 8 0 futexpl 64 6194 0 6190 1 0 1 1 0 8 0 knotepl 120 320 0 0 10 0 10 10 0 8 0 kqueuepl 216 101 0 89 1 0 1 1 0 8 0 pipepl 320 138 0 111 3 0 3 3 0 8 0 fdescpl 496 812 0 781 5 0 5 5 0 8 0 filepl 152 4324 0 4069 15 2 13 15 0 8 2 lockfpl 104 220 0 217 1 0 1 1 0 8 0 lockfspl 48 74 0 71 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 37 0 20 1 0 1 1 0 8 0 ucredpl 104 511 0 496 1 0 1 1 0 8 0 zombiepl 144 868 0 866 1 0 1 1 0 8 0 processpl 1160 851 0 780 7 1 6 6 0 8 0 procpl 648 1530 0 1444 8 0 8 8 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sockpl 664 921 0 884 16 8 8 11 0 8 4 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 135 0 0 17 0 17 17 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 18 0 0 1 0 1 1 0 8 0 mbufpl 256 192 0 0 12 0 12 12 0 8 0 bufpl 280 4228 0 99 295 0 295 295 0 8 0 anonpl 24 204237 0 196689 87 39 48 71 0 185 2 amapchunkpl 152 21365 0 20800 26 2 24 24 0 158 2 amappl16 200 5821 0 5563 44 29 15 27 0 8 1 amappl15 192 31 0 31 1 1 0 1 0 8 0 amappl14 184 118 0 105 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 1459 0 1427 3 1 2 2 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 23 0 23 1 1 0 1 0 8 0 amappl9 144 154 0 154 1 1 0 1 0 8 0 amappl8 136 36 0 33 1 0 1 1 0 8 0 amappl7 128 103 0 90 1 0 1 1 0 8 0 amappl6 120 168 0 167 1 0 1 1 0 8 0 amappl5 112 134 0 121 1 0 1 1 0 8 0 amappl4 104 338 0 318 1 0 1 1 0 8 0 amappl3 96 3923 0 3817 3 0 3 3 0 8 0 amappl2 88 1078 0 991 2 0 2 2 0 8 0 amappl1 80 8605 0 8034 14 2 12 14 0 8 0 amappl 88 6128 0 5933 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 19 0 2 1 0 1 1 0 8 0 uaddrrnd 24 812 0 780 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 812 0 780 1 0 1 1 0 8 0 vmmpekpl 168 7811 0 7768 3 0 3 3 0 8 0 vmmpepl 168 58582 0 56406 115 20 95 105 0 357 0 vmsppl 448 811 0 780 6 2 4 5 0 8 0 rwobjpl 56 22923 0 19146 54 0 54 54 0 8 0 pdppl 4096 1631 0 1560 105 34 71 85 0 8 0 pvpl 32 17690 0 0 144 1 143 143 0 265 0 pmappl 248 811 0 780 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 404 0 55 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8349fff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000372a2090,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000372a21f0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff8000372a2510) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000372a2510) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c3be07cbd0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(ffff800001334028,9,0) at witness_checkorder+0x1b4 rw_enter_write(ffff800001334018) at rw_enter_write+0x7a sys/kern/kern_rwlock.c:128 unveil_delete_names(ffff800001334000) at unveil_delete_names+0x3d sys/kern/kern_unveil.c:102 unveil_destroy(ffff8000372031e0) at unveil_destroy+0xbd sys/kern/kern_unveil.c:183 exit1(ffff8000ffff1978,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff8000ffff1978,ffff8000371bc100,ffff8000371bc050) at sys_exit+0x1a syscall(ffff8000371bc100) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371bc100) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b4c0d9e75b0, count: -9