panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffffec0,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800021ba0d80) at vm_get_info+0x9d VOP_IOCTL(fffffd806e117c90,c0185603,ffff800021ba0d80,1,fffffd807f7c6840,ffff800020acea08) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8067c79850,c0185603,ffff800021ba0d80,ffff800020acea08) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020acea08,ffff800021ba0e98,ffff800021ba0f00) at sys_ioctl+0x5b8 syscall(ffff800021ba0f70) at syscall+0x552 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021ba0f70) at syscall+0x552 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,554fd8600e0) at Xsyscall+0x128 end of kernel end trace frame: 0x557e10140f0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic malloc: allocation too large, type = 2, size = 18446744073709551296 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffffec0,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800021ba0d80) at vm_get_info+0x9d VOP_IOCTL(fffffd806e117c90,c0185603,ffff800021ba0d80,1,fffffd807f7c6840,ffff800020acea08) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8067c79850,c0185603,ffff800021ba0d80,ffff800020acea08) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020acea08,ffff800021ba0e98,ffff800021ba0f00) at sys_ioctl+0x5b8 syscall(ffff800021ba0f70) at syscall+0x552 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021ba0f70) at syscall+0x552 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,554fd8600e0) at Xsyscall+0x128 end of kernel end trace frame: 0x557e10140f0, count: -9 ddb{0}> show registers rdi 0xffffffff81ae7517 db_enter+0x17 rsi 0x1b6de acpi_pdirpa+0x7546 rbp 0xffff800021ba09c0 rbx 0xffff800021ba0a70 rdx 0x1b6df acpi_pdirpa+0x7547 rcx 0xffff800022f88000 rax 0xffff800022f88000 r8 0xffffffff81048ff3 kprintf+0x173 r9 0x1 r10 0x25 r11 0x4f8c233685530339 r12 0x3000000008 r13 0xffff800021ba09d0 r14 0x100 r15 0x1 rip 0xffffffff81ae7518 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021ba09b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=382587 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf3e8,0xffffffff8262aaa8 process=0xffff800020a8ae10 user=0xffff800021b9c000, vmspace=0xfffffd807f00c730 estcpu=36, cpticks=11, pctcpu=0.0 user=0, sys=11, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37538 266293 71701 0 7 0 syz-executor.1 37538 384922 71701 0 2 0x4000000 syz-executor.1 *37538 382587 71701 0 7 0x4000000 syz-executor.1 18689 320254 6014 0 2 0 syz-executor.0 18689 243534 6014 0 3 0x4000080 fsleep syz-executor.0 10277 100986 1 0 3 0x100083 ttyin getty 6014 353564 26208 0 2 0x482 syz-executor.0 86271 491521 0 0 3 0x14200 acct acct 2433 38037 0 0 3 0x14200 bored sosplice 71701 500935 26208 0 2 0x482 syz-executor.1 26208 88276 87986 0 3 0x82 thrsleep syz-fuzzer 26208 156304 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 335863 87986 0 3 0x4000082 kqread syz-fuzzer 26208 523143 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 479874 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 31612 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 296665 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 382305 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 435140 87986 0 3 0x4000082 thrsleep syz-fuzzer 26208 488932 87986 0 3 0x4000082 thrsleep syz-fuzzer 87986 257753 39243 0 3 0x10008a pause ksh 39243 425736 8161 0 3 0x92 select sshd 8161 496070 1 0 3 0x80 select sshd 90495 224197 57368 74 3 0x100092 bpf pflogd 57368 110118 1 0 3 0x80 netio pflogd 9218 485150 31787 73 3 0x100090 kqread syslogd 31787 182201 1 0 3 0x100082 netio syslogd 20709 245195 1 77 3 0x100090 poll dhclient 9312 310677 1 0 3 0x80 poll dhclient 20074 458384 0 0 2 0x14200 zerothread 76949 363920 0 0 3 0x14200 aiodoned aiodoned 77133 203991 0 0 3 0x14200 syncer update 3733 357789 0 0 3 0x14200 cleaner cleaner 6701 131059 0 0 3 0x14200 reaper reaper 4723 464156 0 0 3 0x14200 pgdaemon pagedaemon 32502 135410 0 0 3 0x14200 bored crynlk 5566 315727 0 0 3 0x14200 bored crypto 22485 445745 0 0 3 0x40014200 acpi0 acpi0 40435 515047 0 0 3 0x40014200 idle1 53850 225018 0 0 3 0x14200 bored softnet 50554 141681 0 0 3 0x14200 bored systqmp 98619 51562 0 0 3 0x14200 bored systq 86181 25283 0 0 3 0x40014200 bored softclock 42412 328618 0 0 3 0x40014200 idle0 49687 462911 0 0 2 0x14200 smr 1 262405 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 37538 (syz-executor.1) thread 0xffff800020acea08 (382587) shared rwlock vmlistlock r = 0 (0xffff80000066e478) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 vm_get_info+0x39 sys/arch/amd64/amd64/vmm.c:3712 #2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 #3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 #4 sys_ioctl+0x5b8 #5 syscall+0x552 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x552 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8262c5a8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x412 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x412 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9537 6534K 7048K 78643K 12437 0 0 pcb 13 8K 8K 78643K 122 0 0 rtable 111 4K 4K 78643K 382 0 0 ifaddr 62 13K 14K 78643K 106 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1501 0 0 iov 0 0K 16K 78643K 60 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1213 76K 77K 78643K 1861 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 11 0 0 VM map 2 1K 1K 78643K 4 0 0 sem 12 0K 0K 78643K 90 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 781 0 0 sigio 0 0K 0K 78643K 3 0 0 proc 54 51K 83K 78643K 561 0 0 subproc 32 2K 2K 78643K 68 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 108 0 0 in_multi 33 2K 2K 78643K 92 0 0 ether_multi 1 0K 0K 78643K 4 0 0 mrt 1 0K 0K 78643K 7 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 293 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 101 21K 30K 78643K 3411 0 0 UVM aobj 30 2K 2K 78643K 34 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 85 0 0 NDP 13 0K 0K 78643K 31 0 0 temp 181 3551K 3623K 78643K 13895 0 0 kqueue 0 0K 0K 78643K 6 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 41 0 39 1 0 1 1 0 8 0 rtentry 112 67 0 23 2 0 2 2 0 8 0 unpcb 120 285 0 275 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 9057 0 9057 2 2 0 2 0 8 0 tcpcb 544 142 0 137 1 0 1 1 0 8 0 inpcb 280 481 0 471 2 0 2 2 0 8 1 nd6 48 12 0 6 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 7 0 7 3 3 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 3 0 3 2 2 0 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 40 0 19 1 0 1 1 0 8 0 pfstkey 112 40 0 19 1 0 1 1 0 8 0 pfstate 328 40 0 19 2 0 2 2 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 278 0 88 12 0 12 12 0 8 0 art_table 32 279 0 88 2 0 2 2 0 8 0 art_node 16 66 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 86 0 76 1 0 1 1 0 8 0 shmpl 112 32 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2565 0 1139 47 0 47 47 0 8 0 ffsino 272 2565 0 1139 96 0 96 96 0 8 0 nchpl 144 3819 0 2186 62 0 62 62 0 8 0 uvmvnodes 72 3070 0 0 56 0 56 56 0 8 0 vnodes 200 3070 0 0 162 0 162 162 0 8 0 namei 1024 11432 0 11432 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 2 1 1 0 1 0 8 0 scxspl 192 10822 0 10822 12 11 1 7 0 8 1 plimitpl 152 78 0 70 1 0 1 1 0 8 0 sigapl 432 976 0 960 3 1 2 3 0 8 0 futexpl 56 9731 0 9730 1 0 1 1 0 8 0 knotepl 112 193 0 174 1 0 1 1 0 8 0 kqueuepl 104 141 0 139 1 0 1 1 0 8 0 pipepl 112 556 0 537 2 1 1 2 0 8 0 fdescpl 488 977 0 960 3 0 3 3 0 8 0 filepl 152 5459 0 5358 7 2 5 6 0 8 0 lockfpl 104 334 0 333 2 1 1 1 0 8 0 lockfspl 48 98 0 97 2 1 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 31 0 20 1 0 1 1 0 8 0 ucredpl 96 913 0 904 1 0 1 1 0 8 0 zombiepl 144 960 0 960 2 1 1 1 0 8 1 processpl 896 994 0 960 4 0 4 4 0 8 0 procpl 632 2551 0 2505 6 1 5 5 0 8 0 srpgc 64 4 0 4 2 2 0 1 0 8 0 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 384 819 0 799 4 1 3 3 0 8 1 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 197 0 0 23 0 23 23 0 8 0 mtagpl 80 23 0 0 1 0 1 1 0 8 0 mbufpl 256 213 0 0 14 1 13 13 0 8 0 bufpl 256 7196 0 1174 377 0 377 377 0 8 0 anonpl 16 106610 0 95022 82 30 52 68 0 124 1 amapchunkpl 152 5520 0 5405 15 7 8 10 0 158 2 amappl16 192 5083 0 4384 62 26 36 48 0 8 1 amappl14 176 73 0 64 1 0 1 1 0 8 0 amappl13 168 234 0 234 2 2 0 1 0 8 0 amappl12 160 9 0 8 2 1 1 1 0 8 0 amappl11 152 151 0 136 1 0 1 1 0 8 0 amappl10 144 82 0 78 1 0 1 1 0 8 0 amappl9 136 636 0 633 1 0 1 1 0 8 0 amappl8 128 173 0 151 1 0 1 1 0 8 0 amappl7 120 46 0 40 1 0 1 1 0 8 0 amappl6 112 160 0 151 1 0 1 1 0 8 0 amappl5 104 151 0 136 1 0 1 1 0 8 0 amappl4 96 1467 0 1435 2 1 1 2 0 8 0 amappl3 88 201 0 191 1 0 1 1 0 8 0 amappl2 80 6775 0 6694 3 1 2 3 0 8 0 amappl1 72 31309 0 30853 26 16 10 20 0 8 0 amappl 80 2838 0 2796 2 1 1 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 33 0 4 1 0 1 1 0 8 0 uaddrrnd 24 979 0 960 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 979 0 960 1 0 1 1 0 8 0 vmmpekpl 168 11474 0 11444 2 0 2 2 0 8 0 vmmpepl 168 125573 0 123644 152 51 101 104 0 357 17 vmsppl 368 976 0 960 2 0 2 2 0 8 0 pdppl 4096 1965 0 1924 7 1 6 6 0 8 0 pvpl 32 308226 0 293383 204 50 154 170 0 265 24 pmappl 232 978 0 962 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 547 0 6 16 0 16 16 0 8 0