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(ffff800018971f90) at vm_get_info+0x9a VOP_IOCTL(fffffd803c0aca90,c0185603,ffff800018971f90,1,fffffd803f7c6ae0,ffff800016b3ac70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef06798,c0185603,ffff800018971f90,ffff800016b3ac70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800016b3ac70,ffff8000189720a8,ffff8000189720f0) at sys_ioctl+0x5b9 syscall(ffff800018972170) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,86ab63c7010) at Xsyscall+0x128 end of kernel end trace frame: 0x86ceae5af60, 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(ffff800018971f90) at vm_get_info+0x9a VOP_IOCTL(fffffd803c0aca90,c0185603,ffff800018971f90,1,fffffd803f7c6ae0,ffff800016b3ac70) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef06798,c0185603,ffff800018971f90,ffff800016b3ac70) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800016b3ac70,ffff8000189720a8,ffff8000189720f0) at sys_ioctl+0x5b9 syscall(ffff800018972170) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,86ab63c7010) at Xsyscall+0x128 end of kernel end trace frame: 0x86ceae5af60, count: -9 ddb> show registers rdi 0xffffffff81292c97 db_enter+0x17 rsi 0x11cae __ALIGN_SIZE+0x10cae rbp 0xffff800018971bd0 rbx 0xffff800018971c80 rdx 0x11caf __ALIGN_SIZE+0x10caf rcx 0xffff800015923000 rax 0xffff800015923000 r8 0xffff800018971b90 r9 0x1 r10 0xffff800000ab8f80 r11 0x29c76d908980ae6b r12 0x3000000008 r13 0xffff800018971be0 r14 0x100 r15 0x1 rip 0xffffffff81292c98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800018971bc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=188131 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800016b3b160,0xffffffff8256d300 process=0xffff8000ffff6370 user=0xffff80001896d000, vmspace=0xfffffd803f013dd0 estcpu=36, cpticks=6, pctcpu=0.0 user=0, sys=6, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 6065 479753 25139 0 2 0 syz-executor.0 * 6065 188131 25139 0 7 0x4000000 syz-executor.0 26630 59902 4880 0 2 0x480 syz-executor.1 26630 296646 4880 0 3 0x4000080 ttyin syz-executor.1 26630 272640 4880 0 3 0x4000080 fsleep syz-executor.1 12301 38907 1 0 3 0x100083 ttyin getty 25139 381333 85155 0 2 0x482 syz-executor.0 4880 341121 85155 0 2 0x482 syz-executor.1 55952 311899 0 0 3 0x14200 bored sosplice 85155 219091 86625 0 3 0x82 thrsleep syz-fuzzer 85155 45227 86625 0 3 0x4000082 thrsleep syz-fuzzer 85155 323393 86625 0 3 0x4000082 kqread syz-fuzzer 85155 439693 86625 0 3 0x4000082 thrsleep syz-fuzzer 85155 119933 86625 0 3 0x4000082 thrsleep syz-fuzzer 85155 108888 86625 0 3 0x4000082 thrsleep syz-fuzzer 85155 354928 86625 0 3 0x4000082 thrsleep syz-fuzzer 86625 162788 8459 0 3 0x10008a pause ksh 8459 318102 52388 0 3 0x92 select sshd 52388 318850 1 0 3 0x80 select sshd 30304 480102 77266 73 3 0x100090 kqread syslogd 77266 70325 1 0 3 0x100082 netio syslogd 74096 86302 1 77 3 0x100090 poll dhclient 92798 87432 1 0 3 0x80 poll dhclient 70545 328996 0 0 2 0x14200 zerothread 58677 52732 0 0 3 0x14200 aiodoned aiodoned 13112 482113 0 0 3 0x14200 syncer update 62436 329044 0 0 3 0x14200 cleaner cleaner 42229 115460 0 0 3 0x14200 reaper reaper 30758 390257 0 0 3 0x14200 pgdaemon pagedaemon 80335 284965 0 0 3 0x14200 bored crynlk 49664 437578 0 0 3 0x14200 bored crypto 92686 89499 0 0 3 0x40014200 acpi0 acpi0 6725 389835 0 0 3 0x14200 bored softnet 84666 197490 0 0 3 0x14200 bored systqmp 6141 400224 0 0 3 0x14200 bored systq 50909 14484 0 0 2 0x40014200 softclock 27403 354702 0 0 3 0x40014200 idle0 77358 74285 0 0 2 0x14200 smr 1 496002 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 9534 6480K 6994K 78643K 14127 0 0 pcb 13 8K 8K 78643K 183 0 0 rtable 108 3K 4K 78643K 549 0 0 ifaddr 65 14K 14K 78643K 196 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 106 0 0 iov 0 0K 16K 78643K 137 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 77K 78643K 2528 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 30 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 1K 1K 78643K 163 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 1423 0 0 sigio 0 0K 0K 78643K 28 0 0 proc 48 38K 63K 78643K 593 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 104 0 0 in_multi 33 2K 2K 78643K 125 0 0 ether_multi 1 0K 0K 78643K 6 0 0 mrt 0 0K 0K 78643K 4 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 338 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 22K 78643K 4226 0 0 UVM aobj 84 3K 3K 78643K 96 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 140 0 0 NDP 14 0K 0K 78643K 57 0 0 temp 184 3535K 3602K 78643K 14737 0 0 kqueue 0 0K 0K 78643K 10 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 13 0 7 1 0 1 1 0 8 0 rtpcb 80 83 0 81 1 0 1 1 0 8 0 rtentry 112 76 0 32 2 0 2 2 0 8 0 unpcb 120 498 0 490 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 3797 0 3797 1 1 0 1 0 8 0 tcpcb 544 272 0 268 1 0 1 1 0 8 0 inpcb 280 802 0 795 3 2 1 2 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 6 0 6 3 2 1 1 0 8 1 ppxss 1128 23 0 23 4 4 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 351 0 133 17 3 14 14 0 8 0 art_table 32 352 0 133 2 0 2 2 0 8 0 art_node 16 75 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semapl 112 159 0 149 1 0 1 1 0 8 0 shmpl 112 94 0 12 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3624 0 2236 46 0 46 46 0 8 0 ffsino 240 3624 0 2236 83 0 83 83 0 8 0 nchpl 144 5773 0 4175 60 0 60 60 0 8 0 uvmvnodes 72 4546 0 0 83 0 83 83 0 8 0 vnodes 208 4546 0 0 240 0 240 240 0 8 0 namei 1024 17484 0 17484 2 1 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scxspl 192 15958 0 15958 8 7 1 7 0 8 1 plimitpl 152 138 0 130 1 0 1 1 0 8 0 sigapl 432 1586 0 1572 2 0 2 2 0 8 0 futexpl 56 23440 0 23439 1 0 1 1 0 8 0 knotepl 112 357 0 338 1 0 1 1 0 8 0 kqueuepl 104 333 0 330 1 0 1 1 0 8 0 pipepl 112 1048 0 1029 3 1 2 2 0 8 1 fdescpl 424 1587 0 1572 2 0 2 2 0 8 0 filepl 120 9490 0 9386 4 0 4 4 0 8 0 lockfpl 104 541 0 538 1 0 1 1 0 8 0 lockfspl 48 184 0 182 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 33 0 23 1 0 1 1 0 8 0 ucredpl 96 1717 0 1710 1 0 1 1 0 8 0 zombiepl 144 1572 0 1572 2 1 1 1 0 8 1 processpl 864 1602 0 1572 4 0 4 4 0 8 0 procpl 632 3361 0 3322 4 0 4 4 0 8 0 sosppl 128 12 0 12 1 1 0 1 0 8 0 sockpl 384 1403 0 1386 3 0 3 3 0 8 1 mcl64k 65536 561 0 561 38 7 31 33 0 8 31 mcl16k 16384 5 0 5 3 3 0 1 0 8 0 mcl12k 12288 30 0 30 2 1 1 1 0 8 1 mcl9k 9216 11 0 11 6 6 0 1 0 8 0 mcl8k 8192 27 0 27 3 2 1 1 0 8 1 mcl4k 4096 72 0 72 3 2 1 1 0 8 1 mcl2k2 2112 8 0 8 5 4 1 1 0 8 1 mcl2k 2048 58368 0 58319 21 14 7 17 0 8 0 mtagpl 80 42 0 32 3 2 1 1 0 8 0 mbufpl 256 101824 0 101733 28 12 16 23 0 8 6 bufpl 256 9075 0 3881 326 0 326 326 0 8 0 anonpl 16 152730 0 140145 99 34 65 67 0 62 13 amapchunkpl 152 6497 0 6388 11 6 5 7 0 158 0 amappl16 192 8248 0 7552 90 49 41 47 0 8 6 amappl15 184 9 0 9 2 2 0 1 0 8 0 amappl14 176 568 0 563 1 0 1 1 0 8 0 amappl13 168 163 0 162 2 1 1 1 0 8 0 amappl12 160 7 0 4 1 0 1 1 0 8 0 amappl11 152 59 0 48 1 0 1 1 0 8 0 amappl10 144 486 0 486 2 2 0 1 0 8 0 amappl9 136 798 0 790 1 0 1 1 0 8 0 amappl8 128 360 0 335 1 0 1 1 0 8 0 amappl7 120 526 0 522 1 0 1 1 0 8 0 amappl6 112 73 0 62 1 0 1 1 0 8 0 amappl5 104 181 0 171 1 0 1 1 0 8 0 amappl4 96 1557 0 1528 1 0 1 1 0 8 0 amappl3 88 932 0 925 1 0 1 1 0 8 0 amappl2 80 11858 0 11783 3 1 2 3 0 8 0 amappl1 72 37112 0 36687 27 18 9 20 0 8 0 amappl 80 3645 0 3607 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 95 0 12 2 0 2 2 0 8 0 uaddrrnd 24 1589 0 1572 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1589 0 1572 1 0 1 1 0 8 0 vmmpekpl 168 13677 0 13651 2 0 2 2 0 8 0 vmmpepl 168 190415 0 188565 146 57 89 100 0 357 8 vmsppl 272 1586 0 1572 2 1 1 2 0 8 0 pdppl 4096 3184 0 3148 6 1 5 6 0 8 0 pvpl 32 418254 0 402246 206 45 161 164 0 265 31 pmappl 200 1588 0 1574 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 539 0 48 15 0 15 15 0 8 0