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(ffff800017366f30) at vm_get_info+0x9a VOP_IOCTL(fffffd80365b79c0,c0185603,ffff800017366f30,81,fffffd803f7c69c0,ffff8000ffff3b40) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef895b0,c0185603,ffff800017366f30,ffff8000ffff3b40) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff3b40,ffff800017367048,ffff800017367090) at sys_ioctl+0x5b9 syscall(ffff800017367110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,bcbc2484010) at Xsyscall+0x128 end of kernel end trace frame: 0xbce013770b0, 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(ffff800017366f30) at vm_get_info+0x9a VOP_IOCTL(fffffd80365b79c0,c0185603,ffff800017366f30,81,fffffd803f7c69c0,ffff8000ffff3b40) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef895b0,c0185603,ffff800017366f30,ffff8000ffff3b40) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff3b40,ffff800017367048,ffff800017367090) at sys_ioctl+0x5b9 syscall(ffff800017367110) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,bcbc2484010) at Xsyscall+0x128 end of kernel end trace frame: 0xbce013770b0, count: -9 ddb> show registers rdi 0xffffffff81b02f57 db_enter+0x17 rsi 0x22914 acpi_pdirpa+0xe77c rbp 0xffff800017366b70 rbx 0xffff800017366c20 rdx 0x22915 acpi_pdirpa+0xe77d rcx 0xffff800017562000 rax 0xffff800017562000 r8 0xffff800017366b30 r9 0x1 r10 0xffff800000a6c940 r11 0xfacab1027096b8ba r12 0x3000000008 r13 0xffff800017366b80 r14 0x100 r15 0x1 rip 0xffffffff81b02f58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800017366b60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=346690 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2018,0xffff8000ffff38d8 process=0xffff8000148a2a38 user=0xffff800017362000, vmspace=0xfffffd803f014990 estcpu=36, cpticks=11, pctcpu=0.0 user=0, sys=10, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78519 49552 81972 0 2 0 syz-executor.1 *78519 346690 81972 0 7 0x4000000 syz-executor.1 98426 135942 5451 0 2 0 syz-executor.0 98426 487926 5451 0 3 0x4000080 fifor syz-executor.0 98426 298222 5451 0 3 0x4000080 fsleep syz-executor.0 70799 132360 1 0 3 0x100083 ttyin getty 5451 375272 29763 0 2 0x482 syz-executor.0 81972 288962 29763 0 2 0x482 syz-executor.1 5372 391739 0 0 3 0x14200 bored sosplice 29763 244 64930 0 3 0x82 thrsleep syz-fuzzer 29763 118610 64930 0 3 0x4000082 thrsleep syz-fuzzer 29763 229947 64930 0 3 0x4000082 thrsleep syz-fuzzer 29763 428283 64930 0 3 0x4000082 thrsleep syz-fuzzer 29763 343460 64930 0 3 0x4000082 thrsleep syz-fuzzer 29763 477568 64930 0 3 0x4000082 kqread syz-fuzzer 29763 99339 64930 0 3 0x4000082 thrsleep syz-fuzzer 29763 137664 64930 0 3 0x4000082 thrsleep syz-fuzzer 64930 286539 33519 0 3 0x10008a pause ksh 33519 2182 5999 0 3 0x92 select sshd 5999 348724 1 0 3 0x80 select sshd 68641 189413 943 73 3 0x100090 kqread syslogd 943 89816 1 0 3 0x100082 netio syslogd 84983 89945 1 77 3 0x100090 poll dhclient 75625 264953 1 0 3 0x80 poll dhclient 96482 70919 0 0 2 0x14200 zerothread 10257 49500 0 0 3 0x14200 aiodoned aiodoned 67288 43437 0 0 3 0x14200 syncer update 46690 273313 0 0 3 0x14200 cleaner cleaner 70125 331001 0 0 3 0x14200 reaper reaper 30055 481054 0 0 3 0x14200 pgdaemon pagedaemon 65715 258918 0 0 3 0x14200 bored crynlk 2447 511530 0 0 3 0x14200 bored crypto 52183 500655 0 0 3 0x40014200 acpi0 acpi0 8401 239884 0 0 2 0x14200 softnet 30658 287608 0 0 3 0x14200 bored systqmp 78973 344409 0 0 3 0x14200 bored systq 35305 41953 0 0 2 0x40014200 softclock 77317 504680 0 0 3 0x40014200 idle0 68205 408786 0 0 3 0x14200 bored smr 1 200084 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 9537 6481K 6996K 78643K 14917 0 0 pcb 13 8K 8K 78643K 261 0 0 rtable 108 3K 4K 78643K 677 0 0 ifaddr 65 14K 15K 78643K 222 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 103 0 0 iov 0 0K 24K 78643K 220 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1212 76K 77K 78643K 2989 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 26 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 0K 78643K 240 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 6 17K 25K 78643K 1912 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 49 38K 63K 78643K 830 0 0 subproc 32 2K 2K 78643K 138 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 174 0 0 in_multi 33 2K 2K 78643K 162 0 0 ether_multi 1 0K 0K 78643K 12 0 0 mrt 0 0K 0K 78643K 5 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 460 0 0 pfkey data 0 0K 0K 78643K 2 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 98 21K 30K 78643K 5345 0 0 UVM aobj 101 3K 3K 78643K 119 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 248 0 0 NDP 14 0K 0K 78643K 67 0 0 temp 184 3539K 3606K 78643K 36423 0 0 kqueue 0 0K 0K 78643K 5 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 19 0 13 1 0 1 1 0 8 0 rtpcb 80 99 0 97 1 0 1 1 0 8 0 rtentry 112 108 0 64 2 0 2 2 0 8 0 unpcb 120 699 0 689 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 7020 0 7020 1 1 0 1 0 8 0 tcpcb 544 382 0 378 1 0 1 1 0 8 0 ipq 40 4 0 4 2 2 0 1 0 8 0 ipqe 40 12 0 12 2 2 0 1 0 8 0 inpcb 280 1119 0 1112 3 2 1 2 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 16 0 12 2 1 1 1 0 8 0 pkpcb 40 18 0 18 4 4 0 1 0 8 0 ppxss 1128 25 0 25 5 5 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 482 0 266 18 4 14 14 0 8 0 art_table 32 483 0 266 2 0 2 2 0 8 0 art_node 16 105 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 15 1 0 1 1 0 8 0 semapl 112 238 0 228 1 0 1 1 0 8 0 shmpl 112 117 0 18 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4365 0 2974 46 0 46 46 0 8 0 ffsino 240 4365 0 2974 83 0 83 83 0 8 0 nchpl 144 7197 0 5595 60 0 60 60 0 8 0 uvmvnodes 72 5611 0 0 103 0 103 103 0 8 0 vnodes 208 5611 0 0 296 0 296 296 0 8 0 namei 1024 22531 0 22531 3 2 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scsiplug 64 3 0 3 1 1 0 1 0 8 0 scxspl 192 21406 0 21406 18 17 1 7 0 8 1 plimitpl 152 173 0 166 1 0 1 1 0 8 0 sigapl 432 2067 0 2053 2 0 2 2 0 8 0 futexpl 56 32369 0 32368 1 0 1 1 0 8 0 knotepl 112 439 0 420 1 0 1 1 0 8 0 kqueuepl 104 436 0 434 1 0 1 1 0 8 0 pipepl 112 1094 0 1075 4 3 1 2 0 8 0 fdescpl 424 2068 0 2053 2 0 2 2 0 8 0 filepl 120 12480 0 12379 6 2 4 5 0 8 0 lockfpl 104 638 0 637 1 0 1 1 0 8 0 lockfspl 48 208 0 207 1 0 1 1 0 8 0 sessionpl 112 25 0 15 1 0 1 1 0 8 0 pgrppl 48 45 0 35 1 0 1 1 0 8 0 ucredpl 96 2311 0 2304 1 0 1 1 0 8 0 zombiepl 144 2055 0 2055 3 2 1 1 0 8 1 processpl 864 2085 0 2055 4 0 4 4 0 8 0 procpl 632 4362 0 4322 4 0 4 4 0 8 0 sosppl 128 33 0 33 6 6 0 1 0 8 0 sockpl 384 1969 0 1950 4 1 3 3 0 8 1 mcl64k 65536 563 0 563 62 30 32 32 0 8 32 mcl16k 16384 6 0 6 5 5 0 1 0 8 0 mcl12k 12288 41 0 41 7 6 1 1 0 8 1 mcl9k 9216 19 0 19 9 8 1 1 0 8 1 mcl8k 8192 27 0 27 7 6 1 1 0 8 1 mcl4k 4096 115 0 115 3 2 1 1 0 8 1 mcl2k2 2112 10 0 10 5 5 0 1 0 8 0 mcl2k 2048 50365 0 50320 19 13 6 13 0 8 0 mtagpl 80 51 0 32 3 2 1 1 0 8 0 mbufpl 256 92688 0 92575 42 24 18 24 0 8 8 bufpl 256 10402 0 5422 312 0 312 312 0 8 0 anonpl 16 215479 0 202787 128 60 68 84 0 62 12 amapchunkpl 152 8914 0 8809 17 12 5 9 0 158 0 amappl16 192 11498 0 10776 111 66 45 55 0 8 8 amappl15 184 190 0 190 1 1 0 1 0 8 0 amappl14 176 711 0 708 2 1 1 1 0 8 0 amappl13 168 141 0 141 1 1 0 1 0 8 0 amappl12 160 383 0 380 2 1 1 1 0 8 0 amappl11 152 63 0 52 1 0 1 1 0 8 0 amappl10 144 310 0 307 1 0 1 1 0 8 0 amappl9 136 815 0 806 1 0 1 1 0 8 0 amappl8 128 364 0 339 1 0 1 1 0 8 0 amappl7 120 356 0 349 1 0 1 1 0 8 0 amappl6 112 73 0 63 1 0 1 1 0 8 0 amappl5 104 565 0 554 1 0 1 1 0 8 0 amappl4 96 1959 0 1932 1 0 1 1 0 8 0 amappl3 88 1206 0 1200 1 0 1 1 0 8 0 amappl2 80 15668 0 15593 4 2 2 3 0 8 0 amappl1 72 45696 0 45276 28 19 9 20 0 8 0 amappl 80 4676 0 4639 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 118 0 18 2 0 2 2 0 8 0 uaddrrnd 24 2070 0 2053 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2070 0 2053 1 0 1 1 0 8 0 vmmpekpl 168 14566 0 14539 2 0 2 2 0 8 0 vmmpepl 168 249167 0 247297 210 117 93 103 0 357 9 vmsppl 272 2067 0 2053 2 1 1 2 0 8 0 pdppl 4096 4146 0 4110 6 1 5 6 0 8 0 pvpl 32 566501 0 550734 279 115 164 197 0 265 31 pmappl 200 2069 0 2055 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 569 0 90 14 0 14 14 0 8 0