panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffff9c0,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000171548d0) at vm_get_info+0x9a VOP_IOCTL(fffffd80361c0680,c0185603,ffff8000171548d0,1,fffffd803f7c6ba0,ffff8000ffff2508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803755d4b0,c0185603,ffff8000171548d0,ffff8000ffff2508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2508,ffff8000171549e8,ffff800017154a30) at sys_ioctl+0x5b9 syscall(ffff800017154ab0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,aa8c0dd6010) at Xsyscall+0x128 end of kernel end trace frame: 0xaab5f15be30, 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 = 18446744073709550016 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(fffffffffffff9c0,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000171548d0) at vm_get_info+0x9a VOP_IOCTL(fffffd80361c0680,c0185603,ffff8000171548d0,1,fffffd803f7c6ba0,ffff8000ffff2508) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd803755d4b0,c0185603,ffff8000171548d0,ffff8000ffff2508) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2508,ffff8000171549e8,ffff800017154a30) at sys_ioctl+0x5b9 syscall(ffff800017154ab0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,aa8c0dd6010) at Xsyscall+0x128 end of kernel end trace frame: 0xaab5f15be30, count: -9 ddb> show registers rdi 0xffffffff814eda77 db_enter+0x17 rsi 0x4a90 __ALIGN_SIZE+0x3a90 rbp 0xffff800017154510 rbx 0xffff8000171545c0 rdx 0x4a91 __ALIGN_SIZE+0x3a91 rcx 0xffff800017541000 rax 0xffff800017541000 r8 0xffff8000171544d0 r9 0x1 r10 0xffff800000acff80 r11 0x3c407e64ee65f751 r12 0x3000000008 r13 0xffff800017154520 r14 0x100 r15 0x1 rip 0xffffffff814eda78 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800017154500 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=116775 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2c70,0xffffffff8256a900 process=0xffff8000148a2d98 user=0xffff80001714f000, vmspace=0xfffffd803f014220 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 44639 290533 39244 0 2 0 syz-executor.1 *44639 116775 39244 0 7 0x4000000 syz-executor.1 27835 156842 47848 0 3 0x82 nanosleep syz-executor.0 39244 518456 47848 0 2 0x482 syz-executor.1 67262 475323 1 0 3 0x100083 ttyin getty 85902 443041 0 0 3 0x14200 acct acct 10693 397830 0 0 3 0x14200 bored sosplice 47848 329665 95113 0 3 0x82 thrsleep syz-fuzzer 47848 102107 95113 0 3 0x4000082 thrsleep syz-fuzzer 47848 172517 95113 0 3 0x4000082 kqread syz-fuzzer 47848 146599 95113 0 3 0x4000082 thrsleep syz-fuzzer 47848 29847 95113 0 3 0x4000082 thrsleep syz-fuzzer 47848 445644 95113 0 3 0x4000082 thrsleep syz-fuzzer 47848 133732 95113 0 3 0x4000082 thrsleep syz-fuzzer 95113 461167 49803 0 3 0x10008a pause ksh 49803 245922 84426 0 3 0x92 select sshd 84426 28600 1 0 3 0x80 select sshd 61603 236058 24549 73 3 0x100090 kqread syslogd 24549 51976 1 0 3 0x100082 netio syslogd 73937 27623 1 77 3 0x100090 poll dhclient 53302 405812 1 0 3 0x80 poll dhclient 26561 225191 0 0 2 0x14200 zerothread 32361 194198 0 0 3 0x14200 aiodoned aiodoned 28089 265421 0 0 3 0x14200 syncer update 66156 130696 0 0 3 0x14200 cleaner cleaner 81653 190640 0 0 3 0x14200 reaper reaper 85393 155098 0 0 3 0x14200 pgdaemon pagedaemon 55593 40151 0 0 3 0x14200 bored crynlk 92509 379699 0 0 3 0x14200 bored crypto 41899 402264 0 0 3 0x40014200 acpi0 acpi0 29226 433026 0 0 3 0x14200 bored softnet 38395 372414 0 0 3 0x14200 bored systqmp 49689 392071 0 0 3 0x14200 bored systq 39721 50641 0 0 3 0x40014200 bored softclock 90627 74363 0 0 3 0x40014200 idle0 47785 27746 0 0 3 0x14200 bored smr 1 365136 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 9544 6424K 14809K 78643K 16863 0 0 pcb 13 8K 8K 78643K 282 0 0 rtable 111 3K 4K 78643K 875 0 0 ifaddr 68 15K 17K 78643K 286 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 165 0 0 iov 0 0K 24K 78643K 285 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 77K 78643K 3630 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 31 0 0 VM map 2 0K 0K 78643K 12 0 0 sem 12 0K 0K 78643K 234 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 2624 0 0 sigio 0 0K 0K 78643K 48 0 0 proc 50 38K 55K 78643K 952 0 0 subproc 32 2K 2K 78643K 170 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 242 0 0 in_multi 33 2K 2K 78643K 194 0 0 ether_multi 1 0K 0K 78643K 10 0 0 mrt 1 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 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 538 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 7000 0 0 UVM aobj 123 6K 6K 78643K 134 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 233 0 0 NDP 15 0K 0K 78643K 89 0 0 temp 191 3536K 3604K 78643K 21320 0 0 kqueue 0 0K 0K 78643K 18 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 24 0 18 1 0 1 1 0 8 0 rtpcb 80 129 0 127 1 0 1 1 0 8 0 rtentry 112 129 0 84 2 0 2 2 0 8 0 unpcb 120 769 0 761 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1754 0 1754 1 1 0 1 0 8 0 tcpcb 544 534 0 530 1 0 1 1 0 8 0 ipq 40 9 0 9 5 5 0 1 0 8 0 ipqe 40 24 0 24 5 5 0 1 0 8 0 inpcb 280 1430 0 1423 3 2 1 2 0 8 0 nd6 48 20 0 16 1 0 1 1 0 8 0 pkpcb 40 8 0 8 4 4 0 1 0 8 0 ppxss 1128 34 0 34 11 10 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 574 0 359 17 3 14 14 0 8 0 art_table 32 575 0 359 2 0 2 2 0 8 0 art_node 16 127 0 87 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 14 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 232 0 222 1 0 1 1 0 8 0 shmpl 112 132 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5465 0 4077 46 0 46 46 0 8 0 ffsino 240 5465 0 4077 83 0 83 83 0 8 0 nchpl 144 9252 0 7662 60 0 60 60 0 8 0 uvmvnodes 72 6358 0 0 116 0 116 116 0 8 0 vnodes 208 6358 0 0 335 0 335 335 0 8 0 namei 1024 29384 0 29384 5 4 1 1 0 8 1 vmpool 520 10 0 10 4 4 0 1 0 8 0 scsiplug 64 3 0 3 3 2 1 1 0 8 1 scxspl 192 31068 0 31068 13 12 1 7 0 8 1 plimitpl 152 191 0 184 1 0 1 1 0 8 0 sigapl 432 2772 0 2759 2 0 2 2 0 8 0 futexpl 56 42638 0 42638 4 3 1 1 0 8 1 knotepl 112 685 0 666 1 0 1 1 0 8 0 kqueuepl 104 619 0 617 1 0 1 1 0 8 0 pipepl 112 1346 0 1327 5 4 1 2 0 8 0 fdescpl 424 2773 0 2759 2 0 2 2 0 8 0 filepl 120 16081 0 15981 5 1 4 4 0 8 0 lockfpl 104 832 0 831 1 0 1 1 0 8 0 lockfspl 48 274 0 273 1 0 1 1 0 8 0 sessionpl 112 26 0 16 1 0 1 1 0 8 0 pgrppl 48 58 0 48 1 0 1 1 0 8 0 ucredpl 96 3069 0 3062 1 0 1 1 0 8 0 zombiepl 144 2759 0 2758 3 2 1 1 0 8 0 processpl 864 2789 0 2758 4 0 4 4 0 8 0 procpl 632 5893 0 5855 4 0 4 4 0 8 0 sosppl 128 26 0 26 6 5 1 1 0 8 1 sockpl 384 2366 0 2349 7 4 3 3 0 8 1 mcl64k 65536 1823 0 1823 160 131 29 64 0 8 29 mcl16k 16384 10 0 10 6 6 0 1 0 8 0 mcl12k 12288 55 0 55 12 11 1 1 0 8 1 mcl9k 9216 26 0 26 9 9 0 1 0 8 0 mcl8k 8192 51 0 51 13 12 1 1 0 8 1 mcl4k 4096 118 0 118 7 6 1 1 0 8 1 mcl2k2 2112 10 0 10 6 5 1 1 0 8 1 mcl2k 2048 63476 0 63437 13 7 6 11 0 8 0 mtagpl 80 46 0 40 4 3 1 1 0 8 0 mbufpl 256 115701 0 115614 97 77 20 37 0 8 12 bufpl 256 12985 0 6599 400 0 400 400 0 8 0 anonpl 16 296429 0 283986 162 95 67 78 0 62 13 amapchunkpl 152 11951 0 11851 28 20 8 15 0 158 3 amappl16 192 16251 0 15528 154 109 45 56 0 8 8 amappl15 184 10 0 10 2 2 0 1 0 8 0 amappl14 176 424 0 420 1 0 1 1 0 8 0 amappl13 168 910 0 910 1 1 0 1 0 8 0 amappl12 160 189 0 185 1 0 1 1 0 8 0 amappl11 152 579 0 568 1 0 1 1 0 8 0 amappl10 144 401 0 399 3 2 1 1 0 8 0 amappl9 136 829 0 822 1 0 1 1 0 8 0 amappl8 128 371 0 347 1 0 1 1 0 8 0 amappl7 120 459 0 452 1 0 1 1 0 8 0 amappl6 112 571 0 563 1 0 1 1 0 8 0 amappl5 104 401 0 390 1 0 1 1 0 8 0 amappl4 96 2913 0 2888 1 0 1 1 0 8 0 amappl3 88 716 0 711 1 0 1 1 0 8 0 amappl2 80 21685 0 21616 3 1 2 3 0 8 0 amappl1 72 57572 0 57164 27 18 9 20 0 8 0 amappl 80 6250 0 6216 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 133 0 11 2 0 2 2 0 8 0 uaddrrnd 24 2783 0 2759 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2783 0 2759 1 0 1 1 0 8 0 vmmpekpl 168 20131 0 20101 2 0 2 2 0 8 0 vmmpepl 168 332290 0 330531 212 121 91 103 0 357 9 vmsppl 272 2772 0 2759 2 1 1 2 0 8 0 pdppl 4096 5572 0 5538 6 1 5 6 0 8 0 pvpl 32 816786 0 801255 351 187 164 272 0 265 32 pmappl 200 2782 0 2769 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 816 0 250 17 0 17 17 0 8 0