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(ffff80001490e470) at vm_get_info+0x9a VOP_IOCTL(fffffd8036aa40d0,c0185603,ffff80001490e470,1,fffffd803f7c6b40,ffff8000ffff33d8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803755ce10,c0185603,ffff80001490e470,ffff8000ffff33d8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff33d8,ffff80001490e588,ffff80001490e5d0) at sys_ioctl+0x5b9 syscall(ffff80001490e650) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,2d3abe8c010) at Xsyscall+0x128 end of kernel end trace frame: 0x2d6528634a0, 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(ffff80001490e470) at vm_get_info+0x9a VOP_IOCTL(fffffd8036aa40d0,c0185603,ffff80001490e470,1,fffffd803f7c6b40,ffff8000ffff33d8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803755ce10,c0185603,ffff80001490e470,ffff8000ffff33d8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff33d8,ffff80001490e588,ffff80001490e5d0) at sys_ioctl+0x5b9 syscall(ffff80001490e650) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,2d3abe8c010) at Xsyscall+0x128 end of kernel end trace frame: 0x2d6528634a0, count: -9 ddb> show registers rdi 0xffffffff81917477 db_enter+0x17 rsi 0x20074 acpi_pdirpa+0xbedc rbp 0xffff80001490e0b0 rbx 0xffff80001490e160 rdx 0x20075 acpi_pdirpa+0xbedd rcx 0xffff800015741000 rax 0xffff800015741000 r8 0xffff80001490e070 r9 0x1 r10 0xffff800000a50d00 r11 0xdea3c8d37fbec89 r12 0x3000000008 r13 0xffff80001490e0c0 r14 0x100 r15 0x1 rip 0xffffffff81917478 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001490e0a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=28052 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffffffff825a33e0 process=0xffff8000148a2018 user=0xffff800014909000, vmspace=0xfffffd803f014880 estcpu=36, cpticks=12, pctcpu=0.0 user=0, sys=10, intr=2 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77172 437440 31807 0 2 0 syz-executor.0 *77172 28052 31807 0 7 0x4000000 syz-executor.0 31807 515654 79984 0 2 0x482 syz-executor.0 41677 427733 1 0 3 0x100083 ttyin getty 23791 521981 79984 0 2 0x482 syz-executor.1 36950 19576 0 0 3 0x14200 acct acct 47857 151728 0 0 3 0x14200 bored sosplice 79984 313246 76395 0 3 0x82 thrsleep syz-fuzzer 79984 110137 76395 0 3 0x4000082 thrsleep syz-fuzzer 79984 492663 76395 0 3 0x4000082 kqread syz-fuzzer 79984 39015 76395 0 3 0x4000082 thrsleep syz-fuzzer 79984 203156 76395 0 2 0x4000482 syz-fuzzer 79984 329392 76395 0 3 0x4000082 thrsleep syz-fuzzer 79984 369608 76395 0 3 0x4000082 thrsleep syz-fuzzer 76395 509277 53190 0 3 0x10008a pause ksh 53190 484299 39198 0 3 0x92 select sshd 39198 157602 1 0 3 0x80 select sshd 86679 334124 74117 73 3 0x100090 kqread syslogd 74117 137661 1 0 3 0x100082 netio syslogd 42853 313146 1 77 3 0x100090 poll dhclient 77874 262152 1 0 3 0x80 poll dhclient 53730 174002 0 0 2 0x14200 zerothread 41473 65100 0 0 3 0x14200 aiodoned aiodoned 15704 186024 0 0 3 0x14200 syncer update 56333 125924 0 0 3 0x14200 cleaner cleaner 37609 295712 0 0 3 0x14200 reaper reaper 6554 228993 0 0 3 0x14200 pgdaemon pagedaemon 66106 91806 0 0 3 0x14200 bored crynlk 81123 74470 0 0 3 0x14200 bored crypto 10653 106688 0 0 3 0x40014200 acpi0 acpi0 17290 500880 0 0 3 0x14200 bored softnet 18252 64463 0 0 2 0x14200 systqmp 38283 153352 0 0 3 0x14200 bored systq 14312 182045 0 0 2 0x40014200 softclock 28529 139470 0 0 3 0x40014200 idle0 21650 151328 0 0 3 0x14200 bored smr 1 440979 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 9499 6401K 6979K 78643K 12920 0 0 pcb 13 8K 8K 78643K 135 0 0 rtable 108 3K 4K 78643K 432 0 0 ifaddr 52 12K 13K 78643K 135 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 69 0 0 iov 0 0K 16K 78643K 77 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1210 76K 77K 78643K 2060 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 17 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 0K 78643K 123 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 958 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 49 38K 63K 78643K 507 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 66 0 0 in_multi 33 2K 2K 78643K 97 0 0 ether_multi 1 0K 0K 78643K 11 0 0 mrt 0 0K 0K 78643K 11 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 310 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 93 21K 30K 78643K 3121 0 0 UVM aobj 42 2K 2K 78643K 51 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 103 0 0 NDP 10 0K 0K 78643K 39 0 0 temp 154 3538K 3615K 78643K 9830 0 0 kqueue 0 0K 0K 78643K 6 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 10 0 4 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 65 0 21 2 0 2 2 0 8 0 unpcb 120 345 0 337 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 4802 0 4802 1 1 0 1 0 8 0 tcpcb 544 178 0 174 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 1 0 1 1 0 1 1 0 8 1 inpcb 280 516 0 509 1 0 1 1 0 8 0 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 12 0 12 4 3 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 301 0 86 14 0 14 14 0 8 0 art_table 32 302 0 86 2 0 2 2 0 8 0 art_node 16 64 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 8 1 0 1 1 0 8 0 semapl 112 119 0 109 1 0 1 1 0 8 0 shmpl 112 49 0 9 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2865 0 1476 46 0 46 46 0 8 0 ffsino 240 2865 0 1476 83 0 83 83 0 8 0 nchpl 144 4381 0 2783 60 0 60 60 0 8 0 uvmvnodes 72 3469 0 0 64 0 64 64 0 8 0 vnodes 208 3469 0 0 183 0 183 183 0 8 0 namei 1024 13103 0 13103 2 1 1 1 0 8 1 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 12566 0 12566 12 10 2 7 0 8 2 plimitpl 152 91 0 84 1 0 1 1 0 8 0 sigapl 432 1126 0 1113 2 0 2 2 0 8 0 futexpl 56 15441 0 15441 1 0 1 1 0 8 1 knotepl 112 193 0 174 1 0 1 1 0 8 0 kqueuepl 104 184 0 182 1 0 1 1 0 8 0 pipepl 112 610 0 591 2 1 1 2 0 8 0 fdescpl 424 1127 0 1113 2 0 2 2 0 8 0 filepl 120 6646 0 6547 4 0 4 4 0 8 0 lockfpl 104 415 0 414 1 0 1 1 0 8 0 lockfspl 48 134 0 133 1 0 1 1 0 8 0 sessionpl 112 22 0 12 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 1283 0 1276 1 0 1 1 0 8 0 zombiepl 144 1113 0 1112 2 1 1 1 0 8 0 processpl 864 1143 0 1112 4 0 4 4 0 8 0 procpl 632 2321 0 2283 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 384 922 0 905 3 0 3 3 0 8 1 mcl64k 65536 32 0 32 4 3 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 19 0 19 3 2 1 1 0 8 1 mcl9k 9216 12 0 12 4 3 1 1 0 8 1 mcl8k 8192 18 0 18 4 3 1 1 0 8 1 mcl4k 4096 69 0 69 2 1 1 1 0 8 1 mcl2k2 2112 8 0 8 4 4 0 1 0 8 0 mcl2k 2048 52195 0 52149 16 9 7 13 0 8 1 mtagpl 80 26 0 24 2 1 1 1 0 8 0 mbufpl 256 89281 0 89161 13 4 9 10 0 8 0 bufpl 256 8686 0 3531 323 0 323 323 0 8 0 anonpl 16 118275 0 108069 90 24 66 69 0 62 12 amapchunkpl 152 4873 0 4769 14 6 8 8 0 158 3 amappl16 192 5858 0 5140 75 30 45 49 0 8 8 amappl15 184 575 0 573 1 0 1 1 0 8 0 amappl14 176 41 0 38 1 0 1 1 0 8 0 amappl13 168 20 0 18 1 0 1 1 0 8 0 amappl12 160 8 0 6 1 0 1 1 0 8 0 amappl11 152 478 0 466 1 0 1 1 0 8 0 amappl10 144 7 0 7 2 2 0 1 0 8 0 amappl9 136 601 0 595 1 0 1 1 0 8 0 amappl8 128 159 0 139 1 0 1 1 0 8 0 amappl7 120 53 0 48 1 0 1 1 0 8 0 amappl6 112 486 0 476 1 0 1 1 0 8 0 amappl5 104 155 0 145 1 0 1 1 0 8 0 amappl4 96 1354 0 1326 1 0 1 1 0 8 0 amappl3 88 143 0 138 1 0 1 1 0 8 0 amappl2 80 8576 0 8506 3 1 2 3 0 8 0 amappl1 72 29217 0 28801 26 16 10 20 0 8 0 amappl 80 2574 0 2539 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 50 0 9 1 0 1 1 0 8 0 uaddrrnd 24 1129 0 1113 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1129 0 1113 1 0 1 1 0 8 0 vmmpekpl 168 11043 0 11021 2 0 2 2 0 8 0 vmmpepl 168 139544 0 137782 158 55 103 103 0 357 26 vmsppl 272 1126 0 1113 2 1 1 2 0 8 0 pdppl 4096 2264 0 2230 6 1 5 6 0 8 0 pvpl 32 333177 0 320006 195 35 160 170 0 265 28 pmappl 200 1128 0 1115 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 477 0 26 13 0 13 13 0 8 0