panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffff880,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000148fc2e0) at vm_get_info+0x9a VOP_IOCTL(fffffd80360a5820,c0185603,ffff8000148fc2e0,1,fffffd803f7c6c60,ffff800015f32ee8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803621de18,c0185603,ffff8000148fc2e0,ffff800015f32ee8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800015f32ee8,ffff8000148fc3f8,ffff8000148fc440) at sys_ioctl+0x5b9 syscall(ffff8000148fc4c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,74973220010) at Xsyscall+0x128 end of kernel end trace frame: 0x74b7659fef0, 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 = 18446744073709549696 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(fffffffffffff880,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000148fc2e0) at vm_get_info+0x9a VOP_IOCTL(fffffd80360a5820,c0185603,ffff8000148fc2e0,1,fffffd803f7c6c60,ffff800015f32ee8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803621de18,c0185603,ffff8000148fc2e0,ffff800015f32ee8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800015f32ee8,ffff8000148fc3f8,ffff8000148fc440) at sys_ioctl+0x5b9 syscall(ffff8000148fc4c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,74973220010) at Xsyscall+0x128 end of kernel end trace frame: 0x74b7659fef0, count: -9 ddb> show registers rdi 0xffffffff82050c47 db_enter+0x17 rsi 0x7984 __ALIGN_SIZE+0x6984 rbp 0xffff8000148fbf20 rbx 0xffff8000148fbfd0 rdx 0x7985 __ALIGN_SIZE+0x6985 rcx 0xffff80001594b000 rax 0xffff80001594b000 r8 0xffff8000148fbee0 r9 0x1 r10 0xffff800000a5a640 r11 0xc2f4071cfbc8ac81 r12 0x3000000008 r13 0xffff8000148fbf30 r14 0x100 r15 0x1 rip 0xffffffff82050c48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000148fbf10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=2798 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800015f32c70,0xffffffff82598330 process=0xffff8000148a30f8 user=0xffff8000148f7000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47564 167814 57092 0 2 0 syz-executor.1 *47564 2798 57092 0 7 0x4000000 syz-executor.1 57092 426602 12605 0 2 0x482 syz-executor.1 24568 503278 12605 0 2 0x2 syz-executor.0 90124 496350 1 0 3 0x100083 ttyin getty 72159 505746 0 0 3 0x14200 acct acct 1231 357547 0 0 3 0x14200 bored sosplice 12605 414598 8052 0 3 0x82 thrsleep syz-fuzzer 12605 365072 8052 0 2 0x4000482 syz-fuzzer 12605 152936 8052 0 3 0x4000082 thrsleep syz-fuzzer 12605 147039 8052 0 3 0x4000082 thrsleep syz-fuzzer 12605 278232 8052 0 3 0x4000082 thrsleep syz-fuzzer 12605 471317 8052 0 3 0x4000082 kqread syz-fuzzer 12605 328435 8052 0 3 0x4000082 thrsleep syz-fuzzer 12605 220287 8052 0 3 0x4000082 thrsleep syz-fuzzer 8052 223566 38369 0 3 0x10008a pause ksh 38369 448963 76297 0 3 0x92 select sshd 76297 458021 1 0 3 0x80 select sshd 56708 31389 86124 73 2 0x100090 syslogd 86124 384849 1 0 3 0x100082 netio syslogd 4764 209462 1 77 3 0x100090 poll dhclient 2025 88624 1 0 3 0x80 poll dhclient 622 229669 0 0 2 0x14200 zerothread 66673 270807 0 0 3 0x14200 aiodoned aiodoned 91939 517164 0 0 3 0x14200 syncer update 58159 511215 0 0 3 0x14200 cleaner cleaner 10145 199257 0 0 3 0x14200 reaper reaper 52615 95991 0 0 3 0x14200 pgdaemon pagedaemon 27052 513595 0 0 3 0x14200 bored crynlk 54028 75037 0 0 3 0x14200 bored crypto 61355 52623 0 0 3 0x40014200 acpi0 acpi0 37918 386851 0 0 3 0x14200 bored softnet 33784 405762 0 0 3 0x14200 bored systqmp 96112 231296 0 0 3 0x14200 bored systq 67718 229640 0 0 2 0x40014200 softclock 5669 376964 0 0 3 0x40014200 idle0 91893 146063 0 0 3 0x14200 bored smr 1 291311 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 9590 6636K 7151K 78643K 25123 0 0 pcb 13 8K 8K 78643K 648 0 0 rtable 114 4K 4K 78643K 1786 0 0 ifaddr 80 19K 19K 78643K 666 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 308 0 0 iov 0 0K 24K 78643K 591 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 77K 78643K 6287 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 60 0 0 VM map 2 0K 0K 78643K 14 0 0 sem 12 0K 0K 78643K 624 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 5539 0 0 sigio 0 0K 0K 78643K 82 0 0 proc 50 38K 55K 78643K 1485 0 0 subproc 32 2K 2K 78643K 291 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 416 0 0 in_multi 33 2K 2K 78643K 357 0 0 ether_multi 1 0K 0K 78643K 19 0 0 mrt 0 0K 0K 78643K 7 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 108 477K 477K 78643K 108 0 0 exec 0 0K 1K 78643K 948 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 109 22K 32K 78643K 13871 0 0 UVM aobj 130 4K 4K 78643K 153 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 672 0 0 NDP 19 0K 0K 78643K 202 0 0 temp 219 3536K 4171K 78643K 71322 0 0 kqueue 0 0K 0K 78643K 30 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 37 0 31 1 0 1 1 0 8 0 rtpcb 80 269 0 267 1 0 1 1 0 8 0 rtentry 112 206 0 161 2 0 2 2 0 8 0 unpcb 120 2124 0 2116 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 1827 0 1827 2 2 0 1 0 8 0 tcpcb 544 1067 0 1063 1 0 1 1 0 8 0 ipq 40 6 0 6 3 3 0 1 0 8 0 ipqe 40 14 0 14 3 3 0 1 0 8 0 inpcb 280 3016 0 3009 3 2 1 2 0 8 0 nd6 48 34 0 30 1 0 1 1 0 8 0 pkpcb 40 20 0 20 7 7 0 1 0 8 0 ppxss 1128 107 0 107 15 14 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 887 0 668 14 0 14 14 0 8 0 art_table 32 888 0 668 2 0 2 2 0 8 0 art_node 16 196 0 156 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 622 0 612 1 0 1 1 0 8 0 shmpl 112 151 0 23 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 9888 0 8499 46 0 46 46 0 8 0 ffsino 240 9888 0 8499 83 0 83 83 0 8 0 nchpl 144 17921 0 16318 60 0 60 60 0 8 0 uvmvnodes 72 7419 0 0 135 0 135 135 0 8 0 vnodes 208 7419 0 0 391 0 391 391 0 8 0 namei 1024 58057 0 58057 3 2 1 1 0 8 1 vmpool 520 12 0 12 6 5 1 1 0 8 1 scsiplug 64 4 0 4 4 4 0 1 0 8 0 scxspl 192 56991 0 56991 21 20 1 7 0 8 1 plimitpl 152 492 0 485 1 0 1 1 0 8 0 sigapl 432 5671 0 5658 2 0 2 2 0 8 0 futexpl 56 92026 0 92026 3 2 1 1 0 8 1 knotepl 112 1322 0 1303 1 0 1 1 0 8 0 kqueuepl 104 1280 0 1278 1 0 1 1 0 8 0 pipepl 112 3192 0 3173 10 9 1 2 0 8 0 fdescpl 424 5672 0 5658 2 0 2 2 0 8 0 filepl 120 33946 0 33849 7 3 4 5 0 8 1 lockfpl 104 1792 0 1791 1 0 1 1 0 8 0 lockfspl 48 585 0 584 1 0 1 1 0 8 0 sessionpl 112 38 0 28 1 0 1 1 0 8 0 pgrppl 48 94 0 84 1 0 1 1 0 8 0 ucredpl 96 6083 0 6076 1 0 1 1 0 8 0 zombiepl 144 5658 0 5658 1 0 1 1 0 8 1 processpl 864 5688 0 5658 4 0 4 4 0 8 0 procpl 632 12347 0 12309 4 0 4 4 0 8 0 sosppl 128 68 0 68 16 16 0 1 0 8 0 sockpl 384 5497 0 5480 8 5 3 4 0 8 1 mcl64k 65536 371 0 371 43 42 1 29 0 8 1 mcl16k 16384 17 0 17 12 12 0 1 0 8 0 mcl12k 12288 91 0 91 13 12 1 1 0 8 1 mcl9k 9216 78 0 78 14 13 1 1 0 8 1 mcl8k 8192 92 0 92 13 12 1 1 0 8 1 mcl4k 4096 270 0 270 5 4 1 1 0 8 1 mcl2k2 2112 35 0 35 14 13 1 1 0 8 1 mcl2k 2048 67652 0 67601 19 11 8 14 0 8 1 mtagpl 80 207 0 190 5 4 1 2 0 8 0 mbufpl 256 137009 0 136898 39 29 10 20 0 8 0 bufpl 256 20780 0 13261 472 1 471 471 0 8 0 anonpl 16 529187 0 517103 170 106 64 69 0 62 9 amapchunkpl 152 24661 0 24557 52 44 8 15 0 158 2 amappl16 192 29690 0 28980 185 141 44 48 0 8 8 amappl15 184 770 0 770 3 3 0 1 0 8 0 amappl14 176 839 0 834 1 0 1 1 0 8 0 amappl13 168 891 0 891 2 2 0 1 0 8 0 amappl12 160 23 0 21 1 0 1 1 0 8 0 amappl11 152 571 0 559 1 0 1 1 0 8 0 amappl10 144 1331 0 1330 1 0 1 1 0 8 0 amappl9 136 1831 0 1825 1 0 1 1 0 8 0 amappl8 128 1411 0 1376 2 0 2 2 0 8 0 amappl7 120 1414 0 1408 1 0 1 1 0 8 0 amappl6 112 584 0 570 1 0 1 1 0 8 0 amappl5 104 411 0 401 1 0 1 1 0 8 0 amappl4 96 6243 0 6216 1 0 1 1 0 8 0 amappl3 88 1280 0 1275 1 0 1 1 0 8 0 amappl2 80 44090 0 44023 3 1 2 3 0 8 0 amappl1 72 107601 0 107193 26 17 9 20 0 8 0 amappl 80 12839 0 12804 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 152 0 23 3 0 3 3 0 8 0 uaddrrnd 24 5684 0 5658 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5684 0 5658 1 0 1 1 0 8 0 vmmpekpl 168 38437 0 38410 2 0 2 2 0 8 0 vmmpepl 168 660936 0 659172 294 202 92 113 0 357 13 vmsppl 272 5671 0 5658 3 2 1 2 0 8 0 pdppl 4096 11374 0 11340 6 1 5 6 0 8 0 pvpl 32 1430038 0 1414808 405 219 186 271 0 265 50 pmappl 200 5683 0 5670 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 719 0 118 18 0 18 18 0 8 0