kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800027f49c10) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4462 vmmioctl(a00,c0205602,ffff800027f49c10,1,ffff8000230ccfc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd806e6fb048,c0205602,ffff800027f49c10,1,fffffd807f7d7780,ffff8000230ccfc8) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806399e790,c0205602,ffff800027f49c10,ffff8000230ccfc8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000230ccfc8,ffff800027f49d28,ffff800027f49d80) at sys_ioctl+0x49e syscall(ffff800027f49df0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf71e9e01380, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff8000230cbc58 rbp 0xffff800027f49970 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x8000000000000000 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xdea1a2aa0f6dda00 r11 0xd219f58606aa3e86 r12 0xffff8000230cb990 r13 0xffffffff82969100 dt_prov_static r14 0xffff8000230cb640 r15 0xffff800027f49c10 rip 0xffffffff81fdc430 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800027f497d6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.5) pid=443201 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000230cd268,0xffffffff82a705b8 process=0xffff8000265253d8 user=0xffff800027f44000, vmspace=0xfffffd806502a118 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 57535 316076 66958 0 2 0 syz-executor.5 *57535 443201 66958 0 7 0x4000000 syz-executor.5 51486 289700 87064 0 2 0 syz-executor.4 51486 210809 87064 0 3 0x4000080 fsleep syz-executor.4 33495 109967 17753 0 2 0 syz-executor.2 33495 393966 17753 0 3 0x4000080 fsleep syz-executor.2 81939 202196 32415 0 2 0 syz-executor.3 81939 321171 32415 0 2 0x4000000 syz-executor.3 48156 183483 89960 0 2 0 syz-executor.7 48156 57997 89960 0 3 0x4000080 fsleep syz-executor.7 56166 438202 15427 0 2 0x2 syz-executor.1 80531 34098 15427 0 3 0x82 nanoslp syz-executor.6 32415 20375 15427 0 3 0x82 nanoslp syz-executor.3 17753 41224 15427 0 3 0x82 nanoslp syz-executor.2 66958 62532 15427 0 3 0x82 nanoslp syz-executor.5 89960 182726 15427 0 3 0x82 nanoslp syz-executor.7 87064 3405 15427 0 3 0x82 nanoslp syz-executor.4 37900 474141 15427 0 3 0x82 nanoslp syz-executor.0 72482 37162 1 0 3 0x100083 ttyin getty 25756 225674 0 0 3 0x14200 acct acct 80123 406525 0 0 3 0x14200 bored sosplice 15427 88399 33843 0 3 0x82 thrsleep syz-fuzzer 15427 244114 33843 0 3 0x4000082 nanoslp syz-fuzzer 15427 334167 33843 0 3 0x4000082 kqread syz-fuzzer 15427 407759 33843 0 3 0x4000082 thrsleep syz-fuzzer 15427 319252 33843 0 3 0x4000082 thrsleep syz-fuzzer 15427 516735 33843 0 3 0x4000082 thrsleep syz-fuzzer 15427 7190 33843 0 3 0x4000082 thrsleep syz-fuzzer 15427 365426 33843 0 3 0x4000082 thrsleep syz-fuzzer 15427 516878 33843 0 3 0x4000082 thrsleep syz-fuzzer 33843 191257 49079 0 3 0x10008a sigsusp ksh 49079 73864 11236 0 3 0x9a kqread sshd 11236 161788 1 0 3 0x88 kqread sshd 95945 11792 39120 73 3 0x1100090 kqread syslogd 39120 249689 1 0 3 0x100082 netio syslogd 68314 387109 1 0 3 0x100080 kqread resolvd 48752 333567 29557 77 3 0x100092 kqread dhcpleased 20830 409973 29557 77 3 0x100092 kqread dhcpleased 29557 384553 1 0 3 0x80 kqread dhcpleased 91091 159180 0 0 3 0x14200 bored smr 30707 206711 0 0 2 0x14200 zerothread 32570 34208 0 0 3 0x14200 aiodoned aiodoned 1088 158168 0 0 3 0x14200 syncer update 78008 111397 0 0 3 0x14200 cleaner cleaner 22591 289611 0 0 3 0x14200 reaper reaper 75537 374324 0 0 3 0x14200 pgdaemon pagedaemon 29163 105239 0 0 3 0x14200 bored viomb 59409 142977 0 0 3 0x40014200 acpi0 acpi0 28765 175970 0 0 3 0x14200 bored softnet 81129 472198 0 0 3 0x14200 bored softnet 59157 163829 0 0 3 0x14200 bored softnet 95311 487144 0 0 3 0x14200 bored softnet 94718 481229 0 0 3 0x14200 bored systqmp 32877 238268 0 0 3 0x14200 bored systq 35923 247578 0 0 3 0x40014200 bored softclock 97412 429195 0 0 3 0x40014200 idle0 1 499408 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10205 6428K 7023K 78643K 23635 0 pcb 13 16K 18K 78643K 995 0 rtable 198 21K 25K 78643K 2740 0 ifaddr 108 26K 30K 78643K 1444 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 167 0 ioctlops 0 0K 4K 78643K 2207 0 iov 0 0K 32K 78643K 1351 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1362 85K 85K 78643K 6834 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 109 0 VM map 2 0K 0K 78643K 2 0 sem 15 5K 6K 78643K 374 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 77K 78643K 13333 0 sigio 0 0K 0K 78643K 161 0 proc 60 59K 75K 78643K 1787 0 subproc 104 6K 6K 78643K 559 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 508 0 in_multi 70 4K 6K 78643K 654 0 ether_multi 1 0K 0K 78643K 55 0 mrt 1 0K 0K 78643K 31 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 3253 0 pfkey data 0 0K 0K 78643K 99 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 458 951K 955K 78643K 72598 0 UVM aobj 131 4K 4K 78643K 136 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 381 0 NDP 12 0K 2K 78643K 241 0 temp 164 4798K 21111K 78643K 84791 0 kqueue 12 18K 26K 78643K 1237 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 795 0 792 13 12 1 3 0 8 0 rtentry 112 742 0 673 5 2 3 4 0 8 0 unpcb 136 8294 0 8281 87 78 9 9 0 8 8 syncache 296 185 0 185 20 20 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 33 0 33 12 12 0 1 0 8 0 tcpcb 736 10630 0 10594 238 234 4 19 0 8 0 arp 88 102 0 90 1 0 1 1 0 8 0 inpcb 312 16568 0 16557 181 177 4 16 0 8 2 nd6 48 139 0 123 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 2 1 1 0 8 1 kcovpl 48 43 0 35 1 0 1 1 0 8 0 ppxss 1152 52 0 52 13 12 1 1 0 8 1 pfstscr 40 140 0 140 4 4 0 1 0 8 0 pffrag 232 127 0 127 5 4 1 1 0 482 1 pffrnode 88 127 0 127 5 4 1 1 0 8 1 pffrent 40 263 0 263 6 5 1 1 0 8 1 pfosfp 40 24 0 20 1 0 1 1 0 8 0 pfosfpen 112 24 0 8 1 0 1 1 0 8 0 pfrktable 1344 192 0 176 4 2 2 2 0 8 0 pftag 88 22 0 10 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 8 0 8 3 3 0 1 0 8 0 pfstkey 112 288 0 288 5 5 0 1 0 8 0 pfstate 336 144 0 144 5 5 0 1 0 8 0 pfsrctr 152 38 0 38 1 1 0 1 0 8 0 pfrule 1360 596 0 523 11 4 7 7 0 8 0 rttmr 64 10 0 10 3 3 0 1 0 8 0 art_heap8 4096 9 0 8 5 4 1 3 0 8 0 art_heap4 256 2642 0 2376 38 21 17 29 0 8 0 art_table 32 2651 0 2384 4 1 3 4 0 8 0 art_node 16 734 0 675 1 0 1 1 0 8 0 semupl 112 9 0 9 1 1 0 1 0 8 0 semapl 112 364 0 351 1 0 1 1 0 8 0 shmpl 112 133 0 5 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 18192 0 16727 92 0 92 92 0 8 0 ffsino 240 18192 0 16727 87 0 87 87 0 8 0 nchpl 144 40850 0 39210 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 141107 0 141107 4 3 1 2 0 8 1 vcpupl 1984 249 0 0 32 0 32 32 0 8 0 vmpool 528 256 0 7 17 0 17 17 0 8 0 pfiaddrpl 120 56 0 30 1 0 1 1 0 8 0 kstatmem 264 306 0 282 2 0 2 2 0 8 0 scsiplug 72 14 0 14 4 4 0 1 0 8 0 scxspl 216 98398 0 98398 26 25 1 8 0 8 1 plimitpl 152 1257 0 1243 1 0 1 1 0 8 0 sigapl 424 13566 0 13520 8 1 7 8 0 8 0 futexpl 64 132946 0 132943 1 0 1 1 0 8 0 knotepl 120 176229 0 176149 67 61 6 10 0 8 2 kqueuepl 184 5266 0 5256 28 27 1 4 0 8 0 pipepl 304 2598 0 2569 72 69 3 12 0 8 0 fdescpl 432 13528 0 13502 4 0 4 4 0 8 0 filepl 120 104096 0 103858 119 104 15 15 0 8 6 lockfpl 104 3428 0 3425 9 8 1 2 0 8 0 lockfspl 48 845 0 842 1 0 1 1 0 8 0 sessionpl 144 60 0 44 1 0 1 1 0 8 0 pgrppl 48 165 0 149 1 0 1 1 0 8 0 ucredpl 96 10792 0 10782 1 0 1 1 0 8 0 zombiepl 144 13522 0 13520 3 2 1 1 0 8 0 processpl 1000 13566 0 13520 11 4 7 9 0 8 0 procpl 672 33533 0 33474 24 17 7 9 0 8 0 sosppl 168 63 0 63 13 13 0 1 0 8 0 sockpl 448 25670 0 25643 506 493 13 30 0 8 8 mcl64k 65536 411 0 411 22 21 1 1 0 8 1 mcl16k 16384 146 0 146 31 30 1 1 0 8 1 mcl12k 12288 371 0 371 22 21 1 1 0 8 1 mcl9k 9216 197 0 197 21 20 1 1 0 8 1 mcl8k 8192 1105 0 1105 16 15 1 1 0 8 1 mcl4k 4096 1332 0 1332 5 4 1 1 0 8 1 mcl2k2 2112 153 0 153 29 28 1 1 0 8 1 mcl2k 2048 98124 0 98075 36 28 8 13 0 8 0 mtagpl 96 1923 0 1787 13 8 5 8 0 8 0 mbufpl 256 253645 0 253340 138 116 22 52 0 8 0 bufpl 288 23134 0 16730 458 0 458 458 0 8 0 anonpl 24 2516024 0 2497788 328 209 119 140 0 188 0 amapchunkpl 152 248363 0 247693 137 108 29 41 0 158 0 amappl16 200 36762 0 36073 171 133 38 49 0 8 0 amappl15 192 990 0 986 1 0 1 1 0 8 0 amappl14 184 773 0 771 1 0 1 1 0 8 0 amappl13 176 1435 0 1430 1 0 1 1 0 8 0 amappl12 168 675 0 671 1 0 1 1 0 8 0 amappl11 160 1729 0 1713 1 0 1 1 0 8 0 amappl10 152 4041 0 4038 1 0 1 1 0 8 0 amappl9 144 2393 0 2388 1 0 1 1 0 8 0 amappl8 136 3549 0 3441 5 1 4 4 0 8 0 amappl7 128 2429 0 2416 1 0 1 1 0 8 0 amappl6 120 2373 0 2350 2 1 1 2 0 8 0 amappl5 112 15738 0 15724 1 0 1 1 0 8 0 amappl4 104 4076 0 4047 2 0 2 2 0 8 0 amappl3 96 38656 0 38605 2 0 2 2 0 8 0 amappl2 88 15754 0 15685 3 1 2 3 0 8 0 amappl1 80 315397 0 314787 22 7 15 19 0 8 0 amappl 88 71210 0 70990 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 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 13784 0 13509 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 13784 0 13509 2 0 2 2 0 8 0 vmmpekpl 168 90694 0 90611 4 0 4 4 0 8 0 vmmpepl 168 1299253 0 1296083 372 221 151 171 0 357 0 vmsppl 272 13783 0 13509 20 1 19 19 0 8 0 rwobjpl 24 312294 0 304487 53 4 49 49 0 8 0 pdppl 4096 27574 0 27267 888 575 313 313 0 8 6 pvpl 32 4812499 0 4790875 526 337 189 239 0 265 0 pmappl 216 13783 0 13509 16 0 16 16 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2787 0 1733 32 0 32 32 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800027f49c10) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4462 vmmioctl(a00,c0205602,ffff800027f49c10,1,ffff8000230ccfc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd806e6fb048,c0205602,ffff800027f49c10,1,fffffd807f7d7780,ffff8000230ccfc8) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806399e790,c0205602,ffff800027f49c10,ffff8000230ccfc8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000230ccfc8,ffff800027f49d28,ffff800027f49d80) at sys_ioctl+0x49e syscall(ffff800027f49df0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf71e9e01380, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800027f49c10) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4462 vmmioctl(a00,c0205602,ffff800027f49c10,1,ffff8000230ccfc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd806e6fb048,c0205602,ffff800027f49c10,1,fffffd807f7d7780,ffff8000230ccfc8) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806399e790,c0205602,ffff800027f49c10,ffff8000230ccfc8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000230ccfc8,ffff800027f49d28,ffff800027f49d80) at sys_ioctl+0x49e syscall(ffff800027f49df0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf71e9e01380, count: -8