panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_device.c", line 230 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *121874 89785 0 0 0x4000000 0 syz-executor.0 469514 65169 0 0x2 0x480 1 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,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b3c180) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8068082188,2000,1fe000,0,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff8000234aad28,ffff800021264fd0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b55000,1,ffff800021264fd0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd8071bc9830,c5005601,ffff800000b55000,1,fffffd807f7d8840,ffff800021264fd0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8067cec318,c5005601,ffff800000b55000,ffff800021264fd0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021264fd0,ffff800024551858,ffff8000245518a0) at sys_ioctl+0x4a2 syscall(ffff800024551920) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024551920) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f289e54d50, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_device.c", line 230 ddb{0}> 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,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b3c180) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8068082188,2000,1fe000,0,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff8000234aad28,ffff800021264fd0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b55000,1,ffff800021264fd0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd8071bc9830,c5005601,ffff800000b55000,1,fffffd807f7d8840,ffff800021264fd0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8067cec318,c5005601,ffff800000b55000,ffff800021264fd0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021264fd0,ffff800024551858,ffff8000245518a0) at sys_ioctl+0x4a2 syscall(ffff800024551920) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024551920) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f289e54d50, count: -14 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000245511c0 rbx 0xffffffff8280abff cpu_info_full_primary+0x2bff rdx 0x8b rcx 0x2 rax 0x8c r8 0xffffffff81a0be34 kprintf+0x144 r9 0x1 r10 0x320889349fab9663 r11 0x10a15eb6f252e535 r12 0xffffffff8280aa00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81e3e908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000245511b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=121874 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800021265270,0xffffffff82913618 process=0xffff8000246aa9f8 user=0xffff80002454c000, vmspace=0xfffffd8068082018 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 89785 410646 65169 0 2 0 syz-executor.0 *89785 121874 65169 0 7 0x4000000 syz-executor.0 68203 498484 40293 0 2 0 syz-executor.1 68203 329636 40293 0 3 0x4000080 fsleep syz-executor.1 40293 368483 50539 0 3 0x82 nanoslp syz-executor.1 14559 136857 0 0 3 0x14200 bored sosplice 8325 244259 0 0 3 0x14280 nfsidl nfsio 53258 279751 0 0 3 0x14280 nfsidl nfsio 4172 447763 0 0 3 0x14280 nfsidl nfsio 84219 493457 0 0 3 0x14280 nfsidl nfsio 8039 166638 0 0 3 0x14280 nfsidl nfsio 66816 121199 0 0 3 0x14280 nfsidl nfsio 30754 94761 0 0 3 0x14280 nfsidl nfsio 7806 215330 0 0 3 0x14280 nfsidl nfsio 64247 442394 0 0 3 0x14280 nfsidl nfsio 67743 111408 0 0 3 0x14280 nfsidl nfsio 59063 117249 0 0 3 0x14280 nfsidl nfsio 55646 68995 0 0 3 0x14280 nfsidl nfsio 8981 475385 0 0 3 0x14280 nfsidl nfsio 43083 221185 0 0 3 0x14280 nfsidl nfsio 27367 189401 0 0 3 0x14280 nfsidl nfsio 71741 94257 0 0 3 0x14280 nfsidl nfsio 37743 200216 0 0 3 0x14280 nfsidl nfsio 75334 92276 0 0 3 0x14280 nfsidl nfsio 76334 255168 0 0 3 0x14280 nfsidl nfsio 47053 365479 0 0 3 0x14280 nfsidl nfsio 65169 469514 50539 0 7 0x482 syz-executor.0 50539 227063 45601 0 3 0x82 thrsleep syz-fuzzer 50539 381921 45601 0 3 0x4000082 nanoslp syz-fuzzer 50539 282232 45601 0 3 0x4000082 thrsleep syz-fuzzer 50539 219282 45601 0 3 0x4000082 thrsleep syz-fuzzer 50539 297740 45601 0 3 0x4000082 thrsleep syz-fuzzer 50539 501007 45601 0 3 0x4000082 kqread syz-fuzzer 50539 353495 45601 0 3 0x4000082 thrsleep syz-fuzzer 50539 483498 45601 0 3 0x4000082 thrsleep syz-fuzzer 45601 52021 80272 0 3 0x10008a sigsusp ksh 80272 424277 31062 0 3 0x9a select sshd 54467 317774 1 0 3 0x100083 ttyin getty 31062 511986 1 0 3 0x88 select sshd 85491 105019 16249 74 3 0x100092 bpf pflogd 16249 400311 1 0 3 0x80 netio pflogd 15003 155130 58176 73 3 0x100090 kqread syslogd 58176 175739 1 0 3 0x100082 netio syslogd 56911 15880 1 0 3 0x100080 kqread resolvd 18746 158355 64502 77 3 0x100092 kqread dhcpleased 40651 470162 64502 77 3 0x100092 kqread dhcpleased 64502 400294 1 0 3 0x80 kqread dhcpleased 30891 265276 0 0 3 0x14200 bored smr 80295 500817 0 0 2 0x14200 zerothread 74522 292572 0 0 3 0x14200 aiodoned aiodoned 18236 420403 0 0 3 0x14200 syncer update 78585 298179 0 0 3 0x14200 cleaner cleaner 79822 287736 0 0 3 0x14200 reaper reaper 19235 281013 0 0 3 0x14200 pgdaemon pagedaemon 21173 172842 0 0 3 0x14200 bored crynlk 71169 373896 0 0 3 0x14200 bored crypto 43003 99729 0 0 3 0x14200 bored viomb 67466 159433 0 0 3 0x40014200 acpi0 acpi0 79654 85420 0 0 3 0x40014200 idle1 99324 313129 0 0 3 0x14200 bored softnet 23779 66770 0 0 3 0x14200 bored systqmp 40427 424821 0 0 3 0x14200 bored systq 73157 416706 0 0 3 0x40014200 bored softclock 27778 155418 0 0 3 0x40014200 idle0 1 405500 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 89785 (syz-executor.0) thread 0xffff800021264fd0 (121874) shared rwlock vmmaplk r = 0 (0xfffffd8068082030) #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 (0xfffffd80680821a0) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10158 6436K 7469K 78643K 14008 0 pcb 13 8K 8K 78643K 195 0 rtable 117 13K 13K 78643K 309 0 ifaddr 66 13K 13K 78643K 101 0 counters 44 34K 34K 78643K 56 0 ioctlops 1 2K 4K 78643K 1607 0 iov 0 0K 8K 78643K 99 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1224 77K 77K 78643K 2355 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 11 1K 1K 78643K 11 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 3675 0 sigio 0 0K 0K 78643K 40 0 proc 73 87K 111K 78643K 473 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 297 0 in_multi 33 2K 2K 78643K 205 0 ether_multi 1 0K 0K 78643K 55 0 mrt 0 0K 0K 78643K 3 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 529 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 275 305K 306K 78643K 45809 0 UVM aobj 4 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 173 0 NDP 11 0K 0K 78643K 23 0 temp 128 4212K 4278K 78643K 10883 0 kqueue 10 14K 18K 78643K 91 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 119 0 116 1 0 1 1 0 8 0 rtentry 112 56 0 12 2 0 2 2 0 8 0 unpcb 120 751 0 729 1 0 1 1 0 8 0 syncache 296 49 0 49 3 3 0 1 0 8 0 tcpqe 32 33 0 33 3 3 0 1 0 8 0 tcpcb 736 530 0 526 11 9 2 4 0 8 1 arp 120 8 0 2 1 0 1 1 0 8 0 inpcb 304 1368 0 1361 7 5 2 2 0 8 1 nd6 48 9 0 3 1 0 1 1 0 8 0 pkpcb 40 12 0 12 2 2 0 1 0 8 0 kcovpl 48 3 0 1 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 pfrktable 1344 2 0 0 1 0 1 1 0 8 0 pfstitem 24 39 0 37 1 0 1 1 0 8 0 pfstkey 112 39 0 37 1 0 1 1 0 8 0 pfstate 320 39 0 37 3 2 1 3 0 8 0 pfrule 1360 75 0 55 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 235 0 44 12 0 12 12 0 8 0 art_table 32 236 0 44 2 0 2 2 0 8 0 art_node 16 55 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 19 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 8 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6090 0 4683 89 0 89 89 0 8 0 ffsino 272 6090 0 4683 95 0 95 95 0 8 0 nchpl 144 10619 0 9012 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 25450 0 25450 2 1 1 1 0 8 1 percpumem 16 40 0 6 1 0 1 1 0 8 0 vcpupl 2048 18 0 0 3 0 3 3 0 8 0 vmpool 560 19 0 0 2 0 2 2 0 8 0 pfiaddrpl 120 14 0 0 1 0 1 1 0 8 0 scxspl 216 31422 0 31422 10 9 1 8 0 8 1 plimitpl 152 90 0 81 1 0 1 1 0 8 0 sigapl 424 3943 0 3887 7 0 7 7 0 8 0 futexpl 56 25871 0 25870 2 1 1 1 0 8 0 knotepl 112 62 0 0 2 0 2 2 0 8 0 kqueuepl 216 1927 0 1919 1 0 1 1 0 8 0 pipepl 336 244 0 234 6 5 1 2 0 8 0 fdescpl 496 3906 0 3887 3 0 3 3 0 8 0 filepl 152 12424 0 12309 5 0 5 5 0 8 0 lockfpl 104 407 0 405 1 0 1 1 0 8 0 lockfspl 48 136 0 134 1 0 1 1 0 8 0 sessionpl 144 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 1450 0 1438 1 0 1 1 0 8 0 zombiepl 144 3887 0 3887 1 0 1 1 0 8 1 processpl 1072 3943 0 3887 4 0 4 4 0 8 0 procpl 672 8403 0 8338 7 1 6 7 0 8 0 sosppl 168 45 0 45 4 4 0 1 0 8 0 sockpl 480 2271 0 2239 11 6 5 6 0 8 0 mcl64k 65536 24 0 0 3 1 2 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 219 0 0 17 0 17 17 0 8 0 mtagpl 96 167 0 0 5 0 5 5 0 8 0 mbufpl 256 711 0 0 40 0 40 40 0 8 0 bufpl 280 12010 0 5674 453 0 453 453 0 8 0 anonpl 24 1077095 0 1067642 121 63 58 100 0 186 0 amapchunkpl 152 107863 0 107365 31 11 20 22 0 158 0 amappl16 200 12535 0 12283 83 69 14 36 0 8 0 amappl14 184 2101 0 2096 1 0 1 1 0 8 0 amappl13 176 1579 0 1576 1 0 1 1 0 8 0 amappl12 168 19 0 16 1 0 1 1 0 8 0 amappl11 160 47 0 32 1 0 1 1 0 8 0 amappl10 152 39 0 32 1 0 1 1 0 8 0 amappl9 144 243 0 240 1 0 1 1 0 8 0 amappl8 136 463 0 401 3 0 3 3 0 8 0 amappl7 128 76 0 62 1 0 1 1 0 8 0 amappl6 120 136 0 121 1 0 1 1 0 8 0 amappl5 112 1735 0 1717 1 0 1 1 0 8 0 amappl4 104 2713 0 2684 1 0 1 1 0 8 0 amappl3 96 169 0 166 1 0 1 1 0 8 0 amappl2 88 2101 0 2045 2 0 2 2 0 8 0 amappl1 80 70800 0 70329 13 2 11 13 0 8 0 amappl 88 45252 0 45085 4 0 4 4 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 10 0 7 1 0 1 1 0 8 0 uaddrrnd 24 3925 0 3887 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3925 0 3887 1 0 1 1 0 8 0 vmmpekpl 168 20817 0 20776 3 0 3 3 0 8 0 vmmpepl 168 438017 0 436290 118 41 77 93 0 357 0 vmsppl 368 3924 0 3887 4 0 4 4 0 8 0 rwobjpl 56 82170 0 81113 32 16 16 21 0 8 0 pdppl 4096 7858 0 7792 88 22 66 66 0 8 0 pvpl 32 2380484 0 2368238 225 121 104 160 0 265 4 pmappl 224 3924 0 3887 3 0 3 3 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 386 0 41 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:440 panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824bffea,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b3c180) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8068082188,2000,1fe000,0,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8068082188,0,7,fffffd8068082018,20000000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff8000234aad28,ffff800021264fd0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b55000,ffff800021264fd0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b55000,1,ffff800021264fd0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd8071bc9830,c5005601,ffff800000b55000,1,fffffd807f7d8840,ffff800021264fd0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8067cec318,c5005601,ffff800000b55000,ffff800021264fd0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021264fd0,ffff800024551858,ffff8000245518a0) at sys_ioctl+0x4a2 syscall(ffff800024551920) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024551920) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f289e54d50, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) 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(ffff800021280f40,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(ffff8000ffff7270,ffff800021281060,ffff8000212810b0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021281130) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021281130) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2c60, count: 4 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) 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(ffff800021280f40,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(ffff8000ffff7270,ffff800021281060,ffff8000212810b0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021281130) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021281130) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2c60, count: -11