panic: kernel diagnostic assertion "uvn->u_obj.uo_refs == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 234 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *147788 81584 32767 0x10 0x4000000 1 syz-executor.4 294922 93852 0 0x2 0x4000000 0K syz-fuzzer db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a14e6) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82617e14,ffffffff82639607,ea,ffffffff826320a6) at __assert+0x25 sys/kern/subr_prf.c:157 uvn_attach(fffffd8061a1bd80,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd806665f468,ffff800029632018,10000,2,6,11,b0d5eb0655e58c0,fffffd806665f468,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff800021282a88,ffff8000296320c0,ffff800029632190) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff800021282a88,ffff800029632148,ffff800029632190) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff800029632210) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029632210) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x926a1c94b30, count: 6 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 "uvn->u_obj.uo_refs == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 234 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a14e6) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82617e14,ffffffff82639607,ea,ffffffff826320a6) at __assert+0x25 sys/kern/subr_prf.c:157 uvn_attach(fffffd8061a1bd80,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd806665f468,ffff800029632018,10000,2,6,11,b0d5eb0655e58c0,fffffd806665f468,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff800021282a88,ffff8000296320c0,ffff800029632190) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff800021282a88,ffff800029632148,ffff800029632190) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff800029632210) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029632210) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x926a1c94b30, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800029631cb0 rbx 0xffff800020dd9b8f rdx 0 rcx 0 rax 0xffff800021282a88 r8 0x101010101010101 r9 0x8080808080808080 r10 0x39c8763ff2ac796e r11 0x79d433a10254d2c8 r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff81a81af8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800029631ca0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.4) pid=147788 stat=onproc flags process=10 proc=4000000 pri=4, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffef7b0,0xffff8000212837b8 process=0xffff8000ffff8858 user=0xffff80002962d000, vmspace=0xfffffd806665f468 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58190 63750 26693 32767 2 0x10 syz-executor.0 81584 56535 65066 32767 2 0x10 syz-executor.4 *81584 147788 65066 32767 7 0x4000010 syz-executor.4 81584 32622 65066 32767 2 0x4000010 syz-executor.4 71860 213510 72261 32767 2 0x10 syz-executor.3 71860 3674 72261 32767 3 0x4000090 fsleep syz-executor.3 71860 271533 72261 32767 2 0x4000010 syz-executor.3 73152 263512 11253 32767 2 0x10 syz-executor.6 73152 112884 11253 32767 3 0x4000090 ttyin syz-executor.6 73152 214017 11253 32767 2 0x4000010 syz-executor.6 73152 498347 11253 32767 2 0x4000010 syz-executor.6 73152 460802 11253 32767 3 0x4000090 fsleep syz-executor.6 51611 320247 62415 32767 2 0x10 syz-executor.7 51611 254326 62415 32767 3 0x4000090 fsleep syz-executor.7 65066 156082 45627 32767 3 0x90 nanoslp syz-executor.4 45627 421481 93852 0 3 0x82 wait syz-executor.4 8776 135611 17165 32767 2 0x490 syz-executor.2 17165 162340 93852 0 3 0x82 wait syz-executor.2 26693 502059 26346 32767 2 0x490 syz-executor.0 26346 327024 93852 0 3 0x82 wait syz-executor.0 11253 482430 15639 32767 2 0x490 syz-executor.6 15639 456165 93852 0 3 0x82 wait syz-executor.6 88871 274875 17055 32767 3 0x90 piperd syz-executor.5 17055 263340 93852 0 3 0x82 wait syz-executor.5 72261 378701 75195 32767 2 0x10 syz-executor.3 75195 154053 93852 0 3 0x82 wait syz-executor.3 69014 207864 0 0 3 0x14200 bored sosplice 62415 236264 64250 32767 2 0x490 syz-executor.7 64250 127783 93852 0 3 0x82 wait syz-executor.7 814 373820 58658 32767 2 0x10 syz-executor.1 58658 254359 93852 0 3 0x82 wait syz-executor.1 93852 457106 14796 0 3 0x82 wait syz-fuzzer 93852 260765 14796 0 2 0x4000002 syz-fuzzer 93852 309154 14796 0 3 0x4000082 wait syz-fuzzer 93852 146301 14796 0 3 0x4000082 thrsleep syz-fuzzer 93852 424014 14796 0 3 0x4000082 wait syz-fuzzer 93852 238780 14796 0 3 0x4000082 thrsleep syz-fuzzer 93852 246192 14796 0 3 0x4000082 thrsleep syz-fuzzer 93852 246058 14796 0 3 0x4000082 wait syz-fuzzer 93852 254718 14796 0 3 0x4000082 thrsleep syz-fuzzer 93852 305891 14796 0 3 0x4000082 wait syz-fuzzer 93852 123914 14796 0 3 0x4000082 wait syz-fuzzer 93852 245566 14796 0 2 0x4000482 syz-fuzzer 93852 260256 14796 0 3 0x4000082 wait syz-fuzzer 93852 57737 14796 0 3 0x4000082 wait syz-fuzzer 93852 294922 14796 0 7 0x4000002 syz-fuzzer 93852 335531 14796 0 3 0x4000082 thrsleep syz-fuzzer 14796 367763 12618 0 3 0x10008a sigsusp ksh 12618 388012 89549 0 3 0x9a kqread sshd 68938 158389 1 0 3 0x100083 ttyin getty 89549 45334 1 0 3 0x88 kqread sshd 36140 36825 20596 73 3 0x1100090 kqread syslogd 20596 344135 1 0 3 0x100082 netio syslogd 84747 239035 1 0 3 0x100080 kqread resolvd 6714 439539 78463 77 3 0x100092 kqread dhcpleased 54494 253536 78463 77 3 0x100092 kqread dhcpleased 78463 397794 1 0 3 0x80 kqread dhcpleased 14484 247307 0 0 3 0x14200 bored smr 2256 491719 0 0 2 0x14200 zerothread 16451 491420 0 0 3 0x14200 aiodoned aiodoned 50359 35341 0 0 3 0x14200 syncer update 66925 104199 0 0 3 0x14200 cleaner cleaner 32642 265033 0 0 3 0x14200 reaper reaper 39889 413229 0 0 3 0x14200 pgdaemon pagedaemon 70356 76410 0 0 3 0x14200 bored viomb 61389 307682 0 0 3 0x40014200 acpi0 acpi0 7496 106536 0 0 3 0x40014200 idle1 39437 110402 0 0 3 0x14200 bored softnet 99836 230300 0 0 3 0x14200 bored softnet 7446 459341 0 0 3 0x14200 bored softnet 15174 306176 0 0 3 0x14200 bored softnet 39969 347251 0 0 3 0x14200 bored systqmp 53771 158553 0 0 3 0x14200 bored systq 19400 105111 0 0 2 0x40014200 softclock 11614 412754 0 0 3 0x40014200 idle0 1 95147 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &newfdp->fd_fd.fd_fplock r = 0 (0xfffffd806cd97088) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 fd_getfile_mode+0x66 fd_getfile sys/kern/kern_descrip.c:236 [inline] #3 fd_getfile_mode+0x66 sys/kern/kern_descrip.c:251 #4 dofilewritev+0x78 sys/kern/sys_generic.c:343 #5 sys_write+0x83 sys/kern/sys_generic.c:295 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 Process 81584 (syz-executor.4) thread 0xffff800021282a88 (147788) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82a00740) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3bb sys/kern/sched_bsd.c:415 #3 sleep_finish+0x180 sys/kern/kern_synch.c:417 #4 tsleep+0x12c sys/kern/kern_synch.c:155 #5 uvn_attach+0x83 sys/uvm/uvm_vnode.c:148 #6 uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 #7 sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 #8 sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 #9 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #9 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 6412K 6419K 78643K 11347 0 pcb 13 12K 14K 78643K 17 0 rtable 246 7K 7K 78643K 1479 0 ifaddr 82 17K 17K 78643K 184 0 sysctl 3 1K 5K 78643K 79 0 counters 56 35K 35K 78643K 84 0 ioctlops 0 0K 2K 78643K 170 0 iov 0 0K 24K 78643K 2221 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1271 79K 79K 78643K 4876 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 175 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 3531 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 13758 0 sigio 0 0K 0K 78643K 239 0 proc 56 78K 115K 78643K 1731 0 subproc 104 6K 6K 78643K 286 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1148 0 in_multi 99 6K 7K 78643K 446 0 ether_multi 1 0K 0K 78643K 54 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 3472 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 62K 78643K 8 0 UVM amap 348 105K 105K 78643K 86483 0 UVM aobj 131 6K 6K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 341 0 NDP 11 0K 2K 78643K 69 0 temp 124 4726K 4806K 78643K 36241 0 kqueue 13 20K 40K 78643K 3658 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 1113 0 1110 14 13 1 3 0 8 0 rtentry 112 274 0 158 4 0 4 4 0 8 0 unpcb 144 10349 0 10335 103 94 9 10 0 8 8 syncache 296 165 0 165 34 33 1 1 0 8 1 tcpqe 32 239 0 239 22 22 0 1 0 8 0 tcpcb 768 7128 0 7055 196 188 8 23 0 8 0 arp 120 48 0 28 1 0 1 1 0 8 0 ipq 40 94 0 94 8 8 0 1 0 8 0 ipqe 40 250 0 250 8 8 0 1 0 8 0 inpcb 320 27296 0 27218 274 264 10 24 0 8 3 nd6 48 73 0 45 1 0 1 1 0 8 0 kcovpl 48 22 0 14 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1104 0 629 31 1 30 31 0 8 0 art_table 32 1105 0 629 4 0 4 4 0 8 0 art_node 16 273 0 167 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 3529 0 3519 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 20841 0 19381 92 0 92 92 0 8 0 ffsino 272 20841 0 19381 98 0 98 98 0 8 0 nchpl 144 38823 0 37183 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 138195 0 138195 10 9 1 2 0 8 1 percpumem 16 54 0 14 1 0 1 1 0 8 0 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scxspl 216 120294 0 120294 53 51 2 8 0 8 2 plimitpl 152 3068 0 3045 9 7 2 2 0 8 1 sigapl 424 14017 0 13964 7 0 7 7 0 8 0 futexpl 64 132389 0 132386 13 12 1 1 0 8 0 knotepl 120 1299 0 0 18 1 17 17 0 8 0 kqueuepl 216 7122 0 7113 96 93 3 9 0 8 2 pipepl 320 3279 0 3251 113 109 4 13 0 8 1 fdescpl 496 13999 0 13965 7 2 5 6 0 8 0 filepl 152 112316 0 112009 217 199 18 21 0 8 6 lockfpl 104 2133 0 2129 3 2 1 2 0 8 0 lockfspl 48 450 0 446 1 0 1 1 0 8 0 sessionpl 144 37 0 21 1 0 1 1 0 8 0 pgrppl 48 659 0 643 1 0 1 1 0 8 0 ucredpl 104 22510 0 22492 1 0 1 1 0 8 0 zombiepl 144 13965 0 13964 4 3 1 1 0 8 0 processpl 1064 14017 0 13964 4 0 4 4 0 8 0 procpl 672 42674 0 42597 43 35 8 9 0 8 1 sosppl 168 2835 0 2834 11 10 1 1 0 8 0 sockpl 488 39294 0 39202 696 683 13 39 0 8 1 mcl64k 65536 36 0 0 5 2 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 20 0 0 3 0 3 3 0 8 0 mcl4k 4096 45 0 0 4 2 2 3 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 461 0 0 35 9 26 35 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 4977 0 0 283 1 282 282 0 8 0 bufpl 288 26841 0 20513 453 0 453 453 0 8 0 anonpl 24 3005553 0 2992754 418 311 107 134 0 186 3 amapchunkpl 152 266219 0 265397 138 103 35 44 0 158 3 amappl16 200 48325 0 47950 322 289 33 47 0 8 11 amappl15 192 1540 0 1532 1 0 1 1 0 8 0 amappl14 184 1307 0 1299 1 0 1 1 0 8 0 amappl13 176 627 0 624 1 0 1 1 0 8 0 amappl12 168 20 0 11 1 0 1 1 0 8 0 amappl11 160 1324 0 1306 1 0 1 1 0 8 0 amappl10 152 2782 0 2774 1 0 1 1 0 8 0 amappl9 144 4037 0 4029 1 0 1 1 0 8 0 amappl8 136 5499 0 5341 6 0 6 6 0 8 0 amappl7 128 4459 0 4435 1 0 1 1 0 8 0 amappl6 120 3876 0 3853 2 1 1 2 0 8 0 amappl5 112 14959 0 14936 1 0 1 1 0 8 0 amappl4 104 4099 0 4065 2 0 2 2 0 8 0 amappl3 96 43559 0 43503 2 0 2 2 0 8 0 amappl2 88 1724 0 1682 10 9 1 2 0 8 0 amappl1 80 354018 0 353325 19 2 17 19 0 8 0 amappl 88 85142 0 84954 6 1 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 14000 0 13966 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 14000 0 13966 1 0 1 1 0 8 0 vmmpekpl 168 122927 0 122867 4 0 4 4 0 8 0 vmmpepl 168 1399103 0 1396350 375 231 144 152 0 357 11 vmsppl 368 13999 0 13966 4 0 4 4 0 8 0 rwobjpl 56 362155 0 354639 149 38 111 114 0 8 1 pdppl 4096 28007 0 27932 531 450 81 91 0 8 6 pvpl 32 5690579 0 5672466 735 533 202 246 0 265 19 pmappl 248 13999 0 13966 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1559 0 476 32 0 32 32 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8294aff0) 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 msleep(fffffd806f69d0d8,fffffd806f69d0d8,318,ffffffff826104e2,29) at msleep+0x1c sys/kern/kern_synch.c:208 kqueue_sleep(fffffd806f69d0d8,ffff8000295ffe70) at kqueue_sleep+0x107 sys/kern/kern_event.c:1255 kqueue_scan(ffff8000295ffc70,8,ffff8000295ffd70,ffff8000295ffe70,ffff80002986da40,ffff8000295ffecc) at kqueue_scan+0x1bb sys/kern/kern_event.c:1315 sys_kevent(ffff80002986da40,ffff8000295fff30,ffff8000295fff80) at sys_kevent+0x4a4 sys/kern/kern_event.c:978 syscall(ffff800029600000) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029600000) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x274fbd150, count: 6 ddb{0}> trace x86_ipi_db(ffffffff8294aff0) 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 msleep(fffffd806f69d0d8,fffffd806f69d0d8,318,ffffffff826104e2,29) at msleep+0x1c sys/kern/kern_synch.c:208 kqueue_sleep(fffffd806f69d0d8,ffff8000295ffe70) at kqueue_sleep+0x107 sys/kern/kern_event.c:1255 kqueue_scan(ffff8000295ffc70,8,ffff8000295ffd70,ffff8000295ffe70,ffff80002986da40,ffff8000295ffecc) at kqueue_scan+0x1bb sys/kern/kern_event.c:1315 sys_kevent(ffff80002986da40,ffff8000295fff30,ffff8000295fff80) at sys_kevent+0x4a4 sys/kern/kern_event.c:978 syscall(ffff800029600000) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029600000) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x274fbd150, count: -9 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:437 panic(ffffffff825a14e6) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82617e14,ffffffff82639607,ea,ffffffff826320a6) at __assert+0x25 sys/kern/subr_prf.c:157 uvn_attach(fffffd8061a1bd80,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd806665f468,ffff800029632018,10000,2,6,11,b0d5eb0655e58c0,fffffd806665f468,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff800021282a88,ffff8000296320c0,ffff800029632190) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff800021282a88,ffff800029632148,ffff800029632190) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff800029632210) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029632210) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x926a1c94b30, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a14e6) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82617e14,ffffffff82639607,ea,ffffffff826320a6) at __assert+0x25 sys/kern/subr_prf.c:157 uvn_attach(fffffd8061a1bd80,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd806665f468,ffff800029632018,10000,2,6,11,b0d5eb0655e58c0,fffffd806665f468,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff800021282a88,ffff8000296320c0,ffff800029632190) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff800021282a88,ffff800029632148,ffff800029632190) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff800029632210) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029632210) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x926a1c94b30, count: -9