panic: vmxon failed Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 371852 65321 0 0x8000000 0x4000000 1 syz-executor.2 *171513 65321 0 0x8000000 0x4000000 0 syz-executor.2 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82881053) at panic+0x17b sys/kern/subr_prf.c:198 start_vmm_on_cpu(ffffffff82d17ff0) at start_vmm_on_cpu+0x1d3 sys/arch/amd64/amd64/vmm_machdep.c:1106 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 vmxon() at vmxon+0x16 vmm_start() at vmm_start+0x58 sys/arch/amd64/amd64/vmm_machdep.c:959 vmmioctl(a00,c2585601,ffff800000da7c00,1,ffff80002a22c7d8) at vmmioctl+0x1d3 sys/dev/vmm/vmm.c:235 VOP_IOCTL(fffffd806e3f3290,c2585601,ffff800000da7c00,1,fffffd807f7d77b8,ffff80002a22c7d8) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068b38130,c2585601,ffff800000da7c00,ffff80002a22c7d8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a22c7d8,ffff80002a38e1a0,ffff80002a38e0f0) at sys_ioctl+0x4a9 syscall(ffff80002a38e1a0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a38e1a0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd025ca271a0, count: 2 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 *cpu0: vmxon failed ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82881053) at panic+0x17b sys/kern/subr_prf.c:198 start_vmm_on_cpu(ffffffff82d17ff0) at start_vmm_on_cpu+0x1d3 sys/arch/amd64/amd64/vmm_machdep.c:1106 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 vmxon() at vmxon+0x16 vmm_start() at vmm_start+0x58 sys/arch/amd64/amd64/vmm_machdep.c:959 vmmioctl(a00,c2585601,ffff800000da7c00,1,ffff80002a22c7d8) at vmmioctl+0x1d3 sys/dev/vmm/vmm.c:235 VOP_IOCTL(fffffd806e3f3290,c2585601,ffff800000da7c00,1,fffffd807f7d77b8,ffff80002a22c7d8) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068b38130,c2585601,ffff800000da7c00,ffff80002a22c7d8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a22c7d8,ffff80002a38e1a0,ffff80002a38e0f0) at sys_ioctl+0x4a9 syscall(ffff80002a38e1a0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a38e1a0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd025ca271a0, count: -13 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a38dad0 rbx 0xffffffff82d18cbf cpu_info_full_primary+0x2cbf rdx 0x3fd rcx 0 rax 0x14 r8 0x101010101010101 r9 0x8080808080808080 r10 0xcf8c863b15344600 r11 0xcdbd10c671d1d92 r12 0xffffffff82d18ac0 cpu_info_full_primary+0x2ac0 r13 0 r14 0 r15 0x1 rip 0xffffffff823982bc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a38dac0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.2) tid=171513 pid=65321 tcnt=3 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a22d9c8,0xffff8000ffffd4a0 process=0xffff8000ffff0900 user=0xffff80002a389000, vmspace=0xfffffd80690eb1c0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57221 495241 77843 0 2 0x8000002 sh 98089 152931 69176 0 2 0x8000040 syz-executor.3 65321 424246 30503 0 2 0x8000000 syz-executor.2 65321 371852 30503 0 7 0xc000000 syz-executor.2 *65321 171513 30503 0 7 0xc000000 syz-executor.2 44149 490311 90372 0 2 0x8000000 syz-executor.6 44149 502194 90372 0 2 0xc000000 syz-executor.6 44149 50614 90372 0 3 0xc000080 fsleep syz-executor.6 28500 163427 79201 0 2 0x8000002 ifconfig 43815 161334 19940 0 2 0x8000002 sh 79201 215953 46132 0 3 0x810008a sigsusp sh 70503 243151 46682 0 2 0x8100002 sh 59265 266067 94657 0 2 0x8000002 ifconfig 94657 27661 38889 0 3 0x810008a sigsusp sh 77843 427873 64038 0 3 0x8000082 wait syz-executor.7 19940 484662 64038 0 3 0x8000082 wait syz-executor.5 30503 319289 64038 0 3 0x8000082 nanoslp syz-executor.2 46132 397294 64038 0 3 0x8000082 wait syz-executor.4 90372 288049 64038 0 3 0x8000082 nanoslp syz-executor.6 69176 172855 64038 0 3 0x8000082 ppwait syz-executor.3 38889 356031 64038 0 3 0x8000082 wait syz-executor.0 46682 152722 64038 0 3 0x8000082 wait syz-executor.1 64038 473475 11101 0 3 0x1a000082 thrsleep syz-execprog 64038 364525 11101 0 3 0x1e000082 thrsleep syz-execprog 64038 495018 11101 0 3 0x1e000082 wait syz-execprog 64038 157914 11101 0 3 0x1e000082 wait syz-execprog 64038 346660 11101 0 3 0x1e000082 wait syz-execprog 64038 428349 11101 0 3 0x1e000082 wait syz-execprog 64038 378489 11101 0 3 0x1e000082 thrsleep syz-execprog 64038 465915 11101 0 3 0x1e000082 wait syz-execprog 64038 178067 11101 0 3 0x1e000082 wait syz-execprog 64038 263529 11101 0 3 0x1e000082 wait syz-execprog 64038 158255 11101 0 3 0x1e000082 thrsleep syz-execprog 64038 416813 11101 0 3 0x1e000082 wait syz-execprog 64038 21699 11101 0 3 0x1e000082 thrsleep syz-execprog 64038 68133 11101 0 3 0x1e000082 kqread syz-execprog 64038 315714 11101 0 3 0x1e000082 thrsleep syz-execprog 11101 458466 23946 0 3 0x810008a sigsusp ksh 23946 120201 690 0 3 0x1800009a kqread sshd 45575 253555 1 0 3 0x18100083 ttyin getty 690 161050 1 0 3 0x18000088 kqread sshd 75894 191307 7396 74 3 0x19100092 bpf pflogd 7396 307903 1 0 3 0x18000080 sbwait pflogd 623 63948 50194 73 3 0x19100090 kqread syslogd 50194 27797 1 0 3 0x18100082 sbwait syslogd 78418 49316 1 0 3 0x18100080 kqread resolvd 90807 185798 55804 77 3 0x18100092 kqread dhcpleased 46685 219877 55804 77 3 0x18100092 kqread dhcpleased 55804 368971 1 0 3 0x18000080 kqread dhcpleased 63753 462824 0 0 3 0x14200 bored smr 71623 101658 0 0 2 0x14200 zerothread 1033 309870 0 0 3 0x14200 aiodoned aiodoned 65958 318118 0 0 3 0x14200 syncer update 6732 239176 0 0 3 0x14200 cleaner cleaner 97271 118498 0 0 3 0x14200 reaper reaper 59093 444407 0 0 3 0x14200 pgdaemon pagedaemon 67039 248562 0 0 3 0x14200 bored viomb 71130 128782 0 0 3 0x40014200 acpi0 acpi0 66466 309271 0 0 3 0x40014200 idle1 5201 512576 0 0 3 0x14200 bored softnet3 65153 175014 0 0 3 0x14200 bored softnet2 82788 263384 0 0 3 0x14200 bored softnet1 40511 329005 0 0 3 0x14200 bored softnet0 32925 455862 0 0 3 0x14200 bored systqmp 20054 311269 0 0 3 0x14200 bored systq 40061 311355 0 0 3 0x14200 tmoslp softclockmp 63030 89661 0 0 3 0x40014200 tmoslp softclock 38260 282517 0 0 3 0x40014200 idle0 1 328345 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10173 6473K 6473K 166960K 11251 0 pcb 15 10K 10K 166960K 15 0 rtable 166 4K 4K 166960K 252 0 pf 32 9K 10K 166960K 43 0 ifaddr 36 13K 13K 166960K 38 0 ifgroup 55 2K 2K 166960K 55 0 counters 64 36K 36K 166960K 64 0 ioctlops 2 2K 4K 166960K 1481 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1261 79K 79K 166960K 1280 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 20 73K 93K 166960K 114 0 proc 74 103K 128K 166960K 491 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 58 4K 4K 166960K 58 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 362 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 264 75K 75K 166960K 3489 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 44 88K 108K 166960K 1255 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 20 1K 1K 166960K 20 0 temp 1 6796K 6860K 166960K 3969 0 kqueue 12 18K 18K 166960K 25 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 26 0 23 1 0 1 1 0 8 0 rtentry 112 77 0 1 3 0 3 3 0 8 0 unpcb 144 35 0 20 1 0 1 1 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 107 0 107 1 1 0 1 0 8 0 tcpcb 808 9 0 5 1 0 1 1 0 8 0 arp 120 16 0 0 1 0 1 1 0 8 0 inpcb 392 62 0 53 1 0 1 1 0 8 0 nd6 136 10 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 14 0 7 2 1 1 1 0 8 0 pfstkey 128 14 0 7 2 1 1 1 0 8 0 pfstate 376 14 0 7 2 1 1 1 0 8 0 pfrule 1344 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 287 0 0 18 0 18 18 0 8 0 art_table 32 288 0 0 3 0 3 3 0 8 0 art_node 16 76 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1574 0 55 95 0 95 95 0 8 0 ffsino 272 1574 0 55 102 0 102 102 0 8 0 nchpl 144 1839 0 63 66 0 66 66 0 8 0 uvmvnodes 80 1588 0 0 33 0 33 33 0 8 0 vnodes 216 1588 0 0 89 0 89 89 0 8 0 namei 1024 6240 0 6240 4 1 3 3 0 8 3 percpumem 16 46 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 7324 0 7324 10 9 1 8 1 8 1 plimitpl 152 37 0 20 1 0 1 1 0 8 0 sigapl 424 434 0 383 7 0 7 7 0 8 0 futexpl 64 19 0 18 1 0 1 1 0 8 0 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 143 0 115 4 1 3 3 0 8 0 fdescpl 496 416 0 383 5 0 5 5 0 8 0 filepl 152 1692 0 1550 6 0 6 6 0 8 0 lockfpl 104 7 0 4 1 0 1 1 0 8 0 lockfspl 48 5 0 2 1 0 1 1 0 8 0 sessionpl 144 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 383 0 383 2 1 1 1 0 8 1 processpl 1136 434 0 383 5 0 5 5 0 8 0 procpl 656 452 0 383 6 0 6 6 0 8 0 sockpl 584 123 0 96 3 0 3 3 0 8 1 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 331 0 0 42 3 39 42 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 348 0 0 22 0 22 22 0 8 0 bufpl 280 4309 0 184 295 0 295 295 0 8 0 anonpl 24 186388 0 181709 72 15 57 58 0 186 27 amapchunkpl 152 11106 0 10506 30 1 29 29 0 158 5 amappl16 200 5077 0 5012 10 5 5 5 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 150 0 138 2 0 2 2 0 8 1 amappl13 176 25 0 24 2 1 1 1 0 8 0 amappl12 168 1100 0 1065 4 1 3 3 0 8 0 amappl11 160 59 0 45 1 0 1 1 0 8 0 amappl10 152 38 0 30 2 1 1 1 0 8 0 amappl9 144 185 0 185 2 1 1 1 0 8 1 amappl8 136 110 0 77 2 0 2 2 0 8 0 amappl7 128 47 0 38 1 0 1 1 0 8 0 amappl6 120 308 0 287 2 0 2 2 0 8 1 amappl5 112 201 0 184 1 0 1 1 0 8 0 amappl4 104 562 0 522 3 0 3 3 0 8 1 amappl3 96 2523 0 2448 2 0 2 2 0 8 0 amappl2 88 799 0 726 4 0 4 4 0 8 2 amappl1 80 10643 0 10083 27 5 22 23 0 8 9 amappl 88 2960 0 2783 5 0 5 5 0 92 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 416 0 383 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 416 0 383 1 0 1 1 0 8 0 vmmpekpl 168 8782 0 8753 2 0 2 2 0 8 0 vmmpepl 168 47708 0 45931 129 6 123 123 0 357 42 vmsppl 440 415 0 383 6 1 5 5 0 8 0 rwobjpl 56 21562 0 18881 50 2 48 48 0 8 7 pdppl 4096 839 0 766 103 20 83 83 0 8 10 pvpl 32 49442 0 0 399 2 397 397 0 265 0 pmappl 248 415 0 383 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 401 0 27 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82881053) at panic+0x17b sys/kern/subr_prf.c:198 start_vmm_on_cpu(ffffffff82d17ff0) at start_vmm_on_cpu+0x1d3 sys/arch/amd64/amd64/vmm_machdep.c:1106 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 vmxon() at vmxon+0x16 vmm_start() at vmm_start+0x58 sys/arch/amd64/amd64/vmm_machdep.c:959 vmmioctl(a00,c2585601,ffff800000da7c00,1,ffff80002a22c7d8) at vmmioctl+0x1d3 sys/dev/vmm/vmm.c:235 VOP_IOCTL(fffffd806e3f3290,c2585601,ffff800000da7c00,1,fffffd807f7d77b8,ffff80002a22c7d8) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068b38130,c2585601,ffff800000da7c00,ffff80002a22c7d8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a22c7d8,ffff80002a38e1a0,ffff80002a38e0f0) at sys_ioctl+0x4a9 syscall(ffff80002a38e1a0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a38e1a0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd025ca271a0, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 vmm_start() at vmm_start+0xf2 sys/arch/amd64/amd64/vmm_machdep.c:975 vmmioctl(a00,c2585601,ffff800000da7800,1,ffff80002a22d9c8) at vmmioctl+0x1d3 sys/dev/vmm/vmm.c:235 VOP_IOCTL(fffffd806e3f3290,c2585601,ffff800000da7800,1,fffffd807f7d77b8,ffff80002a22d9c8) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068b38130,c2585601,ffff800000da7800,ffff80002a22d9c8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a22d9c8,ffff80002a382680,ffff80002a3825d0) at sys_ioctl+0x4a9 syscall(ffff80002a382680) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a382680) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd02590825b0, count: 5 ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 vmm_start() at vmm_start+0xf2 sys/arch/amd64/amd64/vmm_machdep.c:975 vmmioctl(a00,c2585601,ffff800000da7800,1,ffff80002a22d9c8) at vmmioctl+0x1d3 sys/dev/vmm/vmm.c:235 VOP_IOCTL(fffffd806e3f3290,c2585601,ffff800000da7800,1,fffffd807f7d77b8,ffff80002a22d9c8) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068b38130,c2585601,ffff800000da7800,ffff80002a22d9c8) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a22d9c8,ffff80002a382680,ffff80002a3825d0) at sys_ioctl+0x4a9 syscall(ffff80002a382680) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a382680) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd02590825b0, count: -10