panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(ffffffffffff4f20,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000237af120) at vm_get_info+0x9d VOP_IOCTL(fffffd806e55dd00,c0185603,ffff8000237af120,1,fffffd807f7c6a20,ffff800020abe018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8067453a30,c0185603,ffff8000237af120,ffff800020abe018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abe018,ffff8000237af238,ffff8000237af280) at sys_ioctl+0x5b9 syscall(ffff8000237af300) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff8000237af300) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,3736c4080e0) at Xsyscall+0x128 end of kernel end trace frame: 0x376304abda0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic malloc: allocation too large, type = 2, size = 18446744073709506336 ddb{0}> 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(ffffffffffff4f20,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff8000237af120) at vm_get_info+0x9d VOP_IOCTL(fffffd806e55dd00,c0185603,ffff8000237af120,1,fffffd807f7c6a20,ffff800020abe018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8067453a30,c0185603,ffff8000237af120,ffff800020abe018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abe018,ffff8000237af238,ffff8000237af280) at sys_ioctl+0x5b9 syscall(ffff8000237af300) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff8000237af300) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,3736c4080e0) at Xsyscall+0x128 end of kernel end trace frame: 0x376304abda0, count: -9 ddb{0}> show registers rdi 0xffffffff81a91c97 db_enter+0x17 rsi 0x1efa1 acpi_pdirpa+0xae09 rbp 0xffff8000237aed60 rbx 0xffff8000237aee10 rdx 0x1efa2 acpi_pdirpa+0xae0a rcx 0xffff80002398c000 rax 0xffff80002398c000 r8 0xffffffff81436e6f kprintf+0x16f r9 0x1 r10 0x25 r11 0x70d0c2a5a7126984 r12 0x3000000008 r13 0xffff8000237aed70 r14 0x100 r15 0x1 rip 0xffffffff81a91c98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000237aed50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=347893 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020abf3d8,0xffffffff82660568 process=0xffff800020add180 user=0xffff8000237aa000, vmspace=0xfffffd807f00ba10 estcpu=36, cpticks=11, pctcpu=0.0 user=0, sys=10, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 70633 516999 41752 0 2 0 syz-executor.1 70633 287064 41752 0 3 0x4000080 fsleep syz-executor.1 *70633 347893 41752 0 7 0x4000000 syz-executor.1 68039 63145 46963 0 2 0x482 syz-executor.0 41752 242196 46963 0 2 0x482 syz-executor.1 86065 382835 0 0 3 0x14200 bored sosplice 46963 429802 44086 0 3 0x82 thrsleep syz-fuzzer 46963 509635 44086 0 2 0x4000482 syz-fuzzer 46963 241245 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 79436 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 223305 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 167415 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 277285 44086 0 3 0x4000082 kqread syz-fuzzer 46963 404848 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 348734 44086 0 3 0x4000082 thrsleep syz-fuzzer 46963 146978 44086 0 3 0x4000082 thrsleep syz-fuzzer 44086 36328 88031 0 3 0x10008a pause ksh 88031 312626 94397 0 3 0x92 select sshd 95826 157480 1 0 3 0x100083 ttyin getty 94397 195345 1 0 3 0x80 select sshd 99296 339320 23929 74 2 0x100492 pflogd 23929 167207 1 0 3 0x80 netio pflogd 33885 456655 79689 73 2 0x100090 syslogd 79689 439080 1 0 3 0x100082 netio syslogd 367 522952 1 77 3 0x100090 poll dhclient 66018 343487 1 0 3 0x80 poll dhclient 73258 303778 0 0 2 0x14200 zerothread 67742 4421 0 0 3 0x14200 aiodoned aiodoned 44543 738 0 0 3 0x14200 syncer update 70914 134686 0 0 3 0x14200 cleaner cleaner 97542 510906 0 0 7 0x14200 reaper 75160 261684 0 0 3 0x14200 pgdaemon pagedaemon 77334 29538 0 0 3 0x14200 bored crynlk 99809 181249 0 0 3 0x14200 bored crypto 51671 226370 0 0 3 0x40014200 acpi0 acpi0 67337 83106 0 0 3 0x40014200 idle1 15846 455248 0 0 3 0x14200 bored softnet 18978 366780 0 0 3 0x14200 bored systqmp 54047 189150 0 0 3 0x14200 bored systq 36610 302675 0 0 2 0x40014200 softclock 69535 360390 0 0 3 0x40014200 idle0 85113 517868 0 0 3 0x14200 bored smr 1 196806 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex pvpl r = 0 (0xffffffff8263e5c0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_put+0x64 sys/kern/subr_pool.c:800 #4 pmap_do_remove+0x61b sys/arch/amd64/amd64/pmap.c:1798 #5 uvm_map_teardown+0x195 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:206 [inline] #5 uvm_map_teardown+0x195 sys/uvm/uvm_map.c:2713 #6 uvmspace_free+0x86 sys/uvm/uvm_map.c:3586 #7 uvm_exit+0x29 sys/uvm/uvm_glue.c:297 #8 reaper+0x189 sys/kern/kern_exit.c:442 #9 proc_trampoline+0x1c Process 70633 (syz-executor.1) thread 0xffff800020abe018 (347893) 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 (0xffffffff82645358) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9511 6405K 7177K 78643K 12520 0 0 pcb 13 8K 8K 78643K 124 0 0 rtable 110 4K 4K 78643K 522 0 0 ifaddr 57 13K 14K 78643K 179 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1891 0 0 iov 0 0K 16K 78643K 63 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 77K 77K 78643K 1881 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 11 0 0 VM map 2 1K 1K 78643K 285 0 0 sem 12 0K 1K 78643K 87 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 5 13K 25K 78643K 1060 0 0 sigio 0 0K 0K 78643K 4 0 0 proc 61 63K 95K 78643K 624 0 0 subproc 32 2K 2K 78643K 85 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 52 0 0 in_multi 33 2K 2K 78643K 83 0 0 ether_multi 1 0K 0K 78643K 3 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 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 294 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 100 21K 25K 78643K 3926 0 0 UVM aobj 27 2K 2K 78643K 28 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 94 0 0 NDP 13 0K 0K 78643K 51 0 0 temp 156 3553K 3619K 78643K 13381 0 0 kqueue 0 0K 0K 78643K 6 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 12 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 63 0 61 1 0 1 1 0 8 0 rtentry 112 77 0 33 2 0 2 2 0 8 0 unpcb 120 261 0 251 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 5564 0 5564 2 2 0 2 0 8 0 tcpcb 544 135 0 131 1 0 1 1 0 8 0 inpcb 280 470 0 463 3 2 1 2 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 24 0 24 2 1 1 1 0 8 1 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 1 0 8 0 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 30 0 18 1 0 1 1 0 8 0 pfstkey 112 30 0 18 1 0 1 1 0 8 0 pfstate 328 30 0 18 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 347 0 129 14 0 14 14 0 8 0 art_table 32 348 0 129 2 0 2 2 0 8 0 art_node 16 74 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semapl 112 85 0 75 1 0 1 1 0 8 0 shmpl 112 26 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2801 0 1399 46 0 46 46 0 8 0 ffsino 272 2801 0 1399 95 0 95 95 0 8 0 nchpl 144 4316 0 2711 61 0 61 61 0 8 0 uvmvnodes 72 3326 0 0 61 0 61 61 0 8 0 vnodes 208 3326 0 0 176 0 176 176 0 8 0 namei 1024 12749 0 12749 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 283 0 283 2 1 1 1 0 8 1 scxspl 192 13509 0 13509 17 14 3 7 0 8 3 plimitpl 152 101 0 93 1 0 1 1 0 8 0 sigapl 432 1251 0 1236 3 1 2 3 0 8 0 futexpl 56 10826 0 10825 1 0 1 1 0 8 0 knotepl 112 228 0 209 1 0 1 1 0 8 0 kqueuepl 104 128 0 126 1 0 1 1 0 8 0 pipepl 112 546 0 527 1 0 1 1 0 8 0 fdescpl 488 1252 0 1236 3 0 3 3 0 8 0 filepl 152 6131 0 6029 6 1 5 5 0 8 1 lockfpl 104 244 0 243 1 0 1 1 0 8 0 lockfspl 48 86 0 85 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 805 0 796 1 0 1 1 0 8 0 zombiepl 144 1236 0 1235 2 1 1 1 0 8 0 processpl 896 1268 0 1235 4 0 4 4 0 8 0 procpl 632 3021 0 2977 6 2 4 5 0 8 0 srpgc 64 6 0 6 2 1 1 1 0 8 1 sosppl 128 4 0 4 2 2 0 1 0 8 0 sockpl 384 807 0 788 4 1 3 3 0 8 1 mcl64k 65536 513 0 0 65 3 62 65 0 8 1 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 205 0 0 25 0 25 25 0 8 0 mtagpl 80 12 0 0 1 0 1 1 0 8 0 mbufpl 256 648 0 0 37 0 37 37 0 8 0 bufpl 256 7890 0 1317 411 0 411 411 0 8 0 anonpl 16 128176 0 117565 81 13 68 68 0 124 16 amapchunkpl 152 6396 0 6285 15 7 8 10 0 158 3 amappl16 192 6422 0 5716 72 28 44 48 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 157 0 154 1 0 1 1 0 8 0 amappl13 168 9 0 9 2 1 1 1 0 8 1 amappl12 160 14 0 13 1 0 1 1 0 8 0 amappl11 152 62 0 47 1 0 1 1 0 8 0 amappl10 144 143 0 138 1 0 1 1 0 8 0 amappl9 136 1361 0 1352 1 0 1 1 0 8 0 amappl8 128 893 0 868 1 0 1 1 0 8 0 amappl7 120 182 0 176 1 0 1 1 0 8 0 amappl6 112 90 0 77 1 0 1 1 0 8 0 amappl5 104 175 0 160 1 0 1 1 0 8 0 amappl4 96 1384 0 1358 1 0 1 1 0 8 0 amappl3 88 335 0 330 1 0 1 1 0 8 0 amappl2 80 8869 0 8789 3 1 2 3 0 8 0 amappl1 72 34527 0 34071 25 15 10 20 0 8 0 amappl 80 3323 0 3283 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 27 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1535 0 1236 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1535 0 1236 2 0 2 2 0 8 0 vmmpekpl 168 11744 0 11706 2 0 2 2 0 8 0 vmmpepl 168 155383 0 153481 155 50 105 106 0 357 20 vmsppl 368 1251 0 1235 2 0 2 2 0 8 0 pdppl 4096 3077 0 3036 7 1 6 6 0 8 0 pvpl 32 360842 0 347118 209 39 170 170 0 265 41 pmappl 232 1534 0 1518 4 2 2 2 0 8 1 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 670 0 8 19 0 19 19 0 8 0