panic() at panic+0x15c sys/kern/subr_prf.c:207 malloc(ffffffffffffff60,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800022bad0e0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e1e5b60,c0185603,ffff800022bad0e0,1,fffffd807f7c68a0,ffff800020ace2c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd807b7f7688,c0185603,ffff800022bad0e0,ffff800020ace2c8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020ace2c8,ffff800022bad1f8,ffff800022bad240) at sys_ioctl+0x5b9 syscall(ffff800022bad2c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022bad2c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,a29f947b010) at Xsyscall+0x128 end of kernel end trace frame: 0xa2cb7559c20, 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 = 18446744073709551456 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(ffffffffffffff60,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800022bad0e0) at vm_get_info+0x9d VOP_IOCTL(fffffd806e1e5b60,c0185603,ffff800022bad0e0,1,fffffd807f7c68a0,ffff800020ace2c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd807b7f7688,c0185603,ffff800022bad0e0,ffff800020ace2c8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020ace2c8,ffff800022bad1f8,ffff800022bad240) at sys_ioctl+0x5b9 syscall(ffff800022bad2c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022bad2c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,a29f947b010) at Xsyscall+0x128 end of kernel end trace frame: 0xa2cb7559c20, count: -9 ddb{0}> show registers rdi 0xffffffff81b16567 db_enter+0x17 rsi 0x1ef6f acpi_pdirpa+0xadd7 rbp 0xffff800022bacd20 rbx 0xffff800022bacdd0 rdx 0x1ef70 acpi_pdirpa+0xadd8 rcx 0xffff80002197a000 rax 0xffff80002197a000 r8 0xffffffff81da18ff kprintf+0x16f r9 0x1 r10 0x25 r11 0xc8262456e3e6dfe r12 0x3000000008 r13 0xffff800022bacd30 r14 0x100 r15 0x1 rip 0xffffffff81b16568 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022bacd10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=249786 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf688,0xffffffff8261b7d8 process=0xffff800020adc000 user=0xffff800022ba8000, vmspace=0xfffffd807f00b5c0 estcpu=36, cpticks=12, pctcpu=0.0 user=0, sys=12, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96041 373055 81038 0 7 0 syz-executor.0 *96041 249786 81038 0 7 0x4000000 syz-executor.0 45459 226956 64076 0 2 0 syz-executor.1 45459 202635 64076 0 2 0x4000000 syz-executor.1 64076 283325 82402 0 2 0x482 syz-executor.1 1892 446447 1 0 3 0x100083 ttyin getty 81038 403253 82402 0 2 0x482 syz-executor.0 93664 2813 0 0 3 0x14200 acct acct 7352 490447 0 0 3 0x14200 bored sosplice 82402 444658 54837 0 3 0x82 thrsleep syz-fuzzer 82402 252103 54837 0 2 0x4000482 syz-fuzzer 82402 430028 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 411193 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 178047 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 272690 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 398963 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 430033 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 75072 54837 0 3 0x4000082 thrsleep syz-fuzzer 82402 247549 54837 0 3 0x4000082 kqread syz-fuzzer 54837 81364 84706 0 3 0x10008a pause ksh 84706 474347 5471 0 3 0x92 select sshd 5471 205065 1 0 3 0x80 select sshd 72607 328794 77430 74 3 0x100092 bpf pflogd 77430 410625 1 0 3 0x80 netio pflogd 51496 322325 66279 73 3 0x100090 kqread syslogd 66279 1802 1 0 3 0x100082 netio syslogd 5933 439473 1 77 3 0x100090 poll dhclient 88384 364877 1 0 3 0x80 poll dhclient 88831 413502 0 0 2 0x14200 zerothread 70072 174936 0 0 3 0x14200 aiodoned aiodoned 13942 78993 0 0 3 0x14200 syncer update 25114 435594 0 0 3 0x14200 cleaner cleaner 5283 126284 0 0 3 0x14200 reaper reaper 699 46246 0 0 3 0x14200 pgdaemon pagedaemon 78268 233891 0 0 3 0x14200 bored crynlk 37576 3892 0 0 3 0x14200 bored crypto 27525 328270 0 0 3 0x40014200 acpi0 acpi0 69227 375131 0 0 3 0x40014200 idle1 37364 172305 0 0 3 0x14200 bored softnet 29005 74554 0 0 3 0x14200 bored systqmp 19424 302834 0 0 3 0x14200 bored systq 39390 12609 0 0 2 0x40014200 softclock 98828 28102 0 0 3 0x40014200 idle0 37253 241164 0 0 3 0x14200 bored smr 1 460855 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 96041 (syz-executor.0) thread 0xffff800020ace2c8 (249786) 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 (0xffffffff8266baa8) #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 Process 45459 (syz-executor.1) thread 0xffff800020acf688 (202635) exclusive rrwlock inode r = 0 (0xfffffd806e1e4d68) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f7462b8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:562 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:418 #6 namei+0x62c sys/kern/vfs_lookup.c:248 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:2968 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9582 6472K 7356K 78643K 20738 0 0 pcb 13 8K 8K 78643K 497 0 0 rtable 111 4K 5K 78643K 1145 0 0 ifaddr 78 16K 18K 78643K 468 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1675 0 0 iov 0 0K 24K 78643K 335 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 77K 78643K 4675 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 47 0 0 VM map 2 1K 1K 78643K 3 0 0 sem 12 0K 0K 78643K 455 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 6 17K 25K 78643K 3741 0 0 sigio 0 0K 0K 78643K 44 0 0 proc 61 63K 95K 78643K 1099 0 0 subproc 32 2K 2K 78643K 165 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 316 0 0 in_multi 33 2K 2K 78643K 191 0 0 ether_multi 1 0K 0K 78643K 8 0 0 mrt 1 0K 0K 78643K 15 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 597 0 0 pfkey data 0 0K 0K 78643K 3 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 115 22K 31K 78643K 12879 0 0 UVM aobj 130 6K 6K 78643K 150 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 464 0 0 NDP 18 0K 0K 78643K 136 0 0 temp 216 3556K 4196K 78643K 29855 0 0 kqueue 0 0K 0K 78643K 20 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 20 0 14 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 172 0 170 1 0 1 1 0 8 0 rtentry 112 123 0 79 2 0 2 2 0 8 0 unpcb 120 1169 0 1159 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 5818 0 5818 1 1 0 1 0 8 0 tcpcb 544 738 0 734 1 0 1 1 0 8 0 inpcb 280 2232 0 2225 5 4 1 2 0 8 0 rttmr 72 4 0 4 4 4 0 1 0 8 0 nd6 48 18 0 14 1 0 1 1 0 8 0 pkpcb 40 8 0 8 4 4 0 1 0 8 0 ppxss 1128 76 0 76 8 7 1 1 0 8 1 pffrag 232 6 0 6 3 3 0 1 0 482 0 pffrnode 88 6 0 6 3 3 0 1 0 8 0 pffrent 40 20 0 20 3 3 0 1 0 8 0 pfosfp 40 846 0 846 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfstitem 24 118 0 96 1 0 1 1 0 8 0 pfstkey 112 118 0 96 2 0 2 2 0 8 0 pfstate 328 118 0 96 4 0 4 4 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 531 0 313 14 0 14 14 0 8 0 art_table 32 532 0 313 2 0 2 2 0 8 0 art_node 16 118 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 11 1 0 1 1 0 8 0 semapl 112 453 0 443 1 0 1 1 0 8 0 shmpl 112 148 0 20 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 7188 0 5777 46 0 46 46 0 8 0 ffsino 272 7188 0 5777 95 0 95 95 0 8 0 nchpl 144 12577 0 10967 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 40188 0 40187 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 1 0 1 1 0 1 1 0 8 1 scsiplug 64 7 0 7 4 4 0 1 0 8 0 scxspl 192 36820 0 36820 17 16 1 7 0 8 1 plimitpl 152 372 0 364 1 0 1 1 0 8 0 sigapl 432 3924 0 3908 3 1 2 3 0 8 0 futexpl 56 49082 0 49082 1 0 1 1 0 8 1 knotepl 112 748 0 729 1 0 1 1 0 8 0 kqueuepl 104 772 0 770 1 0 1 1 0 8 0 pipepl 112 1998 0 1979 5 4 1 2 0 8 0 fdescpl 488 3925 0 3908 3 0 3 3 0 8 0 filepl 152 23174 0 23070 7 2 5 7 0 8 1 lockfpl 104 1260 0 1257 1 0 1 1 0 8 0 lockfspl 48 435 0 433 1 0 1 1 0 8 0 sessionpl 112 29 0 18 1 0 1 1 0 8 0 pgrppl 48 62 0 51 1 0 1 1 0 8 0 ucredpl 96 4386 0 4377 1 0 1 1 0 8 0 zombiepl 144 3910 0 3910 2 1 1 1 0 8 1 processpl 896 3944 0 3910 4 0 4 4 0 8 0 procpl 632 11706 0 11661 11 6 5 5 0 8 0 srpgc 64 18 0 18 11 10 1 1 0 8 1 sosppl 128 25 0 25 10 10 0 1 0 8 0 sockpl 384 3623 0 3604 5 2 3 4 0 8 1 mcl64k 65536 271 0 0 33 2 31 33 0 8 1 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 19 0 0 2 0 2 2 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 143 0 0 16 0 16 16 0 8 0 mtagpl 80 51 0 0 2 0 2 2 0 8 0 mbufpl 256 445 0 0 23 0 23 23 0 8 0 bufpl 256 14189 0 7141 441 0 441 441 0 8 0 anonpl 16 343550 0 332104 136 73 63 69 0 124 9 amapchunkpl 152 22271 0 22131 22 15 7 11 0 158 1 amappl16 192 18655 0 17953 121 83 38 48 0 8 2 amappl15 184 106 0 106 2 1 1 1 0 8 1 amappl14 176 224 0 223 1 0 1 1 0 8 0 amappl13 168 1332 0 1332 1 1 0 1 0 8 0 amappl12 160 711 0 706 1 0 1 1 0 8 0 amappl11 152 73 0 58 1 0 1 1 0 8 0 amappl10 144 971 0 965 1 0 1 1 0 8 0 amappl9 136 1083 0 1077 1 0 1 1 0 8 0 amappl8 128 613 0 587 1 0 1 1 0 8 0 amappl7 120 1038 0 1029 1 0 1 1 0 8 0 amappl6 112 70 0 62 1 0 1 1 0 8 0 amappl5 104 902 0 885 1 0 1 1 0 8 0 amappl4 96 3384 0 3351 2 1 1 2 0 8 0 amappl3 88 1211 0 1204 1 0 1 1 0 8 0 amappl2 80 31437 0 31356 3 1 2 3 0 8 0 amappl1 72 93478 0 93030 25 15 10 20 0 8 0 amappl 80 12090 0 12044 2 0 2 2 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 149 0 20 3 0 3 3 0 8 0 uaddrrnd 24 3926 0 3908 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3926 0 3908 1 0 1 1 0 8 0 vmmpekpl 168 31638 0 31602 2 0 2 2 0 8 0 vmmpepl 168 483648 0 481716 232 127 105 105 0 357 20 vmsppl 368 3924 0 3908 2 0 2 2 0 8 0 pdppl 4096 7859 0 7818 7 1 6 6 0 8 0 pvpl 32 955270 0 940547 300 137 163 172 0 265 30 pmappl 232 3925 0 3909 3 1 2 2 0 8 1 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 648 0 7 19 0 19 19 0 8 0