panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(fffffffffffffd80,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800015938510) at vm_get_info+0x9a VOP_IOCTL(fffffd80361ab270,c0185603,ffff800015938510,9,fffffd803f7c6c60,ffff8000ffff2290) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef1ce20,c0185603,ffff800015938510,ffff8000ffff2290) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2290,ffff800015938628,ffff800015938670) at sys_ioctl+0x5b9 syscall(ffff8000159386f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,efab26cd010) at Xsyscall+0x128 end of kernel end trace frame: 0xefd801604d0, 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 = 18446744073709550976 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(fffffffffffffd80,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800015938510) at vm_get_info+0x9a VOP_IOCTL(fffffd80361ab270,c0185603,ffff800015938510,9,fffffd803f7c6c60,ffff8000ffff2290) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802ef1ce20,c0185603,ffff800015938510,ffff8000ffff2290) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2290,ffff800015938628,ffff800015938670) at sys_ioctl+0x5b9 syscall(ffff8000159386f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,efab26cd010) at Xsyscall+0x128 end of kernel end trace frame: 0xefd801604d0, count: -9 ddb> show registers rdi 0xffffffff81346297 db_enter+0x17 rsi 0x221da acpi_pdirpa+0xe042 rbp 0xffff800015938150 rbx 0xffff800015938200 rdx 0x221db acpi_pdirpa+0xe043 rcx 0xffff800014919000 rax 0xffff800014919000 r8 0xffff800015938110 r9 0x1 r10 0xffff800000a62c40 r11 0xef7a410fa9341fb7 r12 0x3000000008 r13 0xffff800015938160 r14 0x100 r15 0x1 rip 0xffffffff81346298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015938140 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=449359 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2ee8,0xffff8000ffff3660 process=0xffff8000ffff6010 user=0xffff800015933000, vmspace=0xfffffd803f014bb0 estcpu=36, cpticks=12, pctcpu=0.0 user=0, sys=12, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12149 176209 18791 0 2 0 syz-executor.1 12149 338100 18791 0 2 0x4000000 syz-executor.1 21717 5615 38012 0 2 0 syz-executor.0 *21717 449359 38012 0 7 0x4000000 syz-executor.0 38012 438210 38752 0 2 0x482 syz-executor.0 18791 510664 38752 0 2 0x482 syz-executor.1 76879 495228 0 0 3 0x14200 acct acct 29663 43601 1 0 3 0x100083 ttyin getty 54203 109398 0 0 3 0x14200 bored sosplice 38752 229762 81981 0 3 0x82 thrsleep syz-fuzzer 38752 452639 81981 0 3 0x4000082 thrsleep syz-fuzzer 38752 212726 81981 0 3 0x4000082 thrsleep syz-fuzzer 38752 95345 81981 0 3 0x4000082 thrsleep syz-fuzzer 38752 463482 81981 0 3 0x4000082 kqread syz-fuzzer 38752 130142 81981 0 3 0x4000082 thrsleep syz-fuzzer 38752 131043 81981 0 3 0x4000082 thrsleep syz-fuzzer 38752 41091 81981 0 3 0x4000082 thrsleep syz-fuzzer 81981 182874 25940 0 3 0x10008a pause ksh 25940 310327 71479 0 3 0x92 select sshd 71479 143966 1 0 3 0x80 select sshd 90210 465929 91219 73 3 0x100090 kqread syslogd 91219 120878 1 0 3 0x100082 netio syslogd 64836 196357 1 77 3 0x100090 poll dhclient 64282 306022 1 0 3 0x80 poll dhclient 71805 262193 0 0 2 0x14200 zerothread 78758 294627 0 0 3 0x14200 aiodoned aiodoned 27674 504083 0 0 3 0x14200 syncer update 29307 154111 0 0 3 0x14200 cleaner cleaner 28079 264976 0 0 3 0x14200 reaper reaper 86108 259543 0 0 3 0x14200 pgdaemon pagedaemon 91199 447822 0 0 3 0x14200 bored crynlk 85170 68496 0 0 3 0x14200 bored crypto 47418 449809 0 0 3 0x40014200 acpi0 acpi0 3278 12339 0 0 3 0x14200 bored softnet 27548 348775 0 0 2 0x14200 systqmp 40129 78833 0 0 3 0x14200 bored systq 26350 112108 0 0 2 0x40014200 softclock 58330 483702 0 0 3 0x40014200 idle0 29367 209496 0 0 2 0x14200 smr 1 7228 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 9564 6563K 7219K 78643K 17619 0 0 pcb 13 8K 8K 78643K 287 0 0 rtable 118 4K 5K 78643K 998 0 0 ifaddr 71 16K 17K 78643K 327 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 167 0 0 iov 0 0K 24K 78643K 249 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 3787 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 27 0 0 VM map 2 0K 0K 78643K 6 0 0 sem 12 0K 0K 78643K 296 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 2708 0 0 sigio 0 0K 0K 78643K 39 0 0 proc 49 38K 63K 78643K 995 0 0 subproc 32 2K 2K 78643K 204 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 269 0 0 in_multi 33 2K 2K 78643K 219 0 0 ether_multi 1 0K 0K 78643K 16 0 0 mrt 0 0K 0K 78643K 10 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 598 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 7288 0 0 UVM aobj 112 3K 3K 78643K 121 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 266 0 0 NDP 16 0K 1K 78643K 102 0 0 temp 198 3536K 3606K 78643K 39519 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 26 0 20 1 0 1 1 0 8 0 rtpcb 80 117 0 115 1 0 1 1 0 8 0 rtentry 112 153 0 108 2 0 2 2 0 8 0 unpcb 120 891 0 883 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2399 0 2399 1 1 0 1 0 8 0 tcpcb 544 487 0 483 1 0 1 1 0 8 0 ipq 40 4 0 4 2 1 1 1 0 8 1 ipqe 40 10 0 10 2 1 1 1 0 8 1 inpcb 280 1363 0 1352 7 5 2 2 0 8 1 nd6 48 24 0 20 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 3 0 1 0 8 0 ppxss 1128 42 0 42 9 8 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 671 0 456 14 0 14 14 0 8 0 art_table 32 672 0 456 2 0 2 2 0 8 0 art_node 16 145 0 105 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 292 0 282 1 0 1 1 0 8 0 shmpl 112 119 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5559 0 4173 46 0 46 46 0 8 0 ffsino 240 5559 0 4173 83 0 83 83 0 8 0 nchpl 144 9513 0 7918 60 0 60 60 0 8 0 uvmvnodes 72 7388 0 0 135 0 135 135 0 8 0 vnodes 208 7388 0 0 389 0 389 389 0 8 0 namei 1024 30702 0 30702 4 3 1 1 0 8 1 vmpool 520 4 0 4 1 1 0 1 0 8 0 scsiplug 64 7 0 7 3 3 0 1 0 8 0 scxspl 192 34799 0 34799 12 11 1 7 0 8 1 plimitpl 152 201 0 194 1 0 1 1 0 8 0 sigapl 432 2851 0 2837 2 0 2 2 0 8 0 futexpl 56 43690 0 43690 3 2 1 1 0 8 1 knotepl 112 702 0 683 1 0 1 1 0 8 0 kqueuepl 104 533 0 531 1 0 1 1 0 8 0 pipepl 112 1540 0 1521 4 3 1 2 0 8 0 fdescpl 424 2852 0 2837 2 0 2 2 0 8 0 filepl 120 16737 0 16638 9 5 4 6 0 8 1 lockfpl 104 934 0 933 1 0 1 1 0 8 0 lockfspl 48 305 0 304 1 0 1 1 0 8 0 sessionpl 112 29 0 19 1 0 1 1 0 8 0 pgrppl 48 63 0 53 1 0 1 1 0 8 0 ucredpl 96 3114 0 3107 1 0 1 1 0 8 0 zombiepl 144 2839 0 2839 2 1 1 1 0 8 1 processpl 864 2870 0 2839 4 0 4 4 0 8 0 procpl 632 6116 0 6076 4 0 4 4 0 8 0 sosppl 128 28 0 28 7 7 0 1 0 8 0 sockpl 384 2415 0 2398 8 5 3 4 0 8 1 mcl64k 65536 524 0 524 58 57 1 29 0 8 1 mcl16k 16384 18 0 18 10 9 1 1 0 8 1 mcl12k 12288 50 0 50 10 9 1 1 0 8 1 mcl9k 9216 35 0 35 9 8 1 1 0 8 1 mcl8k 8192 61 0 61 10 9 1 1 0 8 1 mcl4k 4096 124 0 124 8 7 1 1 0 8 1 mcl2k2 2112 17 0 17 8 8 0 1 0 8 0 mcl2k 2048 62075 0 62023 29 21 8 20 0 8 0 mtagpl 80 58 0 58 2 1 1 1 0 8 1 mbufpl 256 113353 0 113262 40 31 9 21 0 8 0 bufpl 256 15334 0 7943 463 0 463 463 0 8 0 anonpl 16 266065 0 254932 130 68 62 68 0 62 8 amapchunkpl 152 13791 0 13689 58 43 15 18 0 158 10 amappl16 192 13676 0 12977 98 55 43 48 0 8 8 amappl15 184 321 0 319 2 1 1 1 0 8 0 amappl14 176 759 0 754 1 0 1 1 0 8 0 amappl13 168 353 0 350 1 0 1 1 0 8 0 amappl12 160 32 0 30 1 0 1 1 0 8 0 amappl11 152 383 0 371 1 0 1 1 0 8 0 amappl10 144 595 0 594 1 0 1 1 0 8 0 amappl9 136 715 0 708 1 0 1 1 0 8 0 amappl8 128 234 0 211 1 0 1 1 0 8 0 amappl7 120 657 0 651 1 0 1 1 0 8 0 amappl6 112 374 0 366 1 0 1 1 0 8 0 amappl5 104 243 0 232 1 0 1 1 0 8 0 amappl4 96 2813 0 2786 1 0 1 1 0 8 0 amappl3 88 1195 0 1185 1 0 1 1 0 8 0 amappl2 80 21736 0 21662 3 1 2 3 0 8 0 amappl1 72 60024 0 59609 27 18 9 20 0 8 0 amappl 80 6495 0 6460 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 120 0 9 2 0 2 2 0 8 0 uaddrrnd 24 2856 0 2837 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2856 0 2837 1 0 1 1 0 8 0 vmmpekpl 168 21677 0 21652 2 0 2 2 0 8 0 vmmpepl 168 336778 0 334944 222 122 100 105 0 357 20 vmsppl 272 2851 0 2837 5 3 2 2 0 8 1 pdppl 4096 5718 0 5682 7 2 5 6 0 8 0 pvpl 32 919465 0 905115 412 177 235 257 0 265 100 pmappl 200 2855 0 2841 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 738 0 144 19 1 18 19 0 8 0