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(ffff800017768170) at vm_get_info+0x9a VOP_IOCTL(fffffd80360d24e0,c0185603,ffff800017768170,1,fffffd803f7c6a80,ffff8000ffff2018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802fdae708,c0185603,ffff800017768170,ffff8000ffff2018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2018,ffff800017768288,ffff8000177682d0) at sys_ioctl+0x5b9 syscall(ffff800017768350) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,ae77714a0e0) at Xsyscall+0x128 end of kernel end trace frame: 0xae9782085a0, 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(ffff800017768170) at vm_get_info+0x9a VOP_IOCTL(fffffd80360d24e0,c0185603,ffff800017768170,1,fffffd803f7c6a80,ffff8000ffff2018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802fdae708,c0185603,ffff800017768170,ffff8000ffff2018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2018,ffff800017768288,ffff8000177682d0) at sys_ioctl+0x5b9 syscall(ffff800017768350) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,ae77714a0e0) at Xsyscall+0x128 end of kernel end trace frame: 0xae9782085a0, count: -9 ddb> show registers rdi 0xffffffff82050c47 db_enter+0x17 rsi 0x1f1b0 acpi_pdirpa+0xb018 rbp 0xffff800017767db0 rbx 0xffff800017767e60 rdx 0x1f1b1 acpi_pdirpa+0xb019 rcx 0xffff800015957000 rax 0xffff800015957000 r8 0xffff800017767d70 r9 0x1 r10 0xffff800000a9a900 r11 0xf0efdba6d3b8d735 r12 0x3000000008 r13 0xffff800017767dc0 r14 0x100 r15 0x1 rip 0xffffffff82050c48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800017767da0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=422891 stat=onproc flags process=0 proc=4000000 pri=84, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2290,0xffffffff82598330 process=0xffff8000ffff70f0 user=0xffff800017763000, vmspace=0xfffffd803f014660 estcpu=34, cpticks=12, pctcpu=0.0 user=0, sys=10, intr=2 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24418 335351 21149 0 2 0 syz-executor.0 24418 423953 21149 0 3 0x4000080 lockf syz-executor.0 *24418 422891 21149 0 7 0x4000000 syz-executor.0 38365 129139 22269 0 2 0x2 syz-executor.1 77548 334087 1 0 3 0x100083 ttyin getty 21149 321883 22269 0 2 0x482 syz-executor.0 58119 448109 0 0 3 0x14200 bored sosplice 22269 93846 12517 0 3 0x82 thrsleep syz-fuzzer 22269 367000 12517 0 3 0x4000082 thrsleep syz-fuzzer 22269 452292 12517 0 3 0x4000082 kqread syz-fuzzer 22269 31234 12517 0 3 0x4000082 thrsleep syz-fuzzer 22269 516620 12517 0 3 0x4000082 thrsleep syz-fuzzer 22269 128951 12517 0 3 0x4000082 thrsleep syz-fuzzer 22269 408205 12517 0 3 0x4000082 thrsleep syz-fuzzer 12517 99779 75289 0 3 0x10008a pause ksh 75289 382880 45128 0 3 0x92 select sshd 45128 110454 1 0 3 0x80 select sshd 38861 23903 53750 73 3 0x100090 kqread syslogd 53750 36201 1 0 3 0x100082 netio syslogd 34209 22307 1 77 3 0x100090 poll dhclient 95928 216733 1 0 3 0x80 poll dhclient 23338 407680 0 0 2 0x14200 zerothread 72778 257542 0 0 3 0x14200 aiodoned aiodoned 81232 323118 0 0 3 0x14200 syncer update 63089 507403 0 0 3 0x14200 cleaner cleaner 76954 306196 0 0 3 0x14200 reaper reaper 86319 489320 0 0 3 0x14200 pgdaemon pagedaemon 80025 118973 0 0 3 0x14200 bored crynlk 63638 431284 0 0 3 0x14200 bored crypto 58331 226252 0 0 3 0x40014200 acpi0 acpi0 20758 187792 0 0 3 0x14200 bored softnet 8253 302558 0 0 3 0x14200 bored systqmp 95044 43948 0 0 3 0x14200 bored systq 350 506265 0 0 2 0x40014200 softclock 66734 72113 0 0 3 0x40014200 idle0 62276 27228 0 0 3 0x14200 bored smr 1 199578 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 9553 6360K 6996K 78643K 15949 0 0 pcb 15 8K 8K 78643K 220 0 0 rtable 115 12K 12K 78643K 710 0 0 ifaddr 74 15K 15K 78643K 230 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 111 0 0 iov 0 0K 24K 78643K 221 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 77K 78643K 3112 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 24 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 1K 78643K 216 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 2028 0 0 sigio 1 0K 0K 78643K 28 0 0 proc 49 38K 55K 78643K 744 0 0 subproc 32 2K 2K 78643K 119 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 250 0 0 in_multi 33 2K 2K 78643K 155 0 0 ether_multi 1 0K 0K 78643K 11 0 0 mrt 0 0K 0K 78643K 3 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 396 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 21K 31K 78643K 5637 0 0 UVM aobj 102 3K 3K 78643K 116 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 232 0 0 NDP 17 0K 0K 78643K 70 0 0 temp 205 3536K 3608K 78643K 49545 0 0 kqueue 0 0K 0K 78643K 16 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 17 0 11 1 0 1 1 0 8 0 rtpcb 80 115 0 113 1 0 1 1 0 8 0 rtentry 112 98 0 54 2 0 2 2 0 8 0 unpcb 120 645 0 637 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 2459 0 2459 2 2 0 1 0 8 0 tcpcb 544 367 0 361 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 280 1132 0 1121 2 1 1 2 0 8 0 nd6 48 14 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 26 0 26 7 6 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 434 0 219 14 0 14 14 0 8 0 art_table 32 435 0 219 2 0 2 2 0 8 0 art_node 16 95 0 55 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 12 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 214 0 204 1 0 1 1 0 8 0 shmpl 112 114 0 14 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4525 0 3141 46 0 46 46 0 8 0 ffsino 240 4525 0 3141 83 0 83 83 0 8 0 nchpl 144 7544 0 5950 60 0 60 60 0 8 0 uvmvnodes 72 5883 0 0 107 0 107 107 0 8 0 vnodes 208 5883 0 0 310 0 310 310 0 8 0 namei 1024 23428 0 23428 2 1 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 21934 0 21934 11 10 1 6 0 8 1 plimitpl 152 178 0 171 1 0 1 1 0 8 0 sigapl 432 2185 0 2172 2 0 2 2 0 8 0 futexpl 56 34040 0 34040 2 1 1 1 0 8 1 knotepl 112 478 0 459 1 0 1 1 0 8 0 kqueuepl 104 386 0 384 1 0 1 1 0 8 0 pipepl 112 1282 0 1263 3 2 1 2 0 8 0 fdescpl 424 2186 0 2172 2 0 2 2 0 8 0 filepl 120 13149 0 13048 5 1 4 5 0 8 0 lockfpl 104 721 0 718 1 0 1 1 0 8 0 lockfspl 48 245 0 243 1 0 1 1 0 8 0 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 2516 0 2509 1 0 1 1 0 8 0 zombiepl 144 2172 0 2172 2 1 1 1 0 8 1 processpl 864 2201 0 2172 4 0 4 4 0 8 0 procpl 632 4690 0 4653 4 0 4 4 0 8 0 sosppl 128 23 0 23 6 5 1 1 0 8 1 sockpl 384 1906 0 1885 5 2 3 3 0 8 0 mcl64k 65536 65 0 65 7 6 1 1 0 8 1 mcl16k 16384 6 0 6 3 3 0 1 0 8 0 mcl12k 12288 40 0 40 6 5 1 1 0 8 1 mcl9k 9216 39 0 39 7 6 1 1 0 8 1 mcl8k 8192 31 0 31 9 8 1 1 0 8 1 mcl4k 4096 128 0 128 5 4 1 1 0 8 1 mcl2k2 2112 8 0 8 5 5 0 1 0 8 0 mcl2k 2048 61430 0 61381 16 9 7 13 0 8 0 mtagpl 80 52 0 42 2 1 1 1 0 8 0 mbufpl 256 108687 0 108600 17 6 11 12 0 8 0 bufpl 256 12569 0 6231 397 0 397 397 0 8 0 anonpl 16 198210 0 185196 109 52 57 67 0 62 3 amapchunkpl 152 9732 0 9626 33 27 6 14 0 158 0 amappl16 192 10688 0 9969 92 52 40 47 0 8 3 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 1108 0 1104 1 0 1 1 0 8 0 amappl13 168 2 0 2 2 2 0 1 0 8 0 amappl12 160 185 0 180 1 0 1 1 0 8 0 amappl11 152 690 0 677 1 0 1 1 0 8 0 amappl10 144 11 0 9 2 1 1 1 0 8 0 amappl9 136 714 0 708 1 0 1 1 0 8 0 amappl8 128 279 0 255 1 0 1 1 0 8 0 amappl7 120 55 0 50 1 0 1 1 0 8 0 amappl6 112 689 0 678 1 0 1 1 0 8 0 amappl5 104 385 0 374 1 0 1 1 0 8 0 amappl4 96 1200 0 1172 1 0 1 1 0 8 0 amappl3 88 2437 0 2430 1 0 1 1 0 8 0 amappl2 80 16510 0 16443 3 1 2 3 0 8 0 amappl1 72 47971 0 47563 26 16 10 20 0 8 0 amappl 80 4992 0 4956 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 115 0 14 2 0 2 2 0 8 0 uaddrrnd 24 2188 0 2172 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2188 0 2172 1 0 1 1 0 8 0 vmmpekpl 168 16490 0 16466 2 0 2 2 0 8 0 vmmpepl 168 260302 0 258534 174 88 86 123 0 357 7 vmsppl 272 2185 0 2172 2 1 1 2 0 8 0 pdppl 4096 4382 0 4348 6 1 5 6 0 8 0 pvpl 32 587506 0 571425 256 101 155 204 0 265 23 pmappl 200 2187 0 2174 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 568 0 41 16 0 16 16 0 8 0