panic() at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff8220282e,ffffffff821f0ad1,2b2,ffffffff821d1b09) at __assert+0x2b sys/kern/subr_prf.c:154 proc_trampoline_mp() at proc_trampoline_mp+0x123 end trace frame: 0x0, count: 11 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic malloc: allocation too large, type = 2, size = 18446744073709551296 ddb{1}> 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 __assert(ffffffff8220282e,ffffffff821f0ad1,2b2,ffffffff821d1b09) at __assert+0x2b sys/kern/subr_prf.c:154 proc_trampoline_mp() at proc_trampoline_mp+0x123 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800023daf680 rbx 0xffff800023daf730 rdx 0xffff800020ab0290 rcx 0 rax 0 r8 0xffffffff8216e5cf kprintf+0x16f r9 0x1 r10 0x25 r11 0xc2348e9768606ebd r12 0x3000000008 r13 0xffff800023daf690 r14 0x104 r15 0x1 rip 0xffffffff81f247d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023daf670 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=266872 stat=onproc flags process=0 proc=0 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0ee8,0xffffffff82654bc8 process=0xffff800020a8bc10 user=0xffff800023daa000, vmspace=0xfffffd806e7e2a18 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *16838 266872 23559 0 7 0 syz-executor.0 41866 361085 74508 0 2 0 syz-executor.1 41866 501199 74508 0 3 0x4000080 fsleep syz-executor.1 41866 392925 74508 0 7 0x4000000 syz-executor.1 81863 89582 0 0 3 0x14200 bored sosplice 2999 171914 1 0 3 0x100083 ttyin getty 74508 491897 88670 0 3 0x82 nanosleep syz-executor.1 23559 153742 88670 0 3 0x82 nanosleep syz-executor.0 88670 466077 11570 0 3 0x82 thrsleep syz-fuzzer 88670 173865 11570 0 3 0x4000082 nanosleep syz-fuzzer 88670 479501 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 378394 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 140451 11570 0 3 0x4000082 nanosleep syz-fuzzer 88670 272581 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 478686 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 57588 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 400528 11570 0 3 0x4000082 thrsleep syz-fuzzer 88670 251624 11570 0 3 0x4000082 kqread syz-fuzzer 11570 445541 66026 0 3 0x10008a pause ksh 66026 214124 97147 0 3 0x92 select sshd 97147 517841 1 0 3 0x80 select sshd 4592 72741 55030 74 3 0x100092 bpf pflogd 55030 472837 1 0 3 0x80 netio pflogd 16396 399816 85356 73 3 0x100090 kqread syslogd 85356 308416 1 0 3 0x100082 netio syslogd 25114 34875 1 77 3 0x100090 poll dhclient 93705 139168 1 0 3 0x80 poll dhclient 393 215810 0 0 2 0x14200 zerothread 51166 92489 0 0 3 0x14200 aiodoned aiodoned 65007 149764 0 0 3 0x14200 syncer update 95467 78791 0 0 3 0x14200 cleaner cleaner 62047 49484 0 0 3 0x14200 reaper reaper 26447 367465 0 0 3 0x14200 pgdaemon pagedaemon 80960 27899 0 0 3 0x14200 bored crynlk 42742 419801 0 0 3 0x14200 bored crypto 36442 12442 0 0 3 0x40014200 acpi0 acpi0 29975 221314 0 0 3 0x40014200 idle1 11426 434461 0 0 3 0x14200 bored softnet 91977 524167 0 0 3 0x14200 bored systqmp 95395 351462 0 0 3 0x14200 bored systq 91691 36716 0 0 3 0x40014200 bored softclock 5396 138865 0 0 3 0x40014200 idle0 8587 375830 0 0 3 0x14200 bored smr 1 395890 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 41866 (syz-executor.1) thread 0xffff800020ab0ee8 (392925) shared rwlock vmlistlock r = 0 (0xffff80000066f478) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 vm_get_info+0x39 sys/arch/amd64/amd64/vmm.c:3712 #2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 #3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 #4 sys_ioctl+0x5b9 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82620168) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9519 6414K 6866K 78643K 11639 0 0 pcb 13 8K 8K 78643K 97 0 0 rtable 110 4K 4K 78643K 320 0 0 ifaddr 59 13K 13K 78643K 124 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1499 0 0 iov 0 0K 16K 78643K 24 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 1573 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 1K 1K 78643K 4 0 0 sem 12 0K 0K 78643K 32 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 6 17K 25K 78643K 486 0 0 sigio 0 0K 0K 78643K 7 0 0 proc 60 63K 95K 78643K 489 0 0 subproc 32 2K 2K 78643K 34 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 56 0 0 in_multi 33 2K 2K 78643K 48 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 1 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 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 240 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 25K 78643K 2455 0 0 UVM aobj 25 4K 4K 78643K 27 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 84 0 0 NDP 12 0K 0K 78643K 32 0 0 temp 156 3551K 3615K 78643K 8843 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 171 0 161 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 4998 0 4998 1 1 0 1 0 8 0 tcpcb 544 116 0 112 1 0 1 1 0 8 0 inpcb 280 358 0 351 2 1 1 2 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 16 0 16 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 26 0 6 1 0 1 1 0 8 0 pfstkey 112 26 0 6 1 0 1 1 0 8 0 pfstate 328 26 0 5 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 28 0 18 1 0 1 1 0 8 0 shmpl 112 25 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2136 0 734 46 0 46 46 0 8 0 ffsino 272 2136 0 734 94 0 94 94 0 8 0 nchpl 144 3028 0 1409 61 0 61 61 0 8 0 uvmvnodes 72 2410 0 0 44 0 44 44 0 8 0 vnodes 208 2410 0 0 127 0 127 127 0 8 0 namei 1024 8542 0 8542 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 2 1 1 0 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 8494 0 8494 9 8 1 7 0 8 1 plimitpl 152 49 0 41 1 0 1 1 0 8 0 sigapl 432 687 0 671 3 1 2 3 0 8 0 futexpl 56 6172 0 6171 1 0 1 1 0 8 0 knotepl 112 104 0 85 1 0 1 1 0 8 0 kqueuepl 104 75 0 73 1 0 1 1 0 8 0 pipepl 112 350 0 329 1 0 1 1 0 8 0 fdescpl 488 688 0 671 3 0 3 3 0 8 0 filepl 152 3775 0 3671 7 2 5 5 0 8 1 lockfpl 104 149 0 147 1 0 1 1 0 8 0 lockfspl 48 43 0 41 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 564 0 555 1 0 1 1 0 8 0 zombiepl 144 671 0 671 2 1 1 1 0 8 1 processpl 896 704 0 671 4 0 4 4 0 8 0 procpl 632 1688 0 1644 7 2 5 5 0 8 1 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 384 564 0 545 5 2 3 3 0 8 1 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 195 0 0 24 0 24 24 0 8 0 mtagpl 80 9 0 0 1 0 1 1 0 8 0 mbufpl 256 232 0 0 14 0 14 14 0 8 0 bufpl 256 7161 0 1314 366 0 366 366 0 8 0 anonpl 16 71316 0 58465 81 13 68 68 0 124 16 amapchunkpl 152 3605 0 3490 12 6 6 9 0 158 0 amappl16 192 3124 0 2420 54 11 43 48 0 8 7 amappl14 176 264 0 259 1 0 1 1 0 8 0 amappl12 160 22 0 20 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 233 0 228 1 0 1 1 0 8 0 amappl9 136 616 0 610 1 0 1 1 0 8 0 amappl8 128 157 0 138 1 0 1 1 0 8 0 amappl7 120 259 0 254 1 0 1 1 0 8 0 amappl6 112 71 0 63 1 0 1 1 0 8 0 amappl5 104 148 0 132 1 0 1 1 0 8 0 amappl4 96 941 0 908 1 0 1 1 0 8 0 amappl3 88 117 0 112 1 0 1 1 0 8 0 amappl2 80 4610 0 4539 3 1 2 3 0 8 0 amappl1 72 24627 0 24184 24 13 11 20 0 8 0 amappl 80 1942 0 1901 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 26 0 2 1 0 1 1 0 8 0 uaddrrnd 24 690 0 671 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 690 0 671 1 0 1 1 0 8 0 vmmpekpl 168 9485 0 9456 2 0 2 2 0 8 0 vmmpepl 168 88965 0 87062 126 30 96 96 0 357 13 vmsppl 368 687 0 671 2 0 2 2 0 8 0 pdppl 4096 1387 0 1346 6 0 6 6 0 8 0 pvpl 32 224791 0 208782 194 28 166 166 0 265 35 pmappl 232 689 0 673 2 1 1 2 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 535 0 4 16 0 16 16 0 8 0