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(ffff80001794db60) at vm_get_info+0x9a VOP_IOCTL(fffffd80365580d0,c0185603,ffff80001794db60,1,fffffd803f7c66c0,ffff8000ffff29f8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802edb91f0,c0185603,ffff80001794db60,ffff8000ffff29f8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff29f8,ffff80001794dc78,ffff80001794dcc0) at sys_ioctl+0x5b9 syscall(ffff80001794dd40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,bedfed5b010) at Xsyscall+0x128 end of kernel end trace frame: 0xbf053a717d0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic malloc: allocation too large, type = 2, size = 18446744073709551296 ddb> 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(ffff80001794db60) at vm_get_info+0x9a VOP_IOCTL(fffffd80365580d0,c0185603,ffff80001794db60,1,fffffd803f7c66c0,ffff8000ffff29f8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802edb91f0,c0185603,ffff80001794db60,ffff8000ffff29f8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff29f8,ffff80001794dc78,ffff80001794dcc0) at sys_ioctl+0x5b9 syscall(ffff80001794dd40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,bedfed5b010) at Xsyscall+0x128 end of kernel end trace frame: 0xbf053a717d0, count: -9 ddb> show registers rdi 0xffffffff814eda77 db_enter+0x17 rsi 0x1e6ca acpi_pdirpa+0xa532 rbp 0xffff80001794d7a0 rbx 0xffff80001794d850 rdx 0x1e6cb acpi_pdirpa+0xa533 rcx 0xffff800015966000 rax 0xffff800015966000 r8 0xffff80001794d760 r9 0x1 r10 0xffff800000aa3c80 r11 0x92b9047814fc7147 r12 0x3000000008 r13 0xffff80001794d7b0 r14 0x100 r15 0x1 rip 0xffffffff814eda78 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001794d790 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=15494 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2c70,0xffffffff8256a900 process=0xffff8000ffff6a30 user=0xffff800017948000, vmspace=0xfffffd803f014ee0 estcpu=36, cpticks=13, pctcpu=0.0 user=0, sys=12, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19171 360580 59480 0 2 0 syz-executor.1 *19171 15494 59480 0 7 0x4000000 syz-executor.1 46689 346266 96181 0 2 0x2 syz-executor.0 59480 11156 96181 0 2 0x482 syz-executor.1 66078 415271 0 0 3 0x14200 bored sosplice 96181 836 16673 0 3 0x82 thrsleep syz-fuzzer 96181 390259 16673 0 2 0x4000482 syz-fuzzer 96181 454870 16673 0 3 0x4000082 kqread syz-fuzzer 96181 354038 16673 0 3 0x4000082 thrsleep syz-fuzzer 96181 210337 16673 0 3 0x4000082 thrsleep syz-fuzzer 96181 283818 16673 0 3 0x4000082 thrsleep syz-fuzzer 96181 155643 16673 0 3 0x4000082 thrsleep syz-fuzzer 16673 212693 41214 0 3 0x10008a pause ksh 41214 457050 31129 0 3 0x92 select sshd 73129 458766 1 0 3 0x100083 ttyin getty 31129 299465 1 0 3 0x80 select sshd 95049 107005 48757 73 3 0x100090 kqread syslogd 48757 38332 1 0 3 0x100082 netio syslogd 22001 493769 1 77 3 0x100090 poll dhclient 6317 48238 1 0 3 0x80 poll dhclient 60441 181787 0 0 2 0x14200 zerothread 6930 258130 0 0 3 0x14200 aiodoned aiodoned 14806 221233 0 0 3 0x14200 syncer update 24591 229971 0 0 3 0x14200 cleaner cleaner 81047 431178 0 0 3 0x14200 reaper reaper 89557 204244 0 0 3 0x14200 pgdaemon pagedaemon 89889 51521 0 0 3 0x14200 bored crynlk 94953 155597 0 0 3 0x14200 bored crypto 37484 255227 0 0 3 0x40014200 acpi0 acpi0 52195 346749 0 0 3 0x14200 bored softnet 74637 240522 0 0 3 0x14200 bored systqmp 73393 403697 0 0 3 0x14200 bored systq 92182 388090 0 0 3 0x40014200 bored softclock 4044 65505 0 0 3 0x40014200 idle0 21550 209867 0 0 3 0x14200 bored smr 1 7256 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9529 6364K 6878K 78643K 14995 0 0 pcb 13 8K 8K 78643K 275 0 0 rtable 113 4K 4K 78643K 624 0 0 ifaddr 64 14K 15K 78643K 228 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 112 0 0 iov 0 0K 24K 78643K 211 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 2802 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 23 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 0K 78643K 172 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 1800 0 0 sigio 0 0K 0K 78643K 27 0 0 proc 49 38K 63K 78643K 616 0 0 subproc 32 2K 2K 78643K 85 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 138 0 0 in_multi 33 2K 2K 78643K 110 0 0 ether_multi 1 0K 0K 78643K 2 0 0 mrt 0 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 421 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 92 21K 30K 78643K 5101 0 0 UVM aobj 70 3K 3K 78643K 80 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 247 0 0 NDP 14 0K 0K 78643K 66 0 0 temp 183 3531K 3603K 78643K 29781 0 0 kqueue 0 0K 0K 78643K 8 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 12 0 6 1 0 1 1 0 8 0 rtpcb 80 89 0 87 1 0 1 1 0 8 0 rtentry 112 79 0 35 2 0 2 2 0 8 0 unpcb 120 603 0 595 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 4008 0 4008 1 1 0 1 0 8 0 tcpcb 544 355 0 351 1 0 1 1 0 8 0 inpcb 280 1069 0 1062 3 2 1 2 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 ppxss 1128 30 0 30 7 6 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 350 0 132 15 1 14 14 0 8 0 art_table 32 351 0 132 2 0 2 2 0 8 0 art_node 16 74 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 16 2 1 1 1 0 8 0 semapl 112 168 0 158 1 0 1 1 0 8 0 shmpl 112 78 0 10 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4253 0 2862 46 0 46 46 0 8 0 ffsino 240 4253 0 2862 83 0 83 83 0 8 0 nchpl 144 6992 0 5399 60 0 60 60 0 8 0 uvmvnodes 72 5346 0 0 98 0 98 98 0 8 0 vnodes 208 5346 0 0 282 0 282 282 0 8 0 namei 1024 22128 0 22127 3 2 1 1 0 8 0 vmpool 520 2 0 2 1 1 0 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 21917 0 21917 13 12 1 7 0 8 1 plimitpl 152 159 0 152 1 0 1 1 0 8 0 sigapl 432 1962 0 1949 2 0 2 2 0 8 0 futexpl 56 30207 0 30207 1 0 1 1 0 8 1 knotepl 112 450 0 431 1 0 1 1 0 8 0 kqueuepl 104 431 0 429 1 0 1 1 0 8 0 pipepl 112 978 0 959 2 1 1 1 0 8 0 fdescpl 424 1963 0 1949 2 0 2 2 0 8 0 filepl 120 11944 0 11847 4 0 4 4 0 8 1 lockfpl 104 696 0 695 1 0 1 1 0 8 0 lockfspl 48 227 0 226 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 38 0 28 1 0 1 1 0 8 0 ucredpl 96 2430 0 2422 1 0 1 1 0 8 0 zombiepl 144 1949 0 1949 3 2 1 1 0 8 1 processpl 864 1978 0 1949 4 0 4 4 0 8 0 procpl 632 4240 0 4204 4 0 4 4 0 8 0 sosppl 128 22 0 22 6 5 1 1 0 8 1 sockpl 384 1784 0 1767 3 0 3 3 0 8 1 mcl64k 65536 556 0 556 71 6 65 65 0 8 65 mcl16k 16384 8 0 8 5 4 1 1 0 8 1 mcl12k 12288 30 0 30 6 5 1 1 0 8 1 mcl9k 9216 21 0 21 8 7 1 1 0 8 1 mcl8k 8192 25 0 25 7 6 1 1 0 8 1 mcl4k 4096 106 0 106 2 2 0 1 0 8 0 mcl2k2 2112 13 0 13 8 7 1 1 0 8 1 mcl2k 2048 56083 0 56038 20 13 7 14 0 8 0 mtagpl 80 40 0 36 4 3 1 1 0 8 0 mbufpl 256 99914 0 99821 48 31 17 38 0 8 8 bufpl 256 10872 0 5841 315 0 315 315 0 8 0 anonpl 16 183215 0 170720 112 45 67 68 0 62 13 amapchunkpl 152 8525 0 8425 26 21 5 18 0 158 0 amappl16 192 10143 0 9436 89 45 44 48 0 8 8 amappl15 184 121 0 120 3 2 1 1 0 8 0 amappl14 176 660 0 654 2 1 1 1 0 8 0 amappl12 160 249 0 245 1 0 1 1 0 8 0 amappl11 152 52 0 41 1 0 1 1 0 8 0 amappl10 144 313 0 313 3 3 0 1 0 8 0 amappl9 136 1047 0 1041 1 0 1 1 0 8 0 amappl8 128 643 0 618 1 0 1 1 0 8 0 amappl7 120 359 0 354 1 0 1 1 0 8 0 amappl6 112 71 0 61 1 0 1 1 0 8 0 amappl5 104 467 0 455 1 0 1 1 0 8 0 amappl4 96 1941 0 1917 1 0 1 1 0 8 0 amappl3 88 1006 0 997 1 0 1 1 0 8 0 amappl2 80 14822 0 14755 4 2 2 3 0 8 0 amappl1 72 43770 0 43367 28 19 9 20 0 8 0 amappl 80 4517 0 4483 1 0 1 1 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 79 0 10 2 0 2 2 0 8 0 uaddrrnd 24 1965 0 1949 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1965 0 1949 1 0 1 1 0 8 0 vmmpekpl 168 14687 0 14661 2 0 2 2 0 8 0 vmmpepl 168 234036 0 232291 175 84 91 101 0 357 12 vmsppl 272 1962 0 1949 2 1 1 2 0 8 0 pdppl 4096 3936 0 3902 6 1 5 6 0 8 0 pvpl 32 513398 0 497934 259 97 162 166 0 265 34 pmappl 200 1964 0 1951 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 584 0 69 16 0 16 16 0 8 0