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 *362782 87027 0 0 0x4000000 1 syz-executor.1 499736 72469 0 0x14000 0x200 0 zerothread 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(fffffd80652b4250) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd80737bbe68,0,f000,1000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125ba40,ffff8000212527e0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e800,1,ffff8000212527e0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1ac210,c5005601,ffff800000b5e800,1,fffffd807f7d87e0,ffff8000212527e0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064747020,c5005601,ffff800000b5e800,ffff8000212527e0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212527e0,ffff800022297928,ffff800022297970) at sys_ioctl+0x4a2 syscall(ffff8000222979f0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222979f0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdeb8cf263a0, 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(fffffd80652b4250) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd80737bbe68,0,f000,1000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125ba40,ffff8000212527e0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e800,1,ffff8000212527e0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1ac210,c5005601,ffff800000b5e800,1,fffffd807f7d87e0,ffff8000212527e0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064747020,c5005601,ffff800000b5e800,ffff8000212527e0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212527e0,ffff800022297928,ffff800022297970) at sys_ioctl+0x4a2 syscall(ffff8000222979f0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222979f0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdeb8cf263a0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800022297290 rbx 0xffff800020d39bff rdx 0x8b rcx 0x2 rax 0x8b r8 0xffffffff81a0be34 kprintf+0x144 r9 0x1 r10 0xe6ed6e37faecda26 r11 0x8aff4d947d694bd5 r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81e3e908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022297280 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=362782 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021253a40,0xffffffff82913618 process=0xffff8000ffffa9e8 user=0xffff800022292000, vmspace=0xfffffd80737bb458 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87027 222456 47661 0 3 0 vmmaplk syz-executor.1 *87027 362782 47661 0 7 0x4000000 syz-executor.1 82334 384988 0 0 3 0x14200 bored sosplice 47661 76495 87294 0 3 0x82 nanoslp syz-executor.1 2404 258449 87294 0 3 0x82 nanoslp syz-executor.0 87294 211699 92036 0 3 0x82 thrsleep syz-fuzzer 87294 137362 92036 0 3 0x4000082 thrsleep syz-fuzzer 87294 125274 92036 0 3 0x4000082 thrsleep syz-fuzzer 87294 404697 92036 0 3 0x4000082 thrsleep syz-fuzzer 87294 188754 92036 0 3 0x4000082 kqread syz-fuzzer 87294 168556 92036 0 3 0x4000082 thrsleep syz-fuzzer 87294 324774 92036 0 3 0x4000082 thrsleep syz-fuzzer 87294 205851 92036 0 3 0x4000082 thrsleep syz-fuzzer 92036 148063 88346 0 3 0x10008a sigsusp ksh 88346 260273 64478 0 3 0x9a select sshd 1725 149999 1 0 3 0x100083 ttyin getty 64478 178037 1 0 3 0x88 select sshd 92074 424590 8224 74 3 0x100092 bpf pflogd 8224 523906 1 0 3 0x80 netio pflogd 68965 361556 31754 73 3 0x100090 kqread syslogd 31754 390965 1 0 3 0x100082 netio syslogd 35251 55648 1 0 3 0x100080 kqread resolvd 35118 508316 46785 77 3 0x100092 kqread dhcpleased 80707 102846 46785 77 3 0x100092 kqread dhcpleased 46785 385756 1 0 3 0x80 kqread dhcpleased 2611 184365 0 0 3 0x14200 bored smr 72469 499736 0 0 7 0x14200 zerothread 98201 299935 0 0 3 0x14200 aiodoned aiodoned 97768 70775 0 0 3 0x14200 syncer update 91530 305700 0 0 3 0x14200 cleaner cleaner 55261 171927 0 0 3 0x14200 reaper reaper 86861 109722 0 0 3 0x14200 pgdaemon pagedaemon 51030 464391 0 0 3 0x14200 bored crynlk 91350 426925 0 0 3 0x14200 bored crypto 48417 36506 0 0 3 0x14200 bored viomb 63971 349543 0 0 3 0x40014200 acpi0 acpi0 75923 387998 0 0 3 0x40014200 idle1 23101 56443 0 0 3 0x14200 bored softnet 52020 328224 0 0 3 0x14200 bored systqmp 34110 327597 0 0 3 0x14200 bored systq 90437 216893 0 0 3 0x40014200 bored softclock 78782 51514 0 0 3 0x40014200 idle0 1 424665 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff8285f6d0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 msleep+0x20d #4 uvm_pagezero_thread+0xb0 sys/uvm/uvm_pmemrange.c:2171 #5 proc_trampoline+0x1c Process 87027 (syz-executor.1) thread 0xffff8000212527e0 (362782) shared rwlock vmmaplk r = 0 (0xfffffd80737bb470) #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 (0xfffffd80737bbe80) #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 10135 6427K 6814K 78643K 11554 0 pcb 13 8K 8K 78643K 29 0 rtable 109 3K 4K 78643K 190 0 ifaddr 53 11K 11K 78643K 55 0 counters 44 34K 34K 78643K 44 0 ioctlops 1 2K 4K 78643K 1488 0 iov 0 0K 12K 78643K 2 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1218 77K 77K 78643K 1300 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 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 361 0 sigio 0 0K 0K 78643K 4 0 proc 69 87K 111K 78643K 336 0 subproc 32 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 5 0 in_multi 33 2K 2K 78643K 41 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 404 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 241 45K 45K 78643K 6105 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 4 0 NDP 8 0K 0K 78643K 12 0 temp 85 4198K 4262K 78643K 3104 0 kqueue 10 14K 18K 78643K 15 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 23 0 20 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 unpcb 120 64 0 49 1 0 1 1 0 8 0 syncache 296 6 0 6 2 2 0 1 0 8 0 tcpqe 32 12 0 12 1 1 0 1 0 8 0 tcpcb 736 37 0 32 2 1 1 2 0 8 0 arp 120 6 0 0 1 0 1 1 0 8 0 inpcb 304 115 0 107 2 0 2 2 0 8 1 rttmr 72 1 0 1 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 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 22 0 2 1 0 1 1 0 8 0 pfstkey 112 22 0 2 1 0 1 1 0 8 0 pfstate 320 22 0 2 2 0 2 2 0 8 0 pfrule 1360 26 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 45 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 0 1 1 0 8 1 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 15 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1790 0 379 89 0 89 89 0 8 0 ffsino 272 1790 0 379 95 0 95 95 0 8 0 nchpl 144 2392 0 770 61 0 61 61 0 8 0 uvmvnodes 72 1901 0 0 35 0 35 35 0 8 0 vnodes 224 1901 0 0 112 0 112 112 0 8 0 namei 1024 6292 0 6292 2 1 1 1 0 8 1 percpumem 16 34 0 0 1 0 1 1 0 8 0 vcpupl 2048 1 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 scxspl 216 6933 0 6933 9 1 8 8 0 8 8 plimitpl 152 20 0 11 1 0 1 1 0 8 0 sigapl 424 612 0 577 5 0 5 5 0 8 1 futexpl 56 2689 0 2689 1 0 1 1 0 8 1 knotepl 112 50 0 0 2 0 2 2 0 8 0 kqueuepl 216 320 0 312 1 0 1 1 0 8 0 pipepl 336 91 0 81 2 0 2 2 0 8 1 fdescpl 496 595 0 577 3 0 3 3 0 8 0 filepl 152 2227 0 2111 5 0 5 5 0 8 0 lockfpl 104 17 0 15 1 0 1 1 0 8 0 lockfspl 48 9 0 7 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 117 0 105 1 0 1 1 0 8 0 zombiepl 144 577 0 576 2 1 1 1 0 8 0 processpl 1072 612 0 576 3 0 3 3 0 8 0 procpl 672 1063 0 1019 5 0 5 5 0 8 1 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 480 203 0 177 5 0 5 5 0 8 1 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 324 0 0 40 0 40 40 0 8 0 mtagpl 96 28 0 0 1 0 1 1 0 8 0 mbufpl 256 499 0 0 30 0 30 30 0 8 0 bufpl 280 3769 0 138 260 0 260 260 0 8 0 anonpl 24 141620 0 119639 138 2 136 136 0 186 1 amapchunkpl 152 13867 0 13209 30 2 28 28 0 158 1 amappl16 200 1456 0 617 46 0 46 46 0 8 1 amappl15 192 169 0 168 1 0 1 1 0 8 0 amappl14 184 11 0 8 1 0 1 1 0 8 0 amappl13 176 33 0 31 1 0 1 1 0 8 0 amappl12 168 12 0 10 1 0 1 1 0 8 0 amappl11 160 47 0 33 1 0 1 1 0 8 0 amappl10 152 39 0 30 1 0 1 1 0 8 0 amappl9 144 241 0 238 1 0 1 1 0 8 0 amappl8 136 556 0 514 2 0 2 2 0 8 0 amappl7 128 236 0 221 1 0 1 1 0 8 0 amappl6 120 127 0 115 1 0 1 1 0 8 0 amappl5 112 495 0 477 1 0 1 1 0 8 0 amappl4 104 577 0 550 1 0 1 1 0 8 0 amappl3 96 81 0 75 1 0 1 1 0 8 0 amappl2 88 466 0 415 2 0 2 2 0 8 0 amappl1 80 13390 0 12945 13 3 10 13 0 8 0 amappl 88 5757 0 5584 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 597 0 577 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 597 0 577 1 0 1 1 0 8 0 vmmpekpl 168 7971 0 7942 2 0 2 2 0 8 0 vmmpepl 168 65079 0 62893 126 3 123 126 0 357 23 vmsppl 368 596 0 577 2 0 2 2 0 8 0 rwobjpl 56 14755 0 13132 24 0 24 24 0 8 0 pdppl 4096 1202 0 1155 64 16 48 50 0 8 1 pvpl 32 389653 0 364211 216 1 215 215 0 265 5 pmappl 224 596 0 577 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 350 0 21 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 mtx_enter_try(ffffffff8285f6c0) at mtx_enter_try+0x3d sys/kern/kern_lock.c:287 mtx_enter(ffffffff8285f6c0) at mtx_enter+0x4b sys/kern/kern_lock.c:266 msleep(ffffffff8285f52c,ffffffff8285f6c0,7f,ffffffff824313a7,0) at msleep+0x20d uvm_pagezero_thread(ffff800021192d28) at uvm_pagezero_thread+0xb0 sys/uvm/uvm_pmemrange.c:2171 end trace frame: 0x0, count: 8 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 mtx_enter_try(ffffffff8285f6c0) at mtx_enter_try+0x3d sys/kern/kern_lock.c:287 mtx_enter(ffffffff8285f6c0) at mtx_enter+0x4b sys/kern/kern_lock.c:266 msleep(ffffffff8285f52c,ffffffff8285f6c0,7f,ffffffff824313a7,0) at msleep+0x20d uvm_pagezero_thread(ffff800021192d28) at uvm_pagezero_thread+0xb0 sys/uvm/uvm_pmemrange.c:2171 end trace frame: 0x0, count: -7 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(fffffd80652b4250) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd80737bbe68,0,f000,1000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125ba40,ffff8000212527e0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e800,1,ffff8000212527e0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1ac210,c5005601,ffff800000b5e800,1,fffffd807f7d87e0,ffff8000212527e0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064747020,c5005601,ffff800000b5e800,ffff8000212527e0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212527e0,ffff800022297928,ffff800022297970) at sys_ioctl+0x4a2 syscall(ffff8000222979f0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222979f0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdeb8cf263a0, 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(fffffd80652b4250) at uvn_reference+0x84 sys/uvm/uvm_vnode.c:285 uvm_mapent_clone(fffffd80737bbe68,0,f000,1000,7,7) at uvm_mapent_clone+0x1a2 sys/uvm/uvm_map.c:3810 uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c uvm_mapent_share sys/uvm/uvm_map.c:3840 [inline] uvm_share(fffffd80737bbe68,0,7,fffffd80737bb458,20004000,200000) at uvm_share+0x45c sys/uvm/uvm_map.c:3739 vm_impl_init_vmx(ffff80002125ba40,ffff8000212527e0) at vm_impl_init_vmx+0xb4 sys/arch/amd64/amd64/vmm.c:1591 vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e800,ffff8000212527e0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e800,1,ffff8000212527e0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e1ac210,c5005601,ffff800000b5e800,1,fffffd807f7d87e0,ffff8000212527e0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8064747020,c5005601,ffff800000b5e800,ffff8000212527e0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212527e0,ffff800022297928,ffff800022297970) at sys_ioctl+0x4a2 syscall(ffff8000222979f0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222979f0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdeb8cf263a0, count: -14