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(ffff800023bb1bc0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e6dd8f0,c0185603,ffff800023bb1bc0,1,fffffd807f7c66c0,ffff800020abfb40) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd80672749a0,c0185603,ffff800023bb1bc0,ffff800020abfb40) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abfb40,ffff800023bb1cd8,ffff800023bb1d20) at sys_ioctl+0x5b9 syscall(ffff800023bb1da0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023bb1da0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,35a2000e010) at Xsyscall+0x128 end of kernel end trace frame: 0x35c95049ef0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic malloc: allocation too large, type = 2, size = 18446744073709551296 ddb{0}> 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(ffff800023bb1bc0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e6dd8f0,c0185603,ffff800023bb1bc0,1,fffffd807f7c66c0,ffff800020abfb40) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd80672749a0,c0185603,ffff800023bb1bc0,ffff800020abfb40) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abfb40,ffff800023bb1cd8,ffff800023bb1d20) at sys_ioctl+0x5b9 syscall(ffff800023bb1da0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023bb1da0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,35a2000e010) at Xsyscall+0x128 end of kernel end trace frame: 0x35c95049ef0, count: -9 ddb{0}> show registers rdi 0xffffffff820d23c7 db_enter+0x17 rsi 0x14c8b acpi_pdirpa+0xaf3 rbp 0xffff800023bb1800 rbx 0xffff800023bb18b0 rdx 0x14c8c acpi_pdirpa+0xaf4 rcx 0xffff800021b70000 rax 0xffff800021b70000 r8 0xffffffff81a5e3cf kprintf+0x16f r9 0x1 r10 0x25 r11 0xf8311e6dcd00062d r12 0x3000000008 r13 0xffff800023bb1810 r14 0x100 r15 0x1 rip 0xffffffff820d23c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023bb17f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=332122 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020abe290,0xffffffff82653290 process=0xffff800020add880 user=0xffff800023bac000, vmspace=0xfffffd807f00c8a0 estcpu=30, cpticks=2, pctcpu=0.6 user=0, sys=8, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7485 173098 77061 0 7 0 syz-executor.1 * 7485 332122 77061 0 7 0x4000000 syz-executor.1 5180 356169 72919 0 2 0x482 syz-executor.0 77061 175603 72919 0 2 0x482 syz-executor.1 85160 425039 0 0 3 0x14200 bored sosplice 72919 44160 1908 0 3 0x82 thrsleep syz-fuzzer 72919 76181 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 302820 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 182916 1908 0 3 0x4000082 kqread syz-fuzzer 72919 343446 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 174850 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 425576 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 16940 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 240632 1908 0 3 0x4000082 thrsleep syz-fuzzer 72919 282514 1908 0 3 0x4000082 thrsleep syz-fuzzer 1908 230653 34841 0 3 0x10008a pause ksh 34841 455775 3972 0 3 0x92 select sshd 40536 455087 1 0 3 0x100083 ttyin getty 3972 174840 1 0 3 0x80 select sshd 17793 113399 70713 74 2 0x100492 pflogd 70713 48495 1 0 3 0x80 netio pflogd 35493 391162 19477 73 3 0x100090 kqread syslogd 19477 430769 1 0 3 0x100082 netio syslogd 58531 462892 1 77 3 0x100090 poll dhclient 27946 96503 1 0 3 0x80 poll dhclient 57364 479461 0 0 3 0x14200 pgzero zerothread 84921 215388 0 0 3 0x14200 aiodoned aiodoned 24958 320495 0 0 2 0x14200 update 40027 298798 0 0 3 0x14200 cleaner cleaner 3785 238386 0 0 3 0x14200 reaper reaper 27153 259703 0 0 3 0x14200 pgdaemon pagedaemon 10872 56259 0 0 3 0x14200 bored crynlk 79424 193803 0 0 3 0x14200 bored crypto 73857 167353 0 0 3 0x40014200 acpi0 acpi0 65004 426025 0 0 3 0x40014200 idle1 53428 471944 0 0 2 0x14200 softnet 21351 467833 0 0 2 0x14200 systqmp 38583 40096 0 0 3 0x14200 bored systq 31116 41871 0 0 2 0x40014200 softclock 35211 178112 0 0 3 0x40014200 idle0 21030 2263 0 0 2 0x14200 smr 1 181923 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 7485 (syz-executor.1) thread 0xffff800020abfb40 (332122) shared rwlock vmlistlock r = 0 (0xffff80000066f478) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 vm_get_info+0x39 sys/arch/amd64/amd64/vmm.c:3712 #2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 #3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 #4 sys_ioctl+0x5b9 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8264cd40) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9524 6541K 6924K 78643K 12114 0 0 pcb 13 8K 8K 78643K 74 0 0 rtable 108 4K 4K 78643K 399 0 0 ifaddr 56 13K 13K 78643K 123 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1509 0 0 iov 0 0K 16K 78643K 39 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 77K 78643K 1775 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 10 0 0 VM map 2 1K 1K 78643K 4 0 0 sem 12 0K 0K 78643K 60 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 5 13K 25K 78643K 639 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 61 63K 83K 78643K 558 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 59 0 0 in_multi 33 2K 2K 78643K 81 0 0 ether_multi 1 0K 0K 78643K 4 0 0 mrt 0 0K 0K 78643K 9 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 279 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 97 21K 30K 78643K 2932 0 0 UVM aobj 21 2K 2K 78643K 21 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 11 0K 0K 78643K 35 0 0 temp 162 3558K 3624K 78643K 12354 0 0 kqueue 0 0K 0K 78643K 8 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 61 0 59 1 0 1 1 0 8 0 rtentry 112 68 0 24 2 0 2 2 0 8 0 unpcb 120 213 0 203 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 6151 0 6151 2 2 0 2 0 8 0 tcpcb 544 136 0 132 1 0 1 1 0 8 0 inpcb 280 392 0 385 2 1 1 2 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 8 0 4 1 0 1 1 0 8 0 ppxss 1128 13 0 13 2 1 1 1 0 8 1 pffrag 232 2 0 2 1 1 0 1 0 482 0 pffrnode 88 2 0 2 1 1 0 1 0 8 0 pffrent 40 6 0 6 1 1 0 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 33 0 15 1 0 1 1 0 8 0 pfstkey 112 33 0 15 1 0 1 1 0 8 0 pfstate 328 33 0 15 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 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 67 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 58 0 48 1 0 1 1 0 8 0 shmpl 112 19 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2321 0 924 46 0 46 46 0 8 0 ffsino 272 2321 0 924 95 0 95 95 0 8 0 nchpl 144 3358 0 1752 61 0 61 61 0 8 0 uvmvnodes 72 2771 0 0 51 0 51 51 0 8 0 vnodes 208 2771 0 0 146 0 146 146 0 8 0 namei 1024 9851 0 9851 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 2 1 1 0 1 0 8 0 scxspl 192 9352 0 9352 10 9 1 7 0 8 1 plimitpl 152 76 0 68 1 0 1 1 0 8 0 sigapl 432 833 0 818 3 1 2 3 0 8 0 futexpl 56 7711 0 7711 1 0 1 1 0 8 1 knotepl 112 194 0 175 1 0 1 1 0 8 0 kqueuepl 104 148 0 146 1 0 1 1 0 8 0 pipepl 112 452 0 433 2 1 1 2 0 8 0 fdescpl 488 834 0 818 3 0 3 3 0 8 0 filepl 152 4709 0 4607 7 2 5 6 0 8 1 lockfpl 104 226 0 225 1 0 1 1 0 8 0 lockfspl 48 79 0 78 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 683 0 674 1 0 1 1 0 8 0 zombiepl 144 818 0 817 2 1 1 1 0 8 0 processpl 896 850 0 817 4 0 4 4 0 8 0 procpl 632 2079 0 2036 7 2 5 5 0 8 1 srpgc 64 7 0 7 2 1 1 1 0 8 1 sosppl 128 14 0 14 2 2 0 1 0 8 0 sockpl 384 672 0 653 4 1 3 3 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 220 0 0 27 0 27 27 0 8 0 mtagpl 80 18 0 0 1 0 1 1 0 8 0 mbufpl 256 243 0 0 15 0 15 15 0 8 0 bufpl 256 7260 0 1315 372 0 372 372 0 8 0 anonpl 16 95768 0 85573 85 15 70 70 0 124 16 amapchunkpl 152 4808 0 4702 15 5 10 10 0 158 5 amappl16 192 4006 0 3278 63 18 45 49 0 8 8 amappl15 184 345 0 341 1 0 1 1 0 8 0 amappl14 176 159 0 157 1 0 1 1 0 8 0 amappl12 160 7 0 5 1 0 1 1 0 8 0 amappl11 152 357 0 340 1 0 1 1 0 8 0 amappl10 144 17 0 12 1 0 1 1 0 8 0 amappl9 136 646 0 640 1 0 1 1 0 8 0 amappl8 128 184 0 161 1 0 1 1 0 8 0 amappl7 120 47 0 42 1 0 1 1 0 8 0 amappl6 112 358 0 348 1 0 1 1 0 8 0 amappl5 104 145 0 131 1 0 1 1 0 8 0 amappl4 96 1098 0 1064 2 1 1 2 0 8 0 amappl3 88 233 0 228 1 0 1 1 0 8 0 amappl2 80 5761 0 5687 3 1 2 3 0 8 0 amappl1 72 27708 0 27281 25 15 10 20 0 8 0 amappl 80 2355 0 2318 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 20 0 0 1 0 1 1 0 8 0 uaddrrnd 24 836 0 818 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 836 0 818 1 0 1 1 0 8 0 vmmpekpl 168 9648 0 9607 3 1 2 2 0 8 0 vmmpepl 168 107219 0 105371 154 47 107 107 0 357 22 vmsppl 368 833 0 818 2 0 2 2 0 8 0 pdppl 4096 1679 0 1640 7 1 6 6 0 8 0 pvpl 32 277839 0 264490 210 36 174 174 0 265 41 pmappl 232 835 0 820 2 1 1 2 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 547 0 5 16 0 16 16 0 8 0