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(ffff80001593ff40) at vm_get_info+0x9a VOP_IOCTL(fffffd8036072330,c0185603,ffff80001593ff40,2,fffffd803f7c6900,ffff8000ffff29f8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd803d916108,c0185603,ffff80001593ff40,ffff8000ffff29f8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff29f8,ffff800015940058,ffff8000159400c0) at sys_ioctl+0x5b8 syscall(ffff800015940120) at syscall+0x508 Xsyscall(6,0,ffffffffffffff53,0,3,ab7de367010) at Xsyscall+0x128 end of kernel end trace frame: 0xaba6506c500, 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(ffff80001593ff40) at vm_get_info+0x9a VOP_IOCTL(fffffd8036072330,c0185603,ffff80001593ff40,2,fffffd803f7c6900,ffff8000ffff29f8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd803d916108,c0185603,ffff80001593ff40,ffff8000ffff29f8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff29f8,ffff800015940058,ffff8000159400c0) at sys_ioctl+0x5b8 syscall(ffff800015940120) at syscall+0x508 Xsyscall(6,0,ffffffffffffff53,0,3,ab7de367010) at Xsyscall+0x128 end of kernel end trace frame: 0xaba6506c500, count: -9 ddb> show registers rdi 0xffffffff81638567 db_enter+0x17 rsi 0x1cfb1 acpi_pdirpa+0x8e19 rbp 0xffff80001593fb80 rbx 0xffff80001593fc30 rdx 0x1cfb2 acpi_pdirpa+0x8e1a rcx 0xffff80001597b000 rax 0xffff80001597b000 r8 0xffff80001593fb40 r9 0x1 r10 0xffff800000a59d00 r11 0xb5370ec7fa38047b r12 0x3000000008 r13 0xffff80001593fb90 r14 0x100 r15 0x1 rip 0xffffffff81638568 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001593fb70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=393412 stat=onproc flags process=10 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2ee8,0xffffffff825604b0 process=0xffff8000ffff70f0 user=0xffff80001593b000, vmspace=0xfffffd803f013110 estcpu=36, cpticks=12, pctcpu=0.0 user=0, sys=11, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 76789 485832 88574 0 2 0x10 syz-executor.0 *76789 393412 88574 0 7 0x4000010 syz-executor.0 73584 502578 21416 0 2 0 syz-executor.1 73584 380475 21416 0 3 0x4000080 poll syz-executor.1 21416 23034 29476 0 2 0x482 syz-executor.1 88574 250320 29476 0 2 0x482 syz-executor.0 86534 312323 0 0 3 0x14200 acct acct 46255 497509 0 0 3 0x14200 bored sosplice 29476 494002 35474 0 3 0x82 thrsleep syz-fuzzer 29476 481929 35474 0 2 0x4000482 syz-fuzzer 29476 436680 35474 0 3 0x4000082 thrsleep syz-fuzzer 29476 375304 35474 0 3 0x4000082 thrsleep syz-fuzzer 29476 312758 35474 0 3 0x4000082 thrsleep syz-fuzzer 29476 74053 35474 0 3 0x4000082 kqread syz-fuzzer 29476 99423 35474 0 3 0x4000082 thrsleep syz-fuzzer 29476 122223 35474 0 3 0x4000082 thrsleep syz-fuzzer 35474 212437 85597 0 3 0x10008a pause ksh 85597 262127 20447 0 3 0x92 select sshd 20638 42701 1 0 3 0x100083 ttyin getty 20447 235081 1 0 3 0x80 select sshd 52397 178346 94312 73 2 0x100090 syslogd 94312 166765 1 0 3 0x100082 netio syslogd 1214 169436 0 0 2 0x14200 zerothread 64958 433198 0 0 3 0x14200 aiodoned aiodoned 36259 48172 0 0 3 0x14200 syncer update 154 86254 0 0 3 0x14200 cleaner cleaner 24473 480954 0 0 3 0x14200 reaper reaper 23646 275897 0 0 3 0x14200 pgdaemon pagedaemon 25091 289270 0 0 3 0x14200 bored crynlk 24398 427435 0 0 3 0x14200 bored crypto 77023 8082 0 0 3 0x40014200 acpi0 acpi0 27341 33686 0 0 3 0x14200 bored softnet 81380 518744 0 0 2 0x14200 systqmp 9993 147431 0 0 3 0x14200 bored systq 80944 343755 0 0 2 0x40014200 softclock 75344 323605 0 0 3 0x40014200 idle0 9231 132848 0 0 2 0x14200 smr 1 301000 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 9534 6413K 7084K 78643K 15095 0 0 pcb 13 8K 8K 78643K 194 0 0 rtable 114 4K 4K 78643K 762 0 0 ifaddr 64 15K 15K 78643K 273 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 115 0 0 iov 0 0K 24K 78643K 154 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1213 76K 77K 78643K 2791 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 17 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 1K 78643K 168 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 1660 0 0 sigio 0 0K 0K 78643K 28 0 0 proc 42 30K 46K 78643K 705 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 128 0 0 in_multi 33 2K 2K 78643K 166 0 0 ether_multi 1 0K 0K 78643K 18 0 0 mrt 0 0K 0K 78643K 5 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 380 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 87 20K 23K 78643K 4772 0 0 UVM aobj 59 3K 3K 78643K 76 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 150 0 0 NDP 14 0K 0K 78643K 81 0 0 temp 185 3535K 3608K 78643K 13410 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 19 0 13 1 0 1 1 0 8 0 rtpcb 80 85 0 85 2 1 1 1 0 8 1 rtentry 112 114 0 69 2 0 2 2 0 8 0 unpcb 120 435 0 429 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 3179 0 3179 1 1 0 1 0 8 0 tcpcb 544 304 0 300 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 1 0 1 1 1 0 1 0 8 0 inpcb 280 857 0 853 2 1 1 2 0 8 0 ip6q 72 1 0 1 1 0 1 1 0 8 1 nd6 48 24 0 18 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1128 36 0 36 6 6 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 473 0 282 13 0 13 13 0 8 1 art_table 32 474 0 282 2 0 2 2 0 8 0 art_node 16 112 0 72 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 166 0 156 1 0 1 1 0 8 0 shmpl 112 74 0 17 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3983 0 2573 46 0 46 46 0 8 0 ffsino 240 3983 0 2573 84 0 84 84 0 8 0 nchpl 144 6439 0 4807 62 1 61 62 0 8 0 uvmvnodes 72 5120 0 0 94 0 94 94 0 8 0 vnodes 200 5120 0 0 270 0 270 270 0 8 0 namei 1024 20204 0 20204 3 2 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scsiplug 64 3 0 3 1 1 0 1 0 8 0 scxspl 192 18263 0 18263 11 10 1 7 0 8 1 plimitpl 152 153 0 147 1 0 1 1 0 8 0 sigapl 432 1813 0 1801 2 0 2 2 0 8 0 futexpl 56 26099 0 26099 2 1 1 1 0 8 1 knotepl 112 472 0 453 1 0 1 1 0 8 0 kqueuepl 104 382 0 379 1 0 1 1 0 8 0 pipepl 112 982 0 963 1 0 1 1 0 8 0 fdescpl 424 1814 0 1801 2 0 2 2 0 8 0 filepl 120 10594 0 10504 4 1 3 4 0 8 0 lockfpl 104 493 0 493 4 3 1 1 0 8 1 lockfspl 48 168 0 168 4 3 1 1 0 8 1 sessionpl 112 23 0 15 1 0 1 1 0 8 0 pgrppl 48 33 0 25 1 0 1 1 0 8 0 ucredpl 96 1953 0 1945 1 0 1 1 0 8 0 zombiepl 144 1801 0 1801 2 1 1 1 0 8 1 processpl 864 1830 0 1801 4 0 4 4 0 8 0 procpl 632 3803 0 3765 4 0 4 4 0 8 0 sosppl 128 15 0 15 5 5 0 1 0 8 0 sockpl 384 1396 0 1386 5 2 3 3 0 8 1 mcl64k 65536 70 0 70 6 5 1 1 0 8 1 mcl16k 16384 4 0 4 2 2 0 1 0 8 0 mcl12k 12288 28 0 28 6 5 1 1 0 8 1 mcl9k 9216 24 0 24 6 5 1 1 0 8 1 mcl8k 8192 28 0 28 5 5 0 1 0 8 0 mcl4k 4096 82 0 82 4 3 1 1 0 8 1 mcl2k2 2112 7 0 7 6 5 1 1 0 8 1 mcl2k 2048 61433 0 61387 17 10 7 14 0 8 0 mtagpl 80 48 0 46 2 1 1 1 0 8 0 mbufpl 256 106373 0 106289 16 7 9 10 0 8 1 bufpl 256 10047 0 4315 359 0 359 359 0 8 0 anonpl 16 178234 0 167451 103 45 58 69 0 62 5 amapchunkpl 152 7980 0 7882 21 16 5 14 0 158 0 amappl16 192 9592 0 8886 103 55 48 48 0 8 12 amappl15 184 480 0 478 1 0 1 1 0 8 0 amappl14 176 92 0 84 1 0 1 1 0 8 0 amappl13 168 22 0 21 3 2 1 1 0 8 0 amappl12 160 311 0 311 3 2 1 1 0 8 1 amappl11 152 72 0 67 1 0 1 1 0 8 0 amappl10 144 471 0 467 1 0 1 1 0 8 0 amappl9 136 856 0 851 1 0 1 1 0 8 0 amappl8 128 409 0 385 1 0 1 1 0 8 0 amappl7 120 456 0 450 1 0 1 1 0 8 0 amappl6 112 70 0 63 1 0 1 1 0 8 0 amappl5 104 482 0 475 1 0 1 1 0 8 0 amappl4 96 2039 0 2013 2 1 1 2 0 8 0 amappl3 88 226 0 216 1 0 1 1 0 8 0 amappl2 80 13761 0 13692 3 1 2 3 0 8 0 amappl1 72 41473 0 41075 26 17 9 19 0 8 0 amappl 80 4117 0 4085 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 75 0 17 1 0 1 1 0 8 0 uaddrrnd 24 1816 0 1801 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1816 0 1801 1 0 1 1 0 8 0 vmmpekpl 168 14690 0 14665 2 0 2 2 0 8 0 vmmpepl 168 219591 0 217806 184 82 102 105 0 357 24 vmsppl 272 1813 0 1801 3 2 1 2 0 8 0 pdppl 4096 3638 0 3606 7 2 5 6 0 8 0 pvpl 32 539127 0 525226 249 88 161 242 0 265 31 pmappl 200 1815 0 1803 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 526 0 40 15 1 14 14 0 8 0