panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffffd80,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff80001596f5f0) at vm_get_info+0x9a VOP_IOCTL(fffffd803657c410,c0185603,ffff80001596f5f0,1,fffffd803f7c6b40,ffff800015952508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ee951f0,c0185603,ffff80001596f5f0,ffff800015952508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800015952508,ffff80001596f708,ffff80001596f750) at sys_ioctl+0x5b9 syscall(ffff80001596f7d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,e87eb77a010) at Xsyscall+0x128 end of kernel end trace frame: 0xe89eedabbf0, 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 = 18446744073709550976 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(fffffffffffffd80,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff80001596f5f0) at vm_get_info+0x9a VOP_IOCTL(fffffd803657c410,c0185603,ffff80001596f5f0,1,fffffd803f7c6b40,ffff800015952508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ee951f0,c0185603,ffff80001596f5f0,ffff800015952508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800015952508,ffff80001596f708,ffff80001596f750) at sys_ioctl+0x5b9 syscall(ffff80001596f7d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,e87eb77a010) at Xsyscall+0x128 end of kernel end trace frame: 0xe89eedabbf0, count: -9 ddb> show registers rdi 0xffffffff81bfd547 db_enter+0x17 rsi 0x38a2 __ALIGN_SIZE+0x28a2 rbp 0xffff80001596f230 rbx 0xffff80001596f2e0 rdx 0x38a3 __ALIGN_SIZE+0x28a3 rcx 0xffff800016b3f000 rax 0xffff800016b3f000 r8 0xffff80001596f1f0 r9 0x1 r10 0xffff800000a64dc0 r11 0x9043e7a3672bc121 r12 0x3000000008 r13 0xffff80001596f240 r14 0x100 r15 0x1 rip 0xffffffff81bfd548 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001596f220 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=10882 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800015952290,0xffffffff82581628 process=0xffff8000ffff7450 user=0xffff80001596a000, vmspace=0xfffffd803f014660 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73870 202143 18224 0 2 0 syz-executor.0 *73870 10882 18224 0 7 0x4000000 syz-executor.0 52154 45017 1 0 3 0x100083 ttyin getty 12722 227145 19445 0 2 0x2 syz-executor.1 79265 328029 0 0 3 0x14200 bored sosplice 18224 224080 19445 0 3 0x82 nanosleep syz-executor.0 19445 386168 15643 0 3 0x82 thrsleep syz-fuzzer 19445 429723 15643 0 3 0x4000082 nanosleep syz-fuzzer 19445 72239 15643 0 3 0x4000082 thrsleep syz-fuzzer 19445 79376 15643 0 3 0x4000082 thrsleep syz-fuzzer 19445 42806 15643 0 3 0x4000082 thrsleep syz-fuzzer 19445 264535 15643 0 3 0x4000082 kqread syz-fuzzer 19445 10994 15643 0 3 0x4000082 thrsleep syz-fuzzer 15643 322752 78685 0 3 0x10008a pause ksh 78685 154401 91380 0 3 0x92 select sshd 91380 112686 1 0 3 0x80 select sshd 25935 13231 34194 73 3 0x100090 kqread syslogd 34194 487691 1 0 3 0x100082 netio syslogd 92519 429447 1 77 3 0x100090 poll dhclient 26603 188775 1 0 3 0x80 poll dhclient 55791 257296 0 0 2 0x14200 zerothread 72510 454417 0 0 3 0x14200 aiodoned aiodoned 9424 348336 0 0 3 0x14200 syncer update 9030 232984 0 0 3 0x14200 cleaner cleaner 49414 358575 0 0 3 0x14200 reaper reaper 44149 371199 0 0 3 0x14200 pgdaemon pagedaemon 26047 290631 0 0 3 0x14200 bored crynlk 48664 139785 0 0 3 0x14200 bored crypto 68287 361067 0 0 3 0x40014200 acpi0 acpi0 65338 221157 0 0 3 0x14200 bored softnet 52301 95548 0 0 3 0x14200 bored systqmp 51694 157170 0 0 3 0x14200 bored systq 37007 321984 0 0 3 0x40014200 bored softclock 27772 31156 0 0 3 0x40014200 idle0 36272 383950 0 0 3 0x14200 bored smr 1 34210 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 9510 6537K 6973K 78643K 12182 0 0 pcb 13 8K 8K 78643K 111 0 0 rtable 111 4K 4K 78643K 339 0 0 ifaddr 52 12K 13K 78643K 101 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 52 0 0 iov 0 0K 24K 78643K 68 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 1802 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 4 0 0 VM map 2 0K 0K 78643K 6 0 0 sem 12 0K 0K 78643K 79 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 628 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 49 38K 55K 78643K 458 0 0 subproc 32 2K 2K 78643K 53 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 37 0 0 in_multi 33 2K 2K 78643K 52 0 0 ether_multi 1 0K 0K 78643K 2 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 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 243 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 88 20K 21K 78643K 2279 0 0 UVM aobj 33 2K 2K 78643K 41 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 70 0 0 NDP 10 0K 0K 78643K 28 0 0 temp 147 3536K 3600K 78643K 22700 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 55 0 11 2 0 2 2 0 8 0 unpcb 120 315 0 307 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 4437 0 4437 1 1 0 1 0 8 0 tcpcb 544 128 0 124 1 0 1 1 0 8 0 inpcb 280 364 0 357 2 1 1 2 0 8 0 nd6 48 6 0 2 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 8 0 8 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 258 0 43 14 0 14 14 0 8 0 art_table 32 259 0 43 2 0 2 2 0 8 0 art_node 16 54 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 77 0 67 1 0 1 1 0 8 0 shmpl 112 39 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2370 0 979 46 0 46 46 0 8 0 ffsino 240 2370 0 979 83 0 83 83 0 8 0 nchpl 144 3438 0 1842 60 0 60 60 0 8 0 uvmvnodes 72 2821 0 0 52 0 52 52 0 8 0 vnodes 208 2821 0 0 149 0 149 149 0 8 0 namei 1024 9855 0 9855 2 1 1 1 0 8 1 vmpool 520 4 0 4 2 2 0 1 0 8 0 scxspl 192 9638 0 9638 12 11 1 7 0 8 1 plimitpl 152 53 0 46 1 0 1 1 0 8 0 sigapl 432 797 0 784 2 0 2 2 0 8 0 futexpl 56 10233 0 10233 1 0 1 1 0 8 1 knotepl 112 171 0 152 1 0 1 1 0 8 0 kqueuepl 104 115 0 113 1 0 1 1 0 8 0 pipepl 112 458 0 439 1 0 1 1 0 8 0 fdescpl 424 798 0 784 2 0 2 2 0 8 0 filepl 120 4667 0 4568 4 0 4 4 0 8 1 lockfpl 104 234 0 233 1 0 1 1 0 8 0 lockfspl 48 85 0 84 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 27 0 17 1 0 1 1 0 8 0 ucredpl 96 700 0 693 1 0 1 1 0 8 0 zombiepl 144 784 0 784 2 1 1 1 0 8 1 processpl 864 813 0 784 4 0 4 4 0 8 0 procpl 632 1550 0 1514 4 0 4 4 0 8 0 sosppl 128 7 0 7 1 1 0 1 0 8 0 sockpl 384 742 0 725 3 0 3 3 0 8 1 mcl64k 65536 10 0 10 2 2 0 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 8 0 8 2 1 1 1 0 8 1 mcl9k 9216 10 0 10 2 1 1 1 0 8 1 mcl8k 8192 6 0 6 4 3 1 1 0 8 1 mcl4k 4096 42 0 42 2 1 1 1 0 8 1 mcl2k2 2112 5 0 5 3 2 1 1 0 8 1 mcl2k 2048 55391 0 55343 23 16 7 19 0 8 0 mtagpl 80 32 0 10 2 1 1 1 0 8 0 mbufpl 256 92392 0 92250 17 7 10 12 0 8 0 bufpl 256 8481 0 2701 363 0 363 363 0 8 0 anonpl 16 79071 0 66931 68 18 50 66 0 62 0 amapchunkpl 152 3316 0 3198 11 5 6 9 0 158 0 amappl16 192 3745 0 3077 50 16 34 46 0 8 0 amappl14 176 255 0 252 1 0 1 1 0 8 0 amappl13 168 8 0 7 1 0 1 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 342 0 329 1 0 1 1 0 8 0 amappl10 144 10 0 8 1 0 1 1 0 8 0 amappl9 136 654 0 646 1 0 1 1 0 8 0 amappl8 128 221 0 201 1 0 1 1 0 8 0 amappl7 120 39 0 35 1 0 1 1 0 8 0 amappl6 112 358 0 348 1 0 1 1 0 8 0 amappl5 104 157 0 147 1 0 1 1 0 8 0 amappl4 96 799 0 773 1 0 1 1 0 8 0 amappl3 88 573 0 568 1 0 1 1 0 8 0 amappl2 80 5514 0 5445 3 1 2 3 0 8 0 amappl1 72 23340 0 22932 28 19 9 20 0 8 0 amappl 80 1787 0 1749 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 40 0 8 1 0 1 1 0 8 0 uaddrrnd 24 802 0 784 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 802 0 784 1 0 1 1 0 8 0 vmmpekpl 168 8942 0 8918 2 0 2 2 0 8 0 vmmpepl 168 98802 0 97097 137 42 95 98 0 357 20 vmsppl 272 797 0 784 2 1 1 2 0 8 0 pdppl 4096 1610 0 1576 6 1 5 6 0 8 0 pvpl 32 240735 0 225634 172 37 135 161 0 265 10 pmappl 200 801 0 788 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 526 0 35 15 0 15 15 0 8 0