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 *118166 25655 0 0 0x4000000 1 syz-executor.1 112453 98 0 0x2 0x480 0 syz-executor.1 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(ffff800000b9e340) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8062c8fd00,0,7000,3000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125f3b0,ffff8000211922a8) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b95800,1,ffff8000211922a8) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1eb590,c5005601,ffff800000b95800,1,fffffd807f7d85a0,ffff8000211922a8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064e8ab68,c5005601,ffff800000b95800,ffff8000211922a8) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000211922a8,ffff800021cb74d8,ffff800021cb7520) at sys_ioctl+0x4a2 syscall(ffff800021cb75a0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021cb75a0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9b0d238cfd0, 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_device.c", line 230 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,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b9e340) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8062c8fd00,0,7000,3000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125f3b0,ffff8000211922a8) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b95800,1,ffff8000211922a8) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1eb590,c5005601,ffff800000b95800,1,fffffd807f7d85a0,ffff8000211922a8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064e8ab68,c5005601,ffff800000b95800,ffff8000211922a8) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000211922a8,ffff800021cb74d8,ffff800021cb7520) at sys_ioctl+0x4a2 syscall(ffff800021cb75a0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021cb75a0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9b0d238cfd0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021cb6e40 rbx 0xffff800020d39bff rdx 0x8b rcx 0x2 rax 0x8c r8 0xffffffff81a0be34 kprintf+0x144 r9 0x1 r10 0x6e1e8cc0831060ed r11 0xbedca8f1e8c52e30 r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81e3e908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021cb6e30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=118166 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000211937a8,0xffffffff82913618 process=0xffff8000ffffb248 user=0xffff800021cb2000, vmspace=0xfffffd8062c8fb90 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25655 23971 98 0 2 0 syz-executor.1 25655 337082 98 0 2 0x4000000 syz-executor.1 *25655 118166 98 0 7 0x4000000 syz-executor.1 98 112453 20408 0 7 0x482 syz-executor.1 70840 111301 20408 0 2 0x482 syz-executor.0 71405 495865 0 0 3 0x14200 acct acct 36328 277239 0 0 3 0x14200 bored sosplice 20408 185159 65566 0 3 0x82 thrsleep syz-fuzzer 20408 438912 65566 0 2 0x4000482 syz-fuzzer 20408 262490 65566 0 3 0x4000082 thrsleep syz-fuzzer 20408 314150 65566 0 2 0x4000482 syz-fuzzer 20408 149258 65566 0 3 0x4000082 thrsleep syz-fuzzer 20408 349976 65566 0 3 0x4000082 thrsleep syz-fuzzer 20408 421950 65566 0 3 0x4000082 thrsleep syz-fuzzer 20408 343928 65566 0 3 0x4000082 kqread syz-fuzzer 65566 153430 12532 0 3 0x10008a sigsusp ksh 12532 52920 91779 0 3 0x9a select sshd 13666 124531 1 0 3 0x100083 ttyin getty 91779 114712 1 0 3 0x88 select sshd 85299 360093 38743 74 3 0x100092 bpf pflogd 38743 178719 1 0 3 0x80 netio pflogd 78675 135250 8823 73 3 0x100090 kqread syslogd 8823 31788 1 0 3 0x100082 netio syslogd 49347 417665 1 0 3 0x100080 kqread resolvd 20695 5525 40250 77 3 0x100092 kqread dhcpleased 89352 498677 40250 77 3 0x100092 kqread dhcpleased 40250 370478 1 0 3 0x80 kqread dhcpleased 53295 490647 0 0 3 0x14200 bored smr 29107 36190 0 0 2 0x14200 zerothread 9296 186974 0 0 3 0x14200 aiodoned aiodoned 97971 495543 0 0 3 0x14200 syncer update 87355 224877 0 0 3 0x14200 cleaner cleaner 91679 376149 0 0 3 0x14200 reaper reaper 59559 54923 0 0 3 0x14200 pgdaemon pagedaemon 67280 397119 0 0 3 0x14200 bored crynlk 30327 414166 0 0 3 0x14200 bored crypto 63477 188616 0 0 3 0x14200 bored viomb 85345 393649 0 0 3 0x40014200 acpi0 acpi0 30078 205538 0 0 3 0x40014200 idle1 70560 412226 0 0 3 0x14200 bored softnet 46057 292403 0 0 3 0x14200 bored systqmp 80807 291109 0 0 3 0x14200 bored systq 28711 493000 0 0 3 0x40014200 bored softclock 76469 332156 0 0 3 0x40014200 idle0 1 480949 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 25655 (syz-executor.1) thread 0xffff8000211922a8 (118166) shared rwlock vmmaplk r = 0 (0xfffffd8062c8fba8) #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 (0xfffffd8062c8fd18) #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 10179 6445K 6897K 78643K 13896 0 pcb 13 8K 8K 78643K 122 0 rtable 113 4K 4K 78643K 353 0 ifaddr 77 14K 14K 78643K 140 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 68 0 ioctlops 1 2K 4K 78643K 1560 0 iov 0 0K 16K 78643K 140 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1242 78K 78K 78643K 2021 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 585 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 4419 0 sigio 0 0K 0K 78643K 60 0 proc 72 87K 99K 78643K 573 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 121 0 in_multi 33 2K 2K 78643K 156 0 ether_multi 1 0K 0K 78643K 24 0 mrt 0 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 549 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 317 187K 187K 78643K 55389 0 UVM aobj 12 2K 2K 78643K 21 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 131 0 NDP 14 0K 0K 78643K 38 0 temp 139 4210K 4282K 78643K 45389 0 kqueue 10 14K 26K 78643K 94 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 88 0 85 1 0 1 1 0 8 0 rtentry 112 95 0 49 2 0 2 2 0 8 0 unpcb 120 625 0 608 2 1 1 2 0 8 0 syncache 296 18 0 18 6 6 0 1 0 8 0 tcpqe 32 221 0 221 4 4 0 1 0 8 0 tcpcb 736 361 0 353 6 5 1 2 0 8 0 arp 120 14 0 8 1 0 1 1 0 8 0 inpcb 304 981 0 974 10 8 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 20 0 12 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 kcovpl 48 6 0 4 1 0 1 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1248 5 0 5 2 2 0 1 0 8 0 pffrag 232 6 0 4 2 1 1 1 0 482 0 pffrnode 88 6 0 4 2 1 1 1 0 8 0 pffrent 40 12 0 10 2 1 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 pfstitem 24 87 0 75 1 0 1 1 0 8 0 pfstkey 112 87 0 75 1 0 1 1 0 8 0 pfstate 320 87 0 75 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 407 0 176 15 0 15 15 0 8 0 art_table 32 408 0 176 2 0 2 2 0 8 0 art_node 16 92 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 17 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 581 0 571 1 0 1 1 0 8 0 shmpl 112 18 0 9 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6201 0 4788 89 0 89 89 0 8 0 ffsino 272 6201 0 4788 95 0 95 95 0 8 0 nchpl 144 11303 0 9696 61 1 60 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 26684 0 26684 3 2 1 1 0 8 1 percpumem 16 46 0 12 1 0 1 1 0 8 0 vcpupl 2048 11 0 0 2 0 2 2 0 8 0 vmpool 560 12 0 0 1 0 1 1 0 8 0 scxspl 216 33160 0 33160 11 10 1 8 0 8 1 plimitpl 152 83 0 74 1 0 1 1 0 8 0 sigapl 424 4659 0 4623 5 0 5 5 0 8 0 futexpl 56 31989 0 31989 2 1 1 1 0 8 1 knotepl 112 60 0 0 2 0 2 2 0 8 0 kqueuepl 216 4172 0 4156 7 5 2 2 0 8 1 pipepl 336 273 0 263 5 3 2 2 0 8 0 fdescpl 496 4641 0 4623 3 0 3 3 0 8 0 filepl 152 14217 0 14102 7 2 5 6 0 8 0 lockfpl 104 307 0 305 1 0 1 1 0 8 0 lockfspl 48 97 0 95 1 0 1 1 0 8 0 sessionpl 144 22 0 11 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 785 0 772 1 0 1 1 0 8 0 zombiepl 144 4623 0 4622 2 1 1 1 0 8 0 processpl 1072 4659 0 4622 3 0 3 3 0 8 0 procpl 672 10488 0 10442 6 1 5 5 0 8 1 sosppl 168 22 0 22 6 6 0 1 0 8 0 sockpl 480 1707 0 1680 11 6 5 7 0 8 0 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 11 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 32 0 0 4 1 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 259 0 0 25 2 23 25 0 8 0 mtagpl 96 86 0 0 3 0 3 3 0 8 0 mbufpl 256 625 0 0 32 1 31 31 0 8 0 bufpl 280 8596 0 2260 453 0 453 453 0 8 0 anonpl 24 1244206 0 1221605 217 67 150 180 0 186 11 amapchunkpl 152 131840 0 131122 42 8 34 34 0 158 4 amappl16 200 9088 0 8255 87 42 45 67 0 8 1 amappl15 192 1070 0 1069 1 0 1 1 0 8 0 amappl14 184 1845 0 1839 1 0 1 1 0 8 0 amappl13 176 78 0 77 1 0 1 1 0 8 0 amappl12 168 13 0 11 3 2 1 1 0 8 0 amappl11 160 51 0 36 1 0 1 1 0 8 0 amappl10 152 52 0 42 1 0 1 1 0 8 0 amappl9 144 350 0 346 1 0 1 1 0 8 0 amappl8 136 1868 0 1794 4 1 3 3 0 8 0 amappl7 128 1436 0 1422 1 0 1 1 0 8 0 amappl6 120 267 0 250 1 0 1 1 0 8 0 amappl5 112 2715 0 2697 1 0 1 1 0 8 0 amappl4 104 2546 0 2513 1 0 1 1 0 8 0 amappl3 96 205 0 202 1 0 1 1 0 8 0 amappl2 88 600 0 541 2 0 2 2 0 8 0 amappl1 80 84595 0 84143 14 4 10 13 0 8 0 amappl 88 54689 0 54486 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 20 0 9 1 0 1 1 0 8 0 uaddrrnd 24 4653 0 4623 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4653 0 4623 1 0 1 1 0 8 0 vmmpekpl 168 28951 0 28915 3 1 2 2 0 8 0 vmmpepl 168 526966 0 524679 223 103 120 140 0 357 15 vmsppl 368 4652 0 4623 3 0 3 3 0 8 0 rwobjpl 56 94523 0 92834 36 11 25 30 0 8 1 pdppl 4096 9314 0 9257 83 26 57 57 0 8 0 pvpl 32 3132782 0 3106698 320 85 235 279 0 265 21 pmappl 224 4652 0 4623 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 377 0 43 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+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82838a18) at __mp_lock+0x129 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(ffff800021273740,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(ffff800021193508,ffff800021273860,ffff8000212738b0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021273930) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021273930) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca940, 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+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82838a18) at __mp_lock+0x129 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(ffff800021273740,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(ffff800021193508,ffff800021273860,ffff8000212738b0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299 syscall(ffff800021273930) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021273930) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca940, 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,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b9e340) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8062c8fd00,0,7000,3000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125f3b0,ffff8000211922a8) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b95800,1,ffff8000211922a8) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1eb590,c5005601,ffff800000b95800,1,fffffd807f7d85a0,ffff8000211922a8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064e8ab68,c5005601,ffff800000b95800,ffff8000211922a8) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000211922a8,ffff800021cb74d8,ffff800021cb7520) at sys_ioctl+0x4a2 syscall(ffff800021cb75a0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021cb75a0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9b0d238cfd0, 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,ffffffff824476b7,e6,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161 udv_reference(ffff800000b9e340) at udv_reference+0x84 sys/uvm/uvm_device.c:230 uvm_mapent_clone(fffffd8062c8fd00,0,7000,3000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd8062c8fd00,0,7,fffffd8062c8fb90,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125f3b0,ffff8000211922a8) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b95800,ffff8000211922a8) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b95800,1,ffff8000211922a8) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1eb590,c5005601,ffff800000b95800,1,fffffd807f7d85a0,ffff8000211922a8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064e8ab68,c5005601,ffff800000b95800,ffff8000211922a8) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000211922a8,ffff800021cb74d8,ffff800021cb7520) at sys_ioctl+0x4a2 syscall(ffff800021cb75a0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021cb75a0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9b0d238cfd0, count: -14