Š*c÷Éù¢*»ÆFÖ ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic mallocarray: overflow 18446744071562067968 * 8 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x15c sys/kern/subr_prf.c:208 RMD160Init(ffffffff80000000) at RMD160Init wsmux_getmux(7fffffff) at wsmux_getmux+0x71 sys/dev/wscons/wsmux.c:152 wsmux_add_mux(7fffffff,ffff800000669100) at wsmux_add_mux+0x2f sys/dev/wscons/wsmux.c:594 VOP_IOCTL(fffffd80388ca4e0,80085761,ffff8000149d0b30,82,fffffd803f7c6900,ffff8000ffff2bd0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:290 vn_ioctl(fffffd802fb14790,80085761,ffff8000149d0b30,ffff8000ffff2bd0) at vn_ioctl+0xc9 sys/kern/vfs_vnops.c:512 sys_ioctl(ffff8000ffff2bd0,ffff8000149d0c78,ffff8000149d0c60) at sys_ioctl+0x638 syscall(ffff8000149d0d10) at syscall+0x541 Xsyscall(6,0,ffffffffffffff86,0,3,5ab5d694010) at Xsyscall+0x128 end of kernel end trace frame: 0x5adc32a0f30, count: -10 ddb> show registers rdi 0xffffffff8197e897 db_enter+0x17 rsi 0x1a0d __ALIGN_SIZE+0xa0d rbp 0xffff8000149d0770 rbx 0xffff8000149d0820 rdx 0x1a0e __ALIGN_SIZE+0xa0e rcx 0xffff80000093b000 rax 0xffff80000093b000 r8 0xffff8000149d0730 r9 0x1 r10 0xffff80000398a3c0 r11 0x9fe7b51cbf35e863 r12 0x3000000008 r13 0xffff8000149d0780 r14 0x100 r15 0x1 rip 0xffffffff8197e898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149d0760 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=453057 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3530,0xffffffff82266898 process=0xffff8000ffff6010 user=0xffff8000149cb000, vmspace=0xfffffd803f013630 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60659 297088 44241 0 2 0 syz-executor.0 *60659 453057 44241 0 7 0x4000000 syz-executor.0 41569 367887 47494 0 2 0x2 syz-executor.1 44241 180742 47494 0 2 0x482 syz-executor.0 62675 53358 1 0 3 0x100083 ttyin getty 14190 41490 0 0 3 0x14200 bored sosplice 47494 25415 66116 0 3 0x82 thrsleep syz-fuzzer 47494 438820 66116 0 2 0x4000482 syz-fuzzer 47494 146623 66116 0 3 0x4000082 thrsleep syz-fuzzer 47494 191002 66116 0 3 0x4000082 kqread syz-fuzzer 47494 330692 66116 0 3 0x4000082 thrsleep syz-fuzzer 47494 296004 66116 0 3 0x4000082 thrsleep syz-fuzzer 47494 216662 66116 0 3 0x4000082 thrsleep syz-fuzzer 47494 346014 66116 0 3 0x4000082 thrsleep syz-fuzzer 66116 241221 12374 0 3 0x10008a pause ksh 12374 313236 10490 0 3 0x92 select sshd 10490 413504 1 0 3 0x80 select sshd 61025 397892 47940 73 3 0x100090 kqread syslogd 47940 145077 1 0 3 0x100082 netio syslogd 28330 437956 1 77 3 0x100090 poll dhclient 30359 261089 1 0 3 0x80 poll dhclient 20077 64344 0 0 2 0x14200 zerothread 25402 195326 0 0 3 0x14200 aiodoned aiodoned 85030 441700 0 0 3 0x14200 syncer update 98922 486464 0 0 3 0x14200 cleaner cleaner 39880 240980 0 0 3 0x14200 reaper reaper 85248 104900 0 0 3 0x14200 pgdaemon pagedaemon 40455 51194 0 0 3 0x14200 bored crynlk 62653 307746 0 0 3 0x14200 bored crypto 97345 158692 0 0 3 0x40014200 acpi0 acpi0 15526 476190 0 0 3 0x14200 bored softnet 75724 177963 0 0 3 0x14200 bored systqmp 46574 503643 0 0 3 0x14200 bored systq 83922 202180 0 0 2 0x40014200 softclock 7209 370064 0 0 3 0x40014200 idle0 35147 40903 0 0 3 0x14200 bored smr 1 140212 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 9512 6350K 6367K 78643K 11171 0 0 pcb 23 9K 10K 78643K 1179 0 0 rtable 100 3K 3K 78643K 961 0 0 ifaddr 59 14K 16K 78643K 329 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 46 0 0 iov 0 0K 36K 78643K 270 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 76K 78643K 2185 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 33 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 262 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 5 13K 25K 78643K 1662 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 42 30K 54K 78643K 819 0 0 subproc 64 65538K 69634K 78643K 598 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 173 0 0 in_multi 33 2K 2K 78643K 259 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 0 0K 0K 78643K 1 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 360 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 88 21K 29K 78643K 4803 0 0 UVM aobj 121 6K 6K 78643K 138 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 82 0 0 NDP 16 0K 0K 78643K 107 0 0 temp 170 2359K 2427K 78643K 8252 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 19 0 15 1 0 1 1 0 8 0 inpcbpl 280 1178 0 1169 2 1 1 2 0 8 0 plimitpl 152 73 0 66 1 0 1 1 0 8 0 rtentry 112 176 0 136 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 10 0 10 1 1 0 1 0 8 0 tcpcb 544 507 0 503 1 0 1 1 0 8 0 nd6 48 34 0 30 1 0 1 1 0 8 0 ppxss 1128 40 0 40 9 8 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 824 0 636 12 0 12 12 0 8 0 art_table 32 825 0 636 2 0 2 2 0 8 0 art_node 16 175 0 141 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 260 0 250 1 0 1 1 0 8 0 shmpl 112 136 0 17 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4255 0 2773 48 0 48 48 0 8 0 ffsino 240 4255 0 2773 88 0 88 88 0 8 0 nchpl 144 6758 0 5074 63 0 63 63 0 8 0 uvmvnodes 72 4682 0 0 86 0 86 86 0 8 0 vnodes 200 4682 0 0 247 0 247 247 0 8 0 namei 1024 21290 0 21290 2 1 1 1 0 8 1 scsiplug 64 3 0 3 3 2 1 1 0 8 1 scxspl 192 22532 0 22532 13 10 3 6 0 8 3 sigapl 432 1788 0 1775 2 0 2 2 0 8 0 futexpl 56 27560 0 27560 1 0 1 1 0 8 1 knotepl 112 703 0 676 4 3 1 2 0 8 0 kqueuepl 104 411 0 409 1 0 1 1 0 8 0 pipepl 112 1212 0 1193 6 5 1 2 0 8 0 fdescpl 424 1789 0 1775 2 0 2 2 0 8 0 filepl 120 11845 0 11750 4 0 4 4 0 8 1 lockfpl 104 477 0 476 3 2 1 1 0 8 0 lockfspl 32 421 0 420 3 2 1 1 0 8 0 sessionpl 112 35 0 25 1 0 1 1 0 8 0 pgrppl 48 47 0 37 1 0 1 1 0 8 0 ucredpl 96 2534 0 2527 1 0 1 1 0 8 0 zombiepl 144 1775 0 1775 2 1 1 1 0 8 1 processpl 840 1804 0 1775 4 0 4 4 0 8 0 procpl 600 3839 0 3802 4 0 4 4 0 8 0 sosppl 128 18 0 18 6 5 1 1 0 8 1 sockpl 384 2015 0 1998 4 1 3 3 0 8 1 mcl64k 65536 821 0 821 101 73 28 64 0 8 28 mcl16k 16384 7 0 7 5 5 0 1 0 8 0 mcl12k 12288 39 0 39 8 7 1 1 0 8 1 mcl9k 9216 33 0 33 8 7 1 1 0 8 1 mcl8k 8192 32 0 32 11 10 1 1 0 8 1 mcl4k 4096 96 0 96 7 6 1 1 0 8 1 mcl2k2 2112 14 0 14 7 7 0 1 0 8 0 mcl2k 2048 49022 0 48986 14 8 6 9 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 91012 0 90938 58 50 8 37 0 8 0 bufpl 256 11536 0 4857 418 0 418 418 0 8 0 anonpl 16 225913 0 218626 96 46 50 52 0 62 9 amapchunkpl 152 9507 0 9428 51 37 14 14 0 158 10 amappl16 192 10477 0 9960 98 63 35 39 0 8 8 amappl15 184 126 0 125 1 0 1 1 0 8 0 amappl14 176 266 0 262 1 0 1 1 0 8 0 amappl13 168 522 0 518 1 0 1 1 0 8 0 amappl12 160 255 0 252 2 1 1 1 0 8 0 amappl11 152 381 0 371 1 0 1 1 0 8 0 amappl10 144 333 0 332 5 4 1 1 0 8 0 amappl9 136 534 0 530 1 0 1 1 0 8 0 amappl8 128 542 0 514 1 0 1 1 0 8 0 amappl7 120 693 0 688 1 0 1 1 0 8 0 amappl6 112 71 0 61 1 0 1 1 0 8 0 amappl5 104 310 0 300 1 0 1 1 0 8 0 amappl4 96 604 0 576 2 1 1 2 0 8 0 amappl3 88 290 0 285 1 0 1 1 0 8 0 amappl2 80 16075 0 16024 2 0 2 2 0 8 0 amappl1 72 41446 0 41042 24 14 10 19 0 8 0 amappl 72 4180 0 4149 1 0 1 1 0 75 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 137 0 17 2 0 2 2 0 8 0 uaddrrnd 24 1789 0 1775 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1789 0 1775 1 0 1 1 0 8 0 vmmpekpl 168 15962 0 15942 2 0 2 2 0 8 0 vmmpepl 168 196195 0 194749 157 71 86 96 0 357 18 vmsppl 264 1788 0 1775 5 4 1 2 0 8 0 pdppl 4096 3584 0 3550 6 1 5 6 0 8 0 pvpl 32 800507 0 790108 314 125 189 217 0 265 87 pmappl 192 1788 0 1775 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 729 0 156 17 0 17 17 0 8 0