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(ffff800021b930c0) at vm_get_info+0x9d VOP_IOCTL(fffffd8078789d00,c0185603,ffff800021b930c0,1,fffffd807f7c68a0,ffff800020abf8c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd807b1f34c8,c0185603,ffff800021b930c0,ffff800020abf8c8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abf8c8,ffff800021b931d8,ffff800021b93220) at sys_ioctl+0x5b9 syscall(ffff800021b932a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b932a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,6aced8590e0) at Xsyscall+0x128 end of kernel end trace frame: 0x6af729c3870, 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 = 18446744073709550976 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(fffffffffffffd80,2,a) at malloc+0x9c9 sys/kern/kern_malloc.c:344 vm_get_info(ffff800021b930c0) at vm_get_info+0x9d VOP_IOCTL(fffffd8078789d00,c0185603,ffff800021b930c0,1,fffffd807f7c68a0,ffff800020abf8c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd807b1f34c8,c0185603,ffff800021b930c0,ffff800020abf8c8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff800020abf8c8,ffff800021b931d8,ffff800021b93220) at sys_ioctl+0x5b9 syscall(ffff800021b932a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b932a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff53,0,3,6aced8590e0) at Xsyscall+0x128 end of kernel end trace frame: 0x6af729c3870, count: -9 ddb{0}> show registers rdi 0xffffffff8193b027 db_enter+0x17 rsi 0x4d0d __ALIGN_SIZE+0x3d0d rbp 0xffff800021b92d00 rbx 0xffff800021b92db0 rdx 0x4d0e __ALIGN_SIZE+0x3d0e rcx 0xffff800022d8a000 rax 0xffff800022d8a000 r8 0xffffffff810af37f kprintf+0x16f r9 0x1 r10 0x25 r11 0xee33741d1b58773b r12 0x3000000008 r13 0xffff800021b92d10 r14 0x100 r15 0x1 rip 0xffffffff8193b028 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021b92cf0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=308469 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020abe9f8,0xffff800020abfb50 process=0xffff800020add500 user=0xffff800021b8e000, vmspace=0xfffffd807f00bb80 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65298 268818 34457 0 2 0 syz-executor.0 65298 227508 34457 0 3 0x4000080 fsleep syz-executor.0 65298 456374 34457 0 3 0x4000080 fsleep syz-executor.0 78559 438506 1999 0 7 0 syz-executor.1 78559 312475 1999 0 2 0x4000000 syz-executor.1 *78559 308469 1999 0 7 0x4000000 syz-executor.1 1999 208319 50958 0 2 0x482 syz-executor.1 34457 66217 50958 0 3 0x82 nanosleep syz-executor.0 82996 178298 0 0 3 0x14200 bored sosplice 50958 450966 62527 0 3 0x82 thrsleep syz-fuzzer 50958 247375 62527 0 2 0x4000482 syz-fuzzer 50958 518020 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 49164 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 75138 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 387250 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 315557 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 155544 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 284645 62527 0 3 0x4000082 thrsleep syz-fuzzer 50958 366552 62527 0 3 0x4000082 kqread syz-fuzzer 62527 284297 82156 0 3 0x10008a pause ksh 82156 141753 72602 0 3 0x92 select sshd 27963 106257 1 0 3 0x100083 ttyin getty 72602 224764 1 0 3 0x80 select sshd 5510 181517 75352 74 3 0x100092 bpf pflogd 75352 514079 1 0 3 0x80 netio pflogd 44252 368621 27686 73 2 0x100010 syslogd 27686 337076 1 0 3 0x100082 netio syslogd 54945 237674 1 77 3 0x100090 poll dhclient 41619 357803 1 0 3 0x80 poll dhclient 26422 478034 0 0 2 0x14200 zerothread 38574 221914 0 0 3 0x14200 aiodoned aiodoned 59469 289161 0 0 3 0x14200 syncer update 77896 331365 0 0 3 0x14200 cleaner cleaner 17564 384147 0 0 3 0x14200 reaper reaper 43183 196669 0 0 3 0x14200 pgdaemon pagedaemon 9066 403309 0 0 3 0x14200 bored crynlk 92132 305983 0 0 3 0x14200 bored crypto 37880 67603 0 0 3 0x40014200 acpi0 acpi0 13167 194146 0 0 3 0x40014200 idle1 49839 270652 0 0 3 0x14200 bored softnet 17424 363899 0 0 3 0x14200 bored systqmp 21318 38704 0 0 3 0x14200 bored systq 26242 24133 0 0 2 0x40014200 softclock 63463 359913 0 0 3 0x40014200 idle0 58264 441106 0 0 3 0x14200 bored smr 1 521856 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 78559 (syz-executor.1) thread 0xffff800020abf8c8 (308469) 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 (0xffffffff82620e88) #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 44252 (syslogd) thread 0xffff800020ac0c68 (368621) exclusive rrwlock inode r = 0 (0xfffffd807878fc48) #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 sys_fsync+0x114 sys/kern/vfs_syscalls.c:2806 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9596 7089K 15003K 78643K 16228 0 0 pcb 13 8K 8K 78643K 266 0 0 rtable 111 4K 5K 78643K 777 0 0 ifaddr 81 17K 17K 78643K 288 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1568 0 0 iov 0 0K 32K 78643K 188 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 77K 78643K 3143 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 32 0 0 VM map 2 1K 1K 78643K 6 0 0 sem 12 0K 0K 78643K 261 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12843 0 0 file desc 6 17K 25K 78643K 2073 0 0 sigio 0 0K 0K 78643K 21 0 0 proc 61 63K 95K 78643K 828 0 0 subproc 32 2K 2K 78643K 119 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 151 0 0 in_multi 33 2K 2K 78643K 160 0 0 ether_multi 1 0K 0K 78643K 14 0 0 mrt 2 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 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 440 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 104 21K 30K 78643K 7577 0 0 UVM aobj 97 3K 3K 78643K 105 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 2 0K 1K 78643K 271 0 0 NDP 19 0K 0K 78643K 86 0 0 temp 221 3560K 4200K 78643K 29924 0 0 kqueue 0 0K 0K 78643K 23 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 16 0 10 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 94 0 92 1 0 1 1 0 8 0 rtentry 112 97 0 53 2 0 2 2 0 8 0 unpcb 120 760 0 750 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 7220 0 7220 2 2 0 2 0 8 0 tcpcb 544 391 0 386 1 0 1 1 0 8 0 inpcb 280 1177 0 1169 2 1 1 2 0 8 0 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 14 0 10 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 2 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 34 0 34 6 5 1 1 0 8 1 pffrag 232 2 0 2 1 1 0 1 0 482 0 pffrnode 88 2 0 2 1 1 0 1 0 8 0 pffrent 40 6 0 6 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 57 0 36 1 0 1 1 0 8 0 pfstkey 112 57 0 36 1 0 1 1 0 8 0 pfstate 328 57 0 36 3 0 3 3 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 439 0 224 14 0 14 14 0 8 0 art_table 32 440 0 224 2 0 2 2 0 8 0 art_node 16 96 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 14 1 0 1 1 0 8 0 semapl 112 259 0 249 1 0 1 1 0 8 0 shmpl 112 103 0 8 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4521 0 3118 46 0 46 46 0 8 0 ffsino 272 4521 0 3118 94 0 94 94 0 8 0 nchpl 144 7646 0 6042 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 24159 0 24159 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 4 0 4 2 1 1 1 0 8 1 scsiplug 64 4 0 4 3 3 0 1 0 8 0 scxspl 192 22046 0 22046 23 21 2 7 0 8 2 plimitpl 152 210 0 202 1 0 1 1 0 8 0 sigapl 432 2258 0 2242 3 1 2 3 0 8 0 futexpl 56 26945 0 26943 1 0 1 1 0 8 0 knotepl 112 466 0 447 2 1 1 2 0 8 0 kqueuepl 104 421 0 419 1 0 1 1 0 8 0 pipepl 112 1112 0 1093 2 0 2 2 0 8 1 fdescpl 488 2259 0 2242 3 0 3 3 0 8 0 filepl 152 13462 0 13357 7 1 6 6 0 8 1 lockfpl 104 706 0 705 1 0 1 1 0 8 0 lockfspl 48 233 0 232 1 0 1 1 0 8 0 sessionpl 112 23 0 12 1 0 1 1 0 8 0 pgrppl 48 42 0 31 1 0 1 1 0 8 0 ucredpl 96 2655 0 2646 1 0 1 1 0 8 0 zombiepl 144 2242 0 2242 2 1 1 1 0 8 1 processpl 896 2275 0 2242 4 0 4 4 0 8 0 procpl 632 6556 0 6510 8 3 5 5 0 8 1 srpgc 64 12 0 12 5 5 0 1 0 8 0 sosppl 128 30 0 30 7 6 1 1 0 8 1 sockpl 384 2057 0 2037 5 2 3 4 0 8 0 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 16 0 0 2 0 2 2 0 8 0 mcl9k 9216 11 0 0 1 0 1 1 0 8 0 mcl8k 8192 12 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 254 0 0 31 1 30 31 0 8 0 mtagpl 80 35 0 0 1 0 1 1 0 8 0 mbufpl 256 299 0 0 18 1 17 17 0 8 0 bufpl 256 10709 0 3661 441 0 441 441 0 8 0 anonpl 16 216215 0 203220 100 39 61 68 0 124 6 amapchunkpl 152 13328 0 13215 33 23 10 10 0 158 5 amappl16 192 10428 0 9711 76 39 37 48 0 8 1 amappl15 184 643 0 637 1 0 1 1 0 8 0 amappl14 176 68 0 66 1 0 1 1 0 8 0 amappl13 168 69 0 69 1 1 0 1 0 8 0 amappl12 160 19 0 18 1 0 1 1 0 8 0 amappl11 152 67 0 51 1 0 1 1 0 8 0 amappl10 144 658 0 650 1 0 1 1 0 8 0 amappl9 136 1592 0 1586 1 0 1 1 0 8 0 amappl8 128 1119 0 1098 1 0 1 1 0 8 0 amappl7 120 709 0 699 1 0 1 1 0 8 0 amappl6 112 76 0 64 1 0 1 1 0 8 0 amappl5 104 181 0 167 1 0 1 1 0 8 0 amappl4 96 2583 0 2550 1 0 1 1 0 8 0 amappl3 88 169 0 162 1 0 1 1 0 8 0 amappl2 80 17166 0 17082 3 1 2 3 0 8 0 amappl1 72 57838 0 57377 25 15 10 20 0 8 0 amappl 80 6901 0 6860 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 104 0 8 2 0 2 2 0 8 0 uaddrrnd 24 2263 0 2242 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2263 0 2242 1 0 1 1 0 8 0 vmmpekpl 168 19063 0 19029 2 0 2 2 0 8 0 vmmpepl 168 278264 0 276297 185 93 92 110 0 357 6 vmsppl 368 2258 0 2242 2 0 2 2 0 8 0 pdppl 4096 4533 0 4492 7 1 6 6 0 8 0 pvpl 32 605405 0 589121 242 86 156 170 0 265 23 pmappl 232 2262 0 2246 4 2 2 2 0 8 1 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 626 0 7 18 0 18 18 0 8 0