panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_vnode.c", line 285 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 3939 13665 0 0 0x4000000 1 syz-executor.1 498309 35952 0 0x2 0x480 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bffea,ffffffff8244811a,11d,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_reference(fffffd807376c680) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd807f008a10,0,200000,2000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff800021251c70,ffff80002121f7a0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b69000,1,ffff80002121f7a0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e07e2f0,c5005601,ffff800000b69000,1,fffffd807f7d85a0,ffff80002121f7a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd806e419b58,c5005601,ffff800000b69000,ffff80002121f7a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002121f7a0,ffff80002127dad8,ffff80002127db20) at sys_ioctl+0x4a2 syscall(ffff80002127dba0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002127dba0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x187f2368f30, count: 1 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_vnode.c", line 285 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bffea,ffffffff8244811a,11d,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_reference(fffffd807376c680) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd807f008a10,0,200000,2000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff800021251c70,ffff80002121f7a0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b69000,1,ffff80002121f7a0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e07e2f0,c5005601,ffff800000b69000,1,fffffd807f7d85a0,ffff80002121f7a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd806e419b58,c5005601,ffff800000b69000,ffff80002121f7a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002121f7a0,ffff80002127dad8,ffff80002127db20) at sys_ioctl+0x4a2 syscall(ffff80002127dba0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002127dba0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x187f2368f30, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002127d440 rbx 0xffff800020d39bff rdx 0x8b rcx 0x2 rax 0x8b r8 0xffffffff81a0be34 kprintf+0x144 r9 0x1 r10 0x460f95edf4afc850 r11 0x2c0652f420c3fa1a r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81e3e908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002127d430 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=3939 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002121e000,0xffffffff82913618 process=0xffff8000ffffb248 user=0xffff800021278000, vmspace=0xfffffd807f008170 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 13665 70382 95213 0 2 0 syz-executor.1 *13665 3939 95213 0 7 0x4000000 syz-executor.1 95213 61276 24398 0 2 0x482 syz-executor.1 19053 495826 0 0 3 0x14200 bored sosplice 35952 498309 24398 0 7 0x482 syz-executor.0 24398 201460 84905 0 3 0x82 thrsleep syz-fuzzer 24398 243872 84905 0 2 0x4000482 syz-fuzzer 24398 345278 84905 0 3 0x4000082 thrsleep syz-fuzzer 24398 175802 84905 0 3 0x4000082 thrsleep syz-fuzzer 24398 283179 84905 0 3 0x4000082 thrsleep syz-fuzzer 24398 323469 84905 0 2 0x4000482 syz-fuzzer 24398 194871 84905 0 3 0x4000082 thrsleep syz-fuzzer 24398 105978 84905 0 3 0x4000082 thrsleep syz-fuzzer 84905 15584 53600 0 3 0x10008a sigsusp ksh 53600 32122 38277 0 3 0x9a select sshd 16960 33787 1 0 3 0x100083 ttyin getty 38277 440958 1 0 3 0x88 select sshd 95096 522579 77499 74 3 0x100092 bpf pflogd 77499 402770 1 0 3 0x80 netio pflogd 70146 459475 31892 73 3 0x100090 kqread syslogd 31892 7660 1 0 3 0x100082 netio syslogd 99437 225950 1 0 3 0x100080 kqread resolvd 39631 474493 41483 77 3 0x100092 kqread dhcpleased 7605 328360 41483 77 3 0x100092 kqread dhcpleased 41483 456505 1 0 3 0x80 kqread dhcpleased 96225 139531 0 0 3 0x14200 bored smr 2026 377833 0 0 3 0x14200 pgzero zerothread 88679 204600 0 0 3 0x14200 aiodoned aiodoned 16222 175147 0 0 3 0x14200 syncer update 60192 456294 0 0 3 0x14200 cleaner cleaner 57707 116189 0 0 3 0x14200 reaper reaper 6404 329420 0 0 3 0x14200 pgdaemon pagedaemon 83329 301407 0 0 3 0x14200 bored crynlk 41658 168019 0 0 3 0x14200 bored crypto 87150 101219 0 0 3 0x14200 bored viomb 66379 153589 0 0 3 0x40014200 acpi0 acpi0 50305 130463 0 0 3 0x40014200 idle1 71717 276961 0 0 3 0x14200 bored softnet 57126 449541 0 0 3 0x14200 bored systqmp 72919 481250 0 0 3 0x14200 bored systq 41473 502513 0 0 3 0x40014200 bored softclock 36477 318651 0 0 3 0x40014200 idle0 1 501766 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 13665 (syz-executor.1) thread 0xffff80002121f7a0 (3939) shared rwlock vmmaplk r = 0 (0xfffffd807f008188) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 uvm_share+0xd2 vm_map_lock_read_ln sys/uvm/uvm_map.c:5447 [inline] #1 uvm_share+0xd2 sys/uvm/uvm_map.c:3691 #2 vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 #3 vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] #3 vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 #4 vmmioctl+0x1f2 #5 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 #6 vn_ioctl+0xba sys/kern/vfs_vnops.c:531 #7 sys_ioctl+0x4a2 #8 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #9 Xsyscall+0x128 exclusive rwlock vmmaplk r = 0 (0xfffffd807f008a28) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x3e2 sys/kern/kern_rwlock.c:310 #2 vm_map_lock_ln+0xda sys/uvm/uvm_map.c:5425 #3 uvm_share+0xaa vm_map_lock_read_ln sys/uvm/uvm_map.c:5446 [inline] #3 uvm_share+0xaa sys/uvm/uvm_map.c:3691 #4 vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 #5 vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] #5 vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 #6 vmmioctl+0x1f2 #7 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 #8 vn_ioctl+0xba sys/kern/vfs_vnops.c:531 #9 sys_ioctl+0x4a2 #10 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #11 Xsyscall+0x128 exclusive rwlock vmlistlock r = 0 (0xffff800000655c78) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 vm_create+0x12e vm_impl_init sys/arch/amd64/amd64/vmm.c:1688 [inline] #1 vm_create+0x12e sys/arch/amd64/amd64/vmm.c:1510 #2 vmmioctl+0x1f2 #3 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 #4 vn_ioctl+0xba sys/kern/vfs_vnops.c:531 #5 sys_ioctl+0x4a2 #6 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10144 6438K 6825K 78643K 12412 0 pcb 13 8K 8K 78643K 56 0 rtable 100 3K 3K 78643K 317 0 ifaddr 56 11K 11K 78643K 97 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 56 0 ioctlops 1 2K 4K 78643K 1545 0 iov 0 0K 16K 78643K 81 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1234 78K 78K 78643K 1657 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 168 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 1552 0 sigio 0 0K 0K 78643K 10 0 proc 70 87K 111K 78643K 407 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 119 0 in_multi 29 1K 2K 78643K 120 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 21 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 468 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 238 37K 37K 78643K 20251 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 30 0 NDP 11 0K 0K 78643K 31 0 temp 118 4206K 4286K 78643K 9866 0 kqueue 10 14K 19K 78643K 51 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 42 0 39 1 0 1 1 0 8 0 rtentry 112 100 0 59 2 0 2 2 0 8 0 unpcb 120 227 0 212 1 0 1 1 0 8 0 syncache 296 15 0 15 3 2 1 1 0 8 1 tcpqe 32 1157 0 1157 3 3 0 2 0 8 0 tcpcb 736 162 0 154 3 1 2 2 0 8 0 arp 120 10 0 4 1 0 1 1 0 8 0 inpcb 304 413 0 404 2 0 2 2 0 8 0 rttmr 72 7 0 7 1 1 0 1 0 8 0 nd6 48 20 0 16 1 0 1 1 0 8 0 kcovpl 48 4 0 2 1 0 1 1 0 8 0 ppxss 1248 4 0 4 1 1 0 1 0 8 0 pfosfp 40 1433 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1433 0 714 21 0 21 21 0 8 0 pfstitem 24 25 0 16 1 0 1 1 0 8 0 pfstkey 112 25 0 16 1 0 1 1 0 8 0 pfstate 320 25 0 16 2 0 2 2 0 8 0 pfrule 1360 41 0 36 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 420 0 248 13 1 12 13 0 8 1 art_table 32 421 0 248 2 0 2 2 0 8 0 art_node 16 99 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 31 1 0 1 1 0 8 0 semapl 112 166 0 156 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3227 0 1813 89 0 89 89 0 8 0 ffsino 272 3227 0 1813 95 0 95 95 0 8 0 nchpl 144 5131 0 3523 61 1 60 61 0 8 0 uvmvnodes 72 3608 0 0 66 0 66 66 0 8 0 vnodes 224 3608 0 0 213 0 213 213 0 8 0 namei 1024 12791 0 12791 2 1 1 1 0 8 1 percpumem 16 40 0 6 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 15340 0 15340 10 9 1 8 0 8 1 plimitpl 152 49 0 40 1 0 1 1 0 8 0 sigapl 424 1797 0 1762 6 1 5 5 0 8 1 futexpl 56 9630 0 9630 1 0 1 1 0 8 1 knotepl 112 68 0 0 2 0 2 2 0 8 0 kqueuepl 216 984 0 978 1 0 1 1 0 8 0 pipepl 336 145 0 135 2 0 2 2 0 8 0 fdescpl 496 1780 0 1762 3 0 3 3 0 8 0 filepl 152 5465 0 5351 5 0 5 5 0 8 0 lockfpl 104 103 0 101 1 0 1 1 0 8 0 lockfspl 48 50 0 48 1 0 1 1 0 8 0 sessionpl 144 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 356 0 344 1 0 1 1 0 8 0 zombiepl 144 1762 0 1761 2 1 1 1 0 8 0 processpl 1072 1797 0 1761 3 0 3 3 0 8 0 procpl 672 3694 0 3650 7 3 4 5 0 8 0 sosppl 168 12 0 11 1 0 1 1 0 8 0 sockpl 480 689 0 662 6 1 5 5 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 13 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 12 0 0 2 0 2 2 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k 2048 272 0 0 33 0 33 33 0 8 0 mtagpl 96 75 0 0 2 0 2 2 0 8 0 mbufpl 256 600 0 0 34 0 34 34 0 8 0 bufpl 280 5371 0 136 374 0 374 374 0 8 0 anonpl 24 467960 0 451600 176 4 172 172 0 186 50 amapchunkpl 152 47814 0 47206 34 6 28 28 0 158 3 amappl16 200 4768 0 4029 64 17 47 63 0 8 8 amappl15 192 644 0 643 1 0 1 1 0 8 0 amappl14 184 5 0 4 1 0 1 1 0 8 0 amappl13 176 160 0 158 1 0 1 1 0 8 0 amappl12 168 14 0 8 1 0 1 1 0 8 0 amappl11 160 794 0 780 1 0 1 1 0 8 0 amappl10 152 45 0 37 1 0 1 1 0 8 0 amappl9 144 254 0 248 1 0 1 1 0 8 0 amappl8 136 417 0 370 2 0 2 2 0 8 0 amappl7 128 85 0 71 1 0 1 1 0 8 0 amappl6 120 147 0 134 1 0 1 1 0 8 0 amappl5 112 815 0 795 1 0 1 1 0 8 0 amappl4 104 2121 0 2093 1 0 1 1 0 8 0 amappl3 96 177 0 174 1 0 1 1 0 8 0 amappl2 88 631 0 578 2 0 2 2 0 8 0 amappl1 80 33927 0 33480 14 4 10 13 0 8 0 amappl 88 19827 0 19659 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 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1781 0 1762 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1781 0 1762 1 0 1 1 0 8 0 vmmpekpl 168 13246 0 13216 3 1 2 2 0 8 0 vmmpepl 168 201019 0 198922 175 48 127 127 0 357 31 vmsppl 368 1780 0 1762 2 0 2 2 0 8 0 rwobjpl 56 38257 0 36736 31 2 29 29 0 8 7 pdppl 4096 3570 0 3524 67 21 46 50 0 8 0 pvpl 32 1094462 0 1074650 273 10 263 264 0 265 71 pmappl 224 1780 0 1762 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 357 0 27 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82809ff0) 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(ffffffff82838a18) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82838a18) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82838a18,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:433 sleep_finish(ffff800021272f80,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 tsleep(ffffffff8291e840,120,ffffffff82432f56,2) at tsleep+0x125 sys/kern/kern_synch.c:158 sys_nanosleep(ffff80002121e540,ffff8000212730a0,ffff8000212730f0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021273170) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021273170) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3570, count: 4 ddb{0}> trace x86_ipi_db(ffffffff82809ff0) 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(ffffffff82838a18) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82838a18) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82838a18,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:433 sleep_finish(ffff800021272f80,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 tsleep(ffffffff8291e840,120,ffffffff82432f56,2) at tsleep+0x125 sys/kern/kern_synch.c:158 sys_nanosleep(ffff80002121e540,ffff8000212730a0,ffff8000212730f0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021273170) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021273170) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3570, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bffea,ffffffff8244811a,11d,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_reference(fffffd807376c680) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd807f008a10,0,200000,2000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff800021251c70,ffff80002121f7a0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b69000,1,ffff80002121f7a0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e07e2f0,c5005601,ffff800000b69000,1,fffffd807f7d85a0,ffff80002121f7a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd806e419b58,c5005601,ffff800000b69000,ffff80002121f7a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002121f7a0,ffff80002127dad8,ffff80002127db20) at sys_ioctl+0x4a2 syscall(ffff80002127dba0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002127dba0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x187f2368f30, count: 1 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bffea,ffffffff8244811a,11d,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_reference(fffffd807376c680) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd807f008a10,0,200000,2000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd807f008a10,0,7,fffffd807f008170,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff800021251c70,ffff80002121f7a0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b69000,ffff80002121f7a0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b69000,1,ffff80002121f7a0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e07e2f0,c5005601,ffff800000b69000,1,fffffd807f7d85a0,ffff80002121f7a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd806e419b58,c5005601,ffff800000b69000,ffff80002121f7a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002121f7a0,ffff80002127dad8,ffff80002127db20) at sys_ioctl+0x4a2 syscall(ffff80002127dba0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002127dba0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x187f2368f30, count: -14