panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffffb00,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800016b2fc30) at vm_get_info+0x9a VOP_IOCTL(fffffd803be80718,c0185603,ffff800016b2fc30,81,fffffd803f7c6a80,ffff8000ffff2508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd803eadcb40,c0185603,ffff800016b2fc30,ffff8000ffff2508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2508,ffff800016b2fd48,ffff800016b2fdb0) at sys_ioctl+0x5b8 syscall(ffff800016b2fe10) at syscall+0x508 Xsyscall(6,0,ffffffffffffff53,0,3,d1674cda010) at Xsyscall+0x128 end of kernel end trace frame: 0xd1956ff5730, 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 = 18446744073709550336 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(fffffffffffffb00,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800016b2fc30) at vm_get_info+0x9a VOP_IOCTL(fffffd803be80718,c0185603,ffff800016b2fc30,81,fffffd803f7c6a80,ffff8000ffff2508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd803eadcb40,c0185603,ffff800016b2fc30,ffff8000ffff2508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2508,ffff800016b2fd48,ffff800016b2fdb0) at sys_ioctl+0x5b8 syscall(ffff800016b2fe10) at syscall+0x508 Xsyscall(6,0,ffffffffffffff53,0,3,d1674cda010) at Xsyscall+0x128 end of kernel end trace frame: 0xd1956ff5730, count: -9 ddb> show registers rdi 0xffffffff81638567 db_enter+0x17 rsi 0x1d0e3 acpi_pdirpa+0x8f4b rbp 0xffff800016b2f870 rbx 0xffff800016b2f920 rdx 0x1d0e4 acpi_pdirpa+0x8f4c rcx 0xffff800016920000 rax 0xffff800016920000 r8 0xffff800016b2f830 r9 0x1 r10 0xffff800000a69e00 r11 0xedbf9a2a32fc3250 r12 0x3000000008 r13 0xffff800016b2f880 r14 0x100 r15 0x1 rip 0xffffffff81638568 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016b2f860 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=436877 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2018,0xffffffff825604b0 process=0xffff8000148a30f8 user=0xffff800016b2a000, vmspace=0xfffffd803f013bb0 estcpu=36, cpticks=12, pctcpu=0.0 user=0, sys=12, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12065 7441 26349 0 2 0 syz-executor.0 *12065 436877 26349 0 7 0x4000000 syz-executor.0 56278 317678 8838 0 2 0 syz-executor.1 56278 44692 8838 0 3 0x4000080 fsleep syz-executor.1 26349 183092 43057 0 2 0x482 syz-executor.0 81936 51374 1 0 3 0x100083 ttyin getty 8838 8244 43057 0 2 0x482 syz-executor.1 57968 82764 0 0 3 0x14200 bored sosplice 43057 274345 16029 0 3 0x82 thrsleep syz-fuzzer 43057 15611 16029 0 3 0x4000082 thrsleep syz-fuzzer 43057 41473 16029 0 3 0x4000082 thrsleep syz-fuzzer 43057 108005 16029 0 3 0x4000082 thrsleep syz-fuzzer 43057 415501 16029 0 3 0x4000082 thrsleep syz-fuzzer 43057 298851 16029 0 3 0x4000082 kqread syz-fuzzer 43057 67488 16029 0 3 0x4000082 thrsleep syz-fuzzer 16029 66497 835 0 3 0x10008a pause ksh 835 357802 40678 0 3 0x92 select sshd 40678 245395 1 0 3 0x80 select sshd 73656 240918 18226 73 3 0x100090 kqread syslogd 18226 265156 1 0 3 0x100082 netio syslogd 1403 188805 1 77 3 0x100090 poll dhclient 18632 223132 1 0 3 0x80 poll dhclient 71160 340467 0 0 2 0x14200 zerothread 35875 514505 0 0 3 0x14200 aiodoned aiodoned 26105 461759 0 0 3 0x14200 syncer update 57731 232924 0 0 3 0x14200 cleaner cleaner 70887 455686 0 0 3 0x14200 reaper reaper 83045 30060 0 0 3 0x14200 pgdaemon pagedaemon 51777 56294 0 0 3 0x14200 bored crynlk 99951 301585 0 0 3 0x14200 bored crypto 45925 102962 0 0 3 0x40014200 acpi0 acpi0 4773 39842 0 0 3 0x14200 bored softnet 11294 483854 0 0 2 0x14200 systqmp 16796 170984 0 0 3 0x14200 bored systq 52543 246856 0 0 2 0x40014200 softclock 16235 388431 0 0 3 0x40014200 idle0 33498 342077 0 0 3 0x14200 bored smr 1 7386 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 9527 6999K 7695K 78643K 15487 0 0 pcb 13 8K 8K 78643K 253 0 0 rtable 111 4K 4K 78643K 688 0 0 ifaddr 64 15K 15K 78643K 262 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 126 0 0 iov 0 0K 32K 78643K 205 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 2859 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 27 0 0 VM map 2 0K 0K 78643K 10 0 0 sem 12 0K 1K 78643K 202 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 1872 0 0 sigio 1 0K 0K 78643K 14 0 0 proc 42 30K 54K 78643K 652 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 208 0 0 in_multi 33 2K 2K 78643K 152 0 0 ether_multi 1 0K 0K 78643K 7 0 0 mrt 0 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 78 344K 344K 78643K 78 0 0 exec 0 0K 1K 78643K 371 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 100 21K 30K 78643K 5171 0 0 UVM aobj 63 2K 2K 78643K 74 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 205 0 0 NDP 14 0K 0K 78643K 76 0 0 temp 184 3535K 4175K 78643K 44545 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 111 0 109 1 0 1 1 0 8 0 rtentry 112 78 0 34 2 0 2 2 0 8 0 unpcb 120 634 0 625 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1867 0 1867 1 1 0 1 0 8 0 tcpcb 544 376 0 372 1 0 1 1 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 10 0 10 3 3 0 1 0 8 0 inpcb 280 1098 0 1091 5 4 1 2 0 8 0 nd6 48 15 0 9 1 0 1 1 0 8 0 pkpcb 40 6 0 6 3 3 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 35 0 35 6 5 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 329 0 135 13 0 13 13 0 8 0 art_table 32 330 0 135 2 0 2 2 0 8 0 art_node 16 77 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 8 1 0 1 1 0 8 0 semapl 112 200 0 190 1 0 1 1 0 8 0 shmpl 112 72 0 11 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4351 0 2937 46 0 46 46 0 8 0 ffsino 240 4351 0 2937 84 0 84 84 0 8 0 nchpl 144 7223 0 5598 62 0 62 62 0 8 0 uvmvnodes 72 5513 0 0 101 0 101 101 0 8 0 vnodes 200 5513 0 0 291 0 291 291 0 8 0 namei 1024 21939 0 21939 1 0 1 1 0 8 1 vmpool 520 8 0 8 3 2 1 1 0 8 1 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 21407 0 21407 10 9 1 7 0 8 1 plimitpl 152 155 0 147 1 0 1 1 0 8 0 sigapl 432 2035 0 2021 2 0 2 2 0 8 0 futexpl 56 30585 0 30584 1 0 1 1 0 8 0 knotepl 112 384 0 365 1 0 1 1 0 8 0 kqueuepl 104 365 0 363 1 0 1 1 0 8 0 pipepl 112 1146 0 1127 3 2 1 2 0 8 0 fdescpl 424 2036 0 2021 2 0 2 2 0 8 0 filepl 120 11846 0 11745 5 1 4 5 0 8 0 lockfpl 104 652 0 651 2 1 1 1 0 8 0 lockfspl 48 224 0 223 2 1 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 2132 0 2125 1 0 1 1 0 8 0 zombiepl 144 2021 0 2021 1 0 1 1 0 8 1 processpl 864 2051 0 2021 4 0 4 4 0 8 0 procpl 632 4318 0 4280 4 0 4 4 0 8 0 sosppl 128 24 0 24 5 4 1 1 0 8 1 sockpl 384 1871 0 1853 3 0 3 3 0 8 1 mcl64k 65536 331 0 331 38 37 1 32 0 8 1 mcl16k 16384 8 0 8 5 4 1 1 0 8 1 mcl12k 12288 38 0 38 5 4 1 1 0 8 1 mcl9k 9216 32 0 32 4 3 1 1 0 8 1 mcl8k 8192 41 0 41 5 4 1 1 0 8 1 mcl4k 4096 95 0 95 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 3 2 1 1 0 8 1 mcl2k 2048 61959 0 61916 18 11 7 13 0 8 1 mtagpl 80 50 0 38 2 1 1 1 0 8 0 mbufpl 256 108159 0 108064 29 19 10 25 0 8 0 bufpl 256 13040 0 7182 367 0 367 367 0 8 0 anonpl 16 176898 0 165354 91 32 59 68 0 62 7 amapchunkpl 152 8278 0 8149 20 14 6 15 0 158 0 amappl16 192 9235 0 8557 87 45 42 46 0 8 8 amappl15 184 659 0 657 1 0 1 1 0 8 0 amappl14 176 1576 0 1570 1 0 1 1 0 8 0 amappl13 168 6 0 6 1 1 0 1 0 8 0 amappl12 160 8 0 7 1 0 1 1 0 8 0 amappl11 152 134 0 121 1 0 1 1 0 8 0 amappl10 144 71 0 70 1 0 1 1 0 8 0 amappl9 136 826 0 823 1 0 1 1 0 8 0 amappl8 128 395 0 374 1 0 1 1 0 8 0 amappl7 120 43 0 39 1 0 1 1 0 8 0 amappl6 112 129 0 120 1 0 1 1 0 8 0 amappl5 104 166 0 156 1 0 1 1 0 8 0 amappl4 96 2274 0 2248 1 0 1 1 0 8 0 amappl3 88 1072 0 1062 1 0 1 1 0 8 0 amappl2 80 16066 0 15987 3 1 2 3 0 8 0 amappl1 72 44119 0 43700 26 17 9 19 0 8 0 amappl 80 4596 0 4553 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 73 0 11 1 0 1 1 0 8 0 uaddrrnd 24 2044 0 2021 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2044 0 2021 1 0 1 1 0 8 0 vmmpekpl 168 17033 0 17009 2 0 2 2 0 8 0 vmmpepl 168 240489 0 238669 152 53 99 99 0 357 19 vmsppl 272 2035 0 2021 2 1 1 2 0 8 0 pdppl 4096 4094 0 4058 6 1 5 6 0 8 0 pvpl 32 538829 0 524104 233 72 161 207 0 265 33 pmappl 200 2043 0 2029 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 577 0 80 16 0 16 16 0 8 0