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(ffff800021b755c0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e18bc30,c0185603,ffff800021b755c0,43,fffffd807f7c6900,ffff800020ab1650) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8067340bf0,c0185603,ffff800021b755c0,ffff800020ab1650) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020ab1650,ffff800021b756d8,ffff800021b75720) at sys_ioctl+0x5b9 syscall(ffff800021b757a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b757a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,d73d44c6010) at Xsyscall+0x128 end of kernel end trace frame: 0xd7666197250, 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(ffff800021b755c0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e18bc30,c0185603,ffff800021b755c0,43,fffffd807f7c6900,ffff800020ab1650) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8067340bf0,c0185603,ffff800021b755c0,ffff800020ab1650) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020ab1650,ffff800021b756d8,ffff800021b75720) at sys_ioctl+0x5b9 syscall(ffff800021b757a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b757a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,d73d44c6010) at Xsyscall+0x128 end of kernel end trace frame: 0xd7666197250, count: -9 ddb{0}> show registers rdi 0xffffffff8217d427 db_enter+0x17 rsi 0x1ec90 acpi_pdirpa+0xaaf8 rbp 0xffff800021b75200 rbx 0xffff800021b752b0 rdx 0x1ec91 acpi_pdirpa+0xaaf9 rcx 0xffff800021b7c000 rax 0xffff800021b7c000 r8 0xffffffff81821ddf kprintf+0x16f r9 0x1 r10 0x25 r11 0x3ec1af26d5a8675e r12 0x3000000008 r13 0xffff800021b75210 r14 0x100 r15 0x1 rip 0xffffffff8217d428 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021b751f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=102298 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0780,0xffff800020ab0a08 process=0xffff800020add880 user=0xffff800021b70000, vmspace=0xfffffd807f00c170 estcpu=36, cpticks=11, pctcpu=0.0 user=0, sys=11, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77797 3602 52651 0 2 0 syz-executor.1 *77797 102298 52651 0 7 0x4000000 syz-executor.1 77797 164593 52651 0 7 0x4000000 syz-executor.1 982 283324 3617 0 2 0 syz-executor.0 982 130912 3617 0 3 0x4000080 piperd syz-executor.0 3617 374957 59867 0 2 0x482 syz-executor.0 52651 304871 59867 0 2 0x482 syz-executor.1 6072 146291 1 0 3 0x100083 ttyin getty 79792 66143 0 0 3 0x14200 bored sosplice 59867 97099 35484 0 3 0x82 thrsleep syz-fuzzer 59867 131046 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 162815 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 486398 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 259109 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 29637 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 122477 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 146660 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 406921 35484 0 3 0x4000082 thrsleep syz-fuzzer 59867 276736 35484 0 3 0x4000082 kqread syz-fuzzer 35484 507056 5813 0 3 0x10008a pause ksh 5813 305487 68739 0 3 0x92 select sshd 68739 228438 1 0 3 0x80 select sshd 91690 465568 65970 74 3 0x100092 bpf pflogd 65970 419431 1 0 3 0x80 netio pflogd 33894 496881 98197 73 3 0x100090 kqread syslogd 98197 163456 1 0 3 0x100082 netio syslogd 12114 100591 1 77 3 0x100090 poll dhclient 57852 372033 1 0 3 0x80 poll dhclient 78851 8753 0 0 2 0x14200 zerothread 64645 390013 0 0 3 0x14200 aiodoned aiodoned 14105 376228 0 0 3 0x14200 syncer update 79843 403677 0 0 3 0x14200 cleaner cleaner 27399 182897 0 0 3 0x14200 reaper reaper 62604 173214 0 0 3 0x14200 pgdaemon pagedaemon 47962 187558 0 0 3 0x14200 bored crynlk 16134 55227 0 0 3 0x14200 bored crypto 51167 337161 0 0 3 0x40014200 acpi0 acpi0 74546 71393 0 0 3 0x40014200 idle1 85943 373123 0 0 3 0x14200 bored softnet 84282 325866 0 0 3 0x14200 bored systqmp 13025 275932 0 0 3 0x14200 bored systq 21169 126423 0 0 2 0x40014200 softclock 13427 460160 0 0 3 0x40014200 idle0 37486 369633 0 0 2 0x14200 smr 1 321147 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 77797 (syz-executor.1) thread 0xffff800020ab1650 (102298) 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 (0xffffffff826466c8) #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 9562 6576K 7411K 78643K 15520 0 0 pcb 13 8K 8K 78643K 199 0 0 rtable 102 3K 4K 78643K 725 0 0 ifaddr 68 14K 15K 78643K 247 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1530 0 0 iov 0 0K 16K 78643K 172 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1222 77K 77K 78643K 2897 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 1K 1K 78643K 4 0 0 sem 12 0K 0K 78643K 231 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 6 17K 25K 78643K 1559 0 0 sigio 0 0K 0K 78643K 27 0 0 proc 61 63K 83K 78643K 854 0 0 subproc 32 2K 2K 78643K 136 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 151 0 0 in_multi 29 1K 2K 78643K 155 0 0 ether_multi 1 0K 0K 78643K 18 0 0 mrt 0 0K 0K 78643K 11 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 90 397K 397K 78643K 90 0 0 exec 0 0K 1K 78643K 412 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 107 21K 30K 78643K 6248 0 0 UVM aobj 69 3K 3K 78643K 79 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 182 0 0 NDP 15 0K 0K 78643K 73 0 0 temp 194 3556K 3629K 78643K 14023 0 0 kqueue 0 0K 0K 78643K 9 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 19 0 13 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 195 0 193 1 0 1 1 0 8 0 rtentry 112 103 0 63 2 0 2 2 0 8 0 unpcb 120 639 0 629 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 5645 0 5645 1 1 0 1 0 8 0 tcpcb 544 1824 0 1817 9 7 2 3 0 8 1 inpcb 280 2437 0 2428 6 4 2 3 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 14 0 11 1 0 1 1 0 8 0 pkpcb 40 10 0 10 4 4 0 1 0 8 0 ppxss 1128 31 0 31 5 4 1 1 0 8 1 pffrag 232 7 0 7 3 2 1 1 0 482 1 pffrnode 88 7 0 7 3 2 1 1 0 8 1 pffrent 40 14 0 14 3 2 1 1 0 8 1 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 56 0 28 1 0 1 1 0 8 0 pfstkey 112 56 0 28 1 0 1 1 0 8 0 pfstate 328 56 0 28 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 445 0 243 14 0 14 14 0 8 1 art_table 32 446 0 243 2 0 2 2 0 8 0 art_node 16 100 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 229 0 219 1 0 1 1 0 8 0 shmpl 112 77 0 10 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3832 0 2430 46 0 46 46 0 8 0 ffsino 272 3832 0 2430 95 1 94 95 0 8 0 nchpl 144 6320 0 4699 61 0 61 61 0 8 0 uvmvnodes 72 5112 0 0 93 0 93 93 0 8 0 vnodes 208 5112 0 0 270 0 270 270 0 8 0 namei 1024 21013 0 21013 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 17965 0 17965 15 12 3 7 0 8 3 plimitpl 152 159 0 151 1 0 1 1 0 8 0 sigapl 432 1743 0 1727 3 1 2 3 0 8 0 futexpl 56 28613 0 28613 1 0 1 1 0 8 1 knotepl 112 673 0 654 2 1 1 2 0 8 0 kqueuepl 104 473 0 471 1 0 1 1 0 8 0 pipepl 112 2126 0 2101 7 5 2 2 0 8 1 fdescpl 488 1744 0 1727 3 0 3 3 0 8 0 filepl 152 14680 0 14567 13 8 5 7 0 8 0 lockfpl 104 451 0 450 1 0 1 1 0 8 0 lockfspl 48 152 0 151 1 0 1 1 0 8 0 sessionpl 112 26 0 15 1 0 1 1 0 8 0 pgrppl 48 40 0 29 1 0 1 1 0 8 0 ucredpl 96 2395 0 2386 1 0 1 1 0 8 0 zombiepl 144 1727 0 1727 2 1 1 1 0 8 1 processpl 896 1760 0 1727 4 0 4 4 0 8 0 procpl 632 5196 0 5151 6 1 5 5 0 8 1 srpgc 64 14 0 14 5 4 1 1 0 8 1 sosppl 128 21 0 21 5 4 1 1 0 8 1 sockpl 384 3303 0 3282 13 9 4 6 0 8 1 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 146 0 0 16 0 16 16 0 8 0 mtagpl 80 18 0 0 1 0 1 1 0 8 0 mbufpl 256 507 0 0 30 0 30 30 0 8 0 bufpl 256 9576 0 2528 441 0 441 441 0 8 0 anonpl 16 180581 0 167261 109 44 65 71 0 124 8 amapchunkpl 152 10952 0 10837 22 16 6 10 0 158 0 amappl16 192 8128 0 7367 83 37 46 51 0 8 7 amappl15 184 139 0 139 1 1 0 1 0 8 0 amappl14 176 899 0 897 1 0 1 1 0 8 0 amappl12 160 334 0 332 1 0 1 1 0 8 0 amappl11 152 159 0 144 1 0 1 1 0 8 0 amappl10 144 137 0 132 1 0 1 1 0 8 0 amappl9 136 720 0 712 1 0 1 1 0 8 0 amappl8 128 280 0 250 4 2 2 2 0 8 0 amappl7 120 176 0 168 1 0 1 1 0 8 0 amappl6 112 152 0 143 1 0 1 1 0 8 0 amappl5 104 557 0 540 1 0 1 1 0 8 0 amappl4 96 1110 0 1077 1 0 1 1 0 8 0 amappl3 88 2002 0 1997 1 0 1 1 0 8 0 amappl2 80 13001 0 12920 3 1 2 3 0 8 0 amappl1 72 48267 0 47802 26 16 10 20 0 8 0 amappl 80 5534 0 5493 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 78 0 10 2 0 2 2 0 8 0 uaddrrnd 24 1746 0 1727 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1746 0 1727 1 0 1 1 0 8 0 vmmpekpl 168 19497 0 19459 2 0 2 2 0 8 0 vmmpepl 168 222771 0 220763 201 91 110 111 0 357 22 vmsppl 368 1743 0 1727 2 0 2 2 0 8 0 pdppl 4096 3499 0 3458 7 1 6 6 0 8 0 pvpl 32 516737 0 500121 247 81 166 176 0 265 27 pmappl 232 1745 0 1729 2 1 1 2 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 633 0 13 18 0 18 18 0 8 0