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(ffff80001797d950) at vm_get_info+0x9a VOP_IOCTL(fffffd80361dc820,c0185603,ffff80001797d950,1,fffffd803f7c6ba0,ffff800017946290) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ec6e628,c0185603,ffff80001797d950,ffff800017946290) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800017946290,ffff80001797da68,ffff80001797dab0) at sys_ioctl+0x5b9 syscall(ffff80001797db30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,386b0536010) at Xsyscall+0x128 end of kernel end trace frame: 0x38987fc8bd0, 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 = 18446744073709551296 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(fffffffffffffec0,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff80001797d950) at vm_get_info+0x9a VOP_IOCTL(fffffd80361dc820,c0185603,ffff80001797d950,1,fffffd803f7c6ba0,ffff800017946290) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ec6e628,c0185603,ffff80001797d950,ffff800017946290) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800017946290,ffff80001797da68,ffff80001797dab0) at sys_ioctl+0x5b9 syscall(ffff80001797db30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,386b0536010) at Xsyscall+0x128 end of kernel end trace frame: 0x38987fc8bd0, count: -9 ddb> show registers rdi 0xffffffff81292c97 db_enter+0x17 rsi 0x1886a acpi_pdirpa+0x46d2 rbp 0xffff80001797d590 rbx 0xffff80001797d640 rdx 0x1886b acpi_pdirpa+0x46d3 rcx 0xffff800014921000 rax 0xffff800014921000 r8 0xffff80001797d550 r9 0x1 r10 0xffff800000a5ec80 r11 0x2a884062d51cb9eb r12 0x3000000008 r13 0xffff80001797d5a0 r14 0x100 r15 0x1 rip 0xffffffff81292c98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001797d580 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=103435 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800017946508,0xffffffff8256d300 process=0xffff8000ffff6d90 user=0xffff800017978000, vmspace=0xfffffd803f013990 estcpu=36, cpticks=15, pctcpu=0.0 user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54935 121676 57305 0 2 0 syz-executor.0 *54935 103435 57305 0 7 0x4000000 syz-executor.0 57579 92577 0 0 3 0x14200 acct acct 78862 6071 0 0 3 0x14200 bored sosplice 18533 276985 1 0 3 0x100083 ttyin getty 57305 187029 48026 0 2 0x482 syz-executor.0 48026 190039 4537 0 3 0x82 thrsleep syz-fuzzer 48026 368136 4537 0 3 0x4000082 thrsleep syz-fuzzer 48026 247039 4537 0 3 0x4000082 thrsleep syz-fuzzer 48026 159280 4537 0 3 0x4000082 thrsleep syz-fuzzer 48026 20542 4537 0 3 0x4000082 thrsleep syz-fuzzer 48026 315822 4537 0 3 0x4000082 kqread syz-fuzzer 48026 336396 4537 0 3 0x4000082 thrsleep syz-fuzzer 4537 378646 80066 0 3 0x10008a pause ksh 80066 84115 75623 0 3 0x92 select sshd 75623 520115 1 0 3 0x80 select sshd 54238 522567 7551 73 3 0x100090 kqread syslogd 7551 362607 1 0 3 0x100082 netio syslogd 79885 434221 1 77 3 0x100090 poll dhclient 90435 333945 1 0 3 0x80 poll dhclient 3586 339306 0 0 2 0x14200 zerothread 41527 314999 0 0 3 0x14200 aiodoned aiodoned 4741 486339 0 0 3 0x14200 syncer update 31679 114499 0 0 3 0x14200 cleaner cleaner 82384 149335 0 0 3 0x14200 reaper reaper 57808 442152 0 0 3 0x14200 pgdaemon pagedaemon 81754 349552 0 0 3 0x14200 bored crynlk 97084 43280 0 0 3 0x14200 bored crypto 2615 238132 0 0 3 0x40014200 acpi0 acpi0 39308 186484 0 0 3 0x14200 bored softnet 84339 494084 0 0 3 0x14200 bored systqmp 36576 214751 0 0 3 0x14200 bored systq 83667 65381 0 0 3 0x40014200 bored softclock 93064 398645 0 0 3 0x40014200 idle0 34955 7884 0 0 3 0x14200 bored smr 1 504004 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 9493 6338K 6958K 78643K 13037 0 0 pcb 13 8K 8K 78643K 113 0 0 rtable 94 3K 4K 78643K 410 0 0 ifaddr 48 11K 13K 78643K 120 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 60 0 0 iov 0 0K 16K 78643K 75 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 2128 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 7 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 0K 78643K 104 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 956 0 0 sigio 1 0K 0K 78643K 18 0 0 proc 48 38K 54K 78643K 512 0 0 subproc 16 1K 2K 78643K 70 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 71 0 0 in_multi 22 1K 2K 78643K 71 0 0 ether_multi 1 0K 0K 78643K 3 0 0 mrt 0 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 288 0 0 pfkey data 0 0K 0K 78643K 2 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 91 13K 30K 78643K 3086 0 0 UVM aobj 38 2K 2K 78643K 42 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 96 0 0 NDP 10 0K 0K 78643K 35 0 0 temp 146 3541K 3611K 78643K 13382 0 0 kqueue 0 0K 0K 78643K 3 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 10 0 6 1 0 1 1 0 8 0 rtpcb 80 57 0 55 1 0 1 1 0 8 0 rtentry 112 67 0 32 2 0 2 2 0 8 0 unpcb 120 338 0 330 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 3210 0 3210 2 2 0 1 0 8 0 tcpcb 544 192 0 188 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 512 0 505 3 2 1 2 0 8 0 nd6 48 8 0 6 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 13 0 13 3 2 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 302 0 132 14 0 14 14 0 8 2 art_table 32 303 0 132 2 0 2 2 0 8 0 art_node 16 65 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 100 0 90 1 0 1 1 0 8 0 shmpl 112 40 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2929 0 1546 46 0 46 46 0 8 0 ffsino 240 2929 0 1546 83 0 83 83 0 8 0 nchpl 144 4448 0 2862 61 1 60 61 0 8 0 uvmvnodes 72 3571 0 0 65 0 65 65 0 8 0 vnodes 208 3571 0 0 188 0 188 188 0 8 0 namei 1024 13030 0 13030 2 1 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scxspl 192 13076 0 13076 8 7 1 6 0 8 1 plimitpl 152 75 0 69 1 0 1 1 0 8 0 sigapl 432 1122 0 1110 2 0 2 2 0 8 0 futexpl 56 15233 0 15233 1 0 1 1 0 8 1 knotepl 112 294 0 281 1 0 1 1 0 8 0 kqueuepl 104 240 0 234 1 0 1 1 0 8 0 pipepl 112 598 0 585 1 0 1 1 0 8 0 fdescpl 424 1123 0 1110 2 0 2 2 0 8 0 filepl 120 6603 0 6522 4 0 4 4 0 8 1 lockfpl 104 371 0 370 1 0 1 1 0 8 0 lockfspl 48 121 0 120 1 0 1 1 0 8 0 sessionpl 112 20 0 11 1 0 1 1 0 8 0 pgrppl 48 30 0 21 1 0 1 1 0 8 0 ucredpl 96 1179 0 1172 1 0 1 1 0 8 0 zombiepl 144 1110 0 1110 2 1 1 1 0 8 1 processpl 864 1139 0 1110 4 0 4 4 0 8 0 procpl 632 2291 0 2255 4 0 4 4 0 8 0 sosppl 128 12 0 12 2 2 0 1 0 8 0 sockpl 384 921 0 904 4 1 3 4 0 8 1 mcl64k 65536 36 0 36 1 0 1 1 0 8 1 mcl16k 16384 5 0 5 2 2 0 1 0 8 0 mcl12k 12288 15 0 15 2 2 0 1 0 8 0 mcl9k 9216 9 0 9 4 3 1 1 0 8 1 mcl8k 8192 17 0 17 3 2 1 1 0 8 1 mcl4k 4096 64 0 64 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 2 2 0 1 0 8 0 mcl2k 2048 56357 0 56312 16 9 7 12 0 8 0 mtagpl 80 19 0 10 2 1 1 1 0 8 0 mbufpl 256 95473 0 95390 13 3 10 10 0 8 1 bufpl 256 8435 0 3531 307 0 307 307 0 8 0 anonpl 16 111962 0 101742 89 25 64 68 0 62 12 amapchunkpl 152 5078 0 4955 13 6 7 11 0 158 1 amappl16 192 5502 0 4804 61 23 38 46 0 8 3 amappl14 176 396 0 393 1 0 1 1 0 8 0 amappl13 168 10 0 9 1 0 1 1 0 8 0 amappl12 160 69 0 66 1 0 1 1 0 8 0 amappl11 152 52 0 41 1 0 1 1 0 8 0 amappl10 144 439 0 435 1 0 1 1 0 8 0 amappl9 136 660 0 655 1 0 1 1 0 8 0 amappl8 128 211 0 192 1 0 1 1 0 8 0 amappl7 120 472 0 467 1 0 1 1 0 8 0 amappl6 112 68 0 60 1 0 1 1 0 8 0 amappl5 104 218 0 208 1 0 1 1 0 8 0 amappl4 96 1300 0 1273 1 0 1 1 0 8 0 amappl3 88 187 0 180 1 0 1 1 0 8 0 amappl2 80 7995 0 7932 3 1 2 3 0 8 0 amappl1 72 29475 0 29086 26 17 9 20 0 8 0 amappl 80 2556 0 2516 2 0 2 2 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 41 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1125 0 1110 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1125 0 1110 1 0 1 1 0 8 0 vmmpekpl 168 11269 0 11246 2 0 2 2 0 8 0 vmmpepl 168 136470 0 134811 122 24 98 98 0 357 24 vmsppl 272 1122 0 1110 2 1 1 2 0 8 0 pdppl 4096 2256 0 2224 6 1 5 6 0 8 0 pvpl 32 318590 0 304934 194 31 163 167 0 265 34 pmappl 200 1124 0 1112 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 458 0 22 13 0 13 13 0 8 0