kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800022d6bec0) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022d6bec0,1,ffff80002e4e2540) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd8070ed0bb0,c0205602,ffff800022d6bec0,1,fffffd807f7d7618,ffff80002e4e2540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8066aecd10,c0205602,ffff800022d6bec0,ffff80002e4e2540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002e4e2540,ffff800022d6bfd8,ffff800022d6c020) at sys_ioctl+0x4a2 syscall(ffff800022d6c0a0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022d6c0a0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe064c35f20, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002e45f640 rbp 0xffff800022d6bc10 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffe r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x6ab0fd506521646b r11 0x7e2c858e99543f67 r12 0xffff80002e45f3a0 r13 0 r14 0xffff80002e45f000 r15 0xffffffff8295bff0 cpu_info_full_primary+0x1ff0 rip 0xffffffff81901f00 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800022d6ba56 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.5) pid=219793 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff7a50,0xffff80002e4e3270 process=0xffff8000296071f8 user=0xffff800022d67000, vmspace=0xfffffd8068b898c8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62892 6464 26004 0 2 0 syz-executor.2 85821 353261 57106 0 2 0 syz-executor.5 *85821 219793 57106 0 7 0x4000000 syz-executor.5 778 391220 15621 0 2 0 syz-executor.0 778 60371 15621 0 3 0x4000080 fsleep syz-executor.0 778 158837 15621 0 3 0x4000080 fsleep syz-executor.0 11420 159401 33975 0 2 0 syz-executor.6 11420 218977 33975 0 3 0x4000080 fsleep syz-executor.6 11420 206733 33975 0 3 0x4000080 fsleep syz-executor.6 15218 358073 79562 0 2 0 syz-executor.7 15218 94353 79562 0 3 0x4000080 fsleep syz-executor.7 61903 123998 92312 0 2 0 syz-executor.3 61903 84727 92312 0 3 0x4000080 fsleep syz-executor.3 61903 29755 92312 0 3 0x4000080 fsleep syz-executor.3 67266 82592 41049 0 2 0 syz-executor.4 67266 400665 41049 0 3 0x4000080 fsleep syz-executor.4 89055 407583 50582 0 3 0x80 nanoslp syz-executor.1 89055 482734 50582 0 3 0x4000080 nanoslp syz-executor.1 41049 69063 20826 0 3 0x82 nanoslp syz-executor.4 57106 455068 20826 0 3 0x82 nanoslp syz-executor.5 79562 73275 20826 0 3 0x82 nanoslp syz-executor.7 92312 213410 20826 0 3 0x82 nanoslp syz-executor.3 26004 349022 20826 0 3 0x82 nanoslp syz-executor.2 15621 200092 20826 0 3 0x82 nanoslp syz-executor.0 99587 248212 1 0 3 0x100083 ttyin getty 50582 160591 20826 0 3 0x82 nanoslp syz-executor.1 33975 334957 20826 0 3 0x82 nanoslp syz-executor.6 13067 413751 0 0 3 0x14200 bored sosplice 20826 163782 87258 0 3 0x82 thrsleep syz-fuzzer 20826 451012 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 217433 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 299523 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 417148 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 505754 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 113190 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 429064 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 160143 87258 0 3 0x4000082 thrsleep syz-fuzzer 20826 303715 87258 0 3 0x4000082 kqread syz-fuzzer 87258 341881 74111 0 3 0x10008a sigsusp ksh 74111 38670 37023 0 3 0x9a kqread sshd 37023 286713 1 0 3 0x88 kqread sshd 41271 133873 71929 74 3 0x1100092 bpf pflogd 71929 12434 1 0 3 0x80 netio pflogd 61572 72694 10151 73 3 0x1100090 kqread syslogd 10151 225129 1 0 3 0x100082 netio syslogd 80987 320818 1 0 3 0x100080 kqread resolvd 63979 272961 3591 77 3 0x100092 kqread dhcpleased 49050 114396 3591 77 3 0x100092 kqread dhcpleased 3591 126783 1 0 3 0x80 kqread dhcpleased 61434 429186 0 0 3 0x14200 bored smr 94173 138278 0 0 2 0x14200 zerothread 54204 91035 0 0 3 0x14200 aiodoned aiodoned 28943 481516 0 0 3 0x14200 syncer update 15108 87147 0 0 3 0x14200 cleaner cleaner 5789 398278 0 0 3 0x14200 reaper reaper 10987 474304 0 0 3 0x14200 pgdaemon pagedaemon 41204 36748 0 0 3 0x14200 bored viomb 27117 392148 0 0 3 0x40014200 acpi0 acpi0 51089 393403 0 0 7 0x40014200 idle1 72128 19901 0 0 3 0x14200 bored softnet 1835 78190 0 0 3 0x14200 bored softnet 53212 350798 0 0 3 0x14200 bored softnet 22125 229435 0 0 3 0x14200 bored softnet 82355 284043 0 0 3 0x14200 bored systqmp 86158 418297 0 0 3 0x14200 bored systq 39954 304690 0 0 3 0x40014200 bored softclock 30685 394880 0 0 3 0x40014200 idle0 1 423594 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85821 (syz-executor.5) thread 0xffff80002e4e2540 (219793) exclusive rwlock vcpu r = 0 (0xffff80002e45f3b0) #0 witness_lock+0x44d #1 vm_run+0x100 sys/arch/amd64/amd64/vmm.c:4536 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 #5 sys_ioctl+0x4a2 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 6571K 7027K 78643K 25419 0 pcb 13 20K 25K 78643K 2179 0 rtable 218 15K 19K 78643K 2394 0 ifaddr 96 20K 21K 78643K 872 0 sysctl 2 0K 2K 78643K 5 0 counters 56 35K 35K 78643K 224 0 ioctlops 0 0K 6K 78643K 3990 0 iov 0 0K 24K 78643K 1375 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1431 89K 90K 78643K 6924 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 81 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1114 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 85K 78643K 10195 0 sigio 0 0K 0K 78643K 251 0 proc 72 91K 128K 78643K 1797 0 subproc 104 6K 6K 78643K 520 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 243 0 in_multi 100 6K 7K 78643K 750 0 ether_multi 1 0K 0K 78643K 58 0 mrt 2 0K 0K 78643K 44 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 175 784K 784K 78643K 175 0 exec 0 0K 2K 78643K 2983 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 467 790K 794K 78643K 57289 0 UVM aobj 131 5K 5K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 304 0 NDP 14 0K 2K 78643K 200 0 temp 339 5126K 6150K 78643K 82415 0 kqueue 12 18K 26K 78643K 717 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 759 0 756 12 11 1 3 0 8 0 rtentry 112 650 0 557 4 0 4 4 0 8 0 unpcb 144 6407 0 6392 80 79 1 9 0 8 0 syncache 296 60 0 60 17 17 0 1 0 8 0 tcpqe 32 67 0 67 12 12 0 1 0 8 0 tcpcb 736 2444 0 2438 97 95 2 13 0 8 0 arp 120 86 0 72 1 0 1 1 0 8 0 inpcb 320 7780 0 7771 135 133 2 12 0 8 0 nd6 48 158 0 135 1 0 1 1 0 8 0 pkpcb 40 23 0 23 3 3 0 1 0 8 0 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1256 16 0 16 5 5 0 1 0 8 0 pfstscr 40 81 0 81 3 3 0 1 0 8 0 pffrag 232 59 0 57 4 3 1 1 0 482 0 pffrnode 88 59 0 57 4 3 1 1 0 8 0 pffrent 40 181 0 179 5 4 1 1 0 8 0 pfosfp 40 1550 0 1124 5 0 5 5 0 8 0 pfosfpen 112 1550 0 823 21 0 21 21 0 8 0 pfrktable 1344 189 0 189 3 3 0 1 0 8 0 pftag 88 11 0 4 1 0 1 1 0 8 0 pfqueue 264 141 0 71 5 0 5 5 0 8 0 pfstitem 24 49 0 47 1 0 1 1 0 8 0 pfstkey 120 133 0 131 1 0 1 1 0 8 0 pfstate 336 120 0 118 2 1 1 2 0 8 0 pfrule 1360 334 0 333 6 5 1 3 0 8 0 rttmr 136 7 0 7 3 3 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 2825 0 2351 47 17 30 30 0 8 0 art_table 32 2827 0 2352 4 0 4 4 0 8 0 art_node 16 604 0 522 1 0 1 1 0 8 0 sysvmsgpl 40 32 0 16 1 0 1 1 0 8 0 semapl 112 1112 0 1102 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 14776 0 13312 92 0 92 92 0 8 0 ffsino 272 14776 0 13312 99 0 99 99 0 8 0 nchpl 144 28050 0 26398 63 1 62 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 113597 0 113597 4 3 1 2 0 8 1 percpumem 16 124 0 84 1 0 1 1 0 8 0 vcpupl 2048 82 0 0 11 0 11 11 0 8 0 vmpool 568 166 0 84 6 0 6 6 0 8 0 pfiaddrpl 120 62 0 62 3 3 0 1 0 8 0 kstatmem 264 196 0 168 6 4 2 3 0 8 0 scxspl 216 74739 0 74739 16 14 2 8 0 8 2 plimitpl 152 1304 0 1289 1 0 1 1 0 8 0 sigapl 424 10461 0 10412 10 4 6 8 0 8 0 futexpl 64 96382 0 96374 2 1 1 1 0 8 0 knotepl 120 713 0 0 11 0 11 11 0 8 0 kqueuepl 224 2004 0 1996 38 37 1 7 0 8 0 pipepl 336 1895 0 1866 62 59 3 8 0 8 0 fdescpl 496 10422 0 10391 7 3 4 5 0 8 0 filepl 152 78108 0 77864 130 118 12 20 0 8 1 lockfpl 104 3214 0 3212 7 6 1 4 0 8 0 lockfspl 48 964 0 962 1 0 1 1 0 8 0 sessionpl 144 58 0 41 1 0 1 1 0 8 0 pgrppl 48 233 0 216 1 0 1 1 0 8 0 ucredpl 104 10236 0 10224 1 0 1 1 0 8 0 zombiepl 144 10412 0 10412 3 2 1 1 0 8 1 processpl 1064 10461 0 10412 5 0 5 5 0 8 0 procpl 672 25892 0 25824 13 6 7 9 0 8 0 srpgc 96 54 0 54 14 14 0 1 0 8 0 sosppl 168 61 0 61 9 9 0 1 0 8 0 sockpl 504 15041 0 15014 321 313 8 30 0 8 3 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 1 2 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 300 0 0 21 0 21 21 0 8 0 mtagpl 96 922 0 0 16 0 16 16 0 8 0 mbufpl 256 1275 0 0 61 0 61 61 0 8 0 bufpl 288 16739 0 10407 453 0 453 453 0 8 0 anonpl 24 1901985 0 1884463 238 123 115 137 0 186 0 amapchunkpl 152 177384 0 176597 80 48 32 43 0 158 0 amappl16 200 25599 0 24993 113 80 33 44 0 8 0 amappl15 192 2757 0 2753 1 0 1 1 0 8 0 amappl14 184 2233 0 2224 1 0 1 1 0 8 0 amappl13 176 1275 0 1269 1 0 1 1 0 8 0 amappl12 168 615 0 609 1 0 1 1 0 8 0 amappl11 160 2492 0 2470 4 2 2 2 0 8 0 amappl10 152 1145 0 1140 1 0 1 1 0 8 0 amappl9 144 1600 0 1596 1 0 1 1 0 8 0 amappl8 136 1728 0 1627 4 0 4 4 0 8 0 amappl7 128 688 0 675 1 0 1 1 0 8 0 amappl6 120 1553 0 1530 2 1 1 2 0 8 0 amappl5 112 8103 0 8085 1 0 1 1 0 8 0 amappl4 104 5890 0 5847 2 0 2 2 0 8 0 amappl3 96 30320 0 30247 2 0 2 2 0 8 0 amappl2 88 12580 0 12510 3 1 2 3 0 8 0 amappl1 80 244268 0 243546 29 14 15 20 0 8 0 amappl 88 55938 0 55692 6 0 6 6 0 92 0 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 10588 0 10475 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10588 0 10475 1 0 1 1 0 8 0 vmmpekpl 168 72155 0 72090 4 0 4 4 0 8 0 vmmpepl 168 1004192 0 1001127 278 139 139 152 0 357 0 vmsppl 368 10587 0 10475 13 2 11 11 0 8 0 rwobjpl 56 241966 0 234102 123 12 111 114 0 8 0 pdppl 4096 21183 0 21032 704 553 151 151 0 8 0 pvpl 32 3774378 0 3752103 416 227 189 251 0 265 0 pmappl 248 10587 0 10475 9 1 8 8 0 8 1 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2014 0 1057 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800022d6bec0) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022d6bec0,1,ffff80002e4e2540) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd8070ed0bb0,c0205602,ffff800022d6bec0,1,fffffd807f7d7618,ffff80002e4e2540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8066aecd10,c0205602,ffff800022d6bec0,ffff80002e4e2540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002e4e2540,ffff800022d6bfd8,ffff800022d6c020) at sys_ioctl+0x4a2 syscall(ffff800022d6c0a0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022d6c0a0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfe064c35f20, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a 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+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5