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(ffff80002e7490d0) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff80002e7490d0,1,ffff800021776000) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd80742d80d8,c0205602,ffff80002e7490d0,1,fffffd807f7d7958,ffff800021776000) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cb1b790,c0205602,ffff80002e7490d0,ffff800021776000) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021776000,ffff80002e7491e8,ffff80002e749240) at sys_ioctl+0x49e syscall(ffff80002e7492b0) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf295d94efa0, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff8000265f0e28 rbp 0xffff80002e748e20 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x3ff8000000000 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xbe8fe5125a24eee9 r11 0x3629025a0dcd32fe r12 0xffff8000265f0ba0 r13 0xffff8000265f0b50 r14 0xffff8000265f0800 r15 0xffff80002e7490d0 rip 0xffffffff8200fe00 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e748c76 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.1) pid=335735 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=66, nice=20 forw=0xffffffffffffffff, list=0xffff80002178c548,0xffff80002178cfd8 process=0xffff80002179c418 user=0xffff80002e744000, vmspace=0xfffffd807af43338 estcpu=33, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24491 261451 29404 0 2 0 syz-executor.0 24491 465728 29404 0 3 0x4000080 fsleep syz-executor.0 24491 426834 29404 0 3 0x4000080 fsleep syz-executor.0 34629 284348 22106 0 2 0 syz-executor.1 *34629 335735 22106 0 7 0x4000000 syz-executor.1 55925 70521 90304 0 2 0 syz-executor.5 55925 339011 90304 0 3 0x4000080 fsleep syz-executor.5 72930 276677 16569 0 3 0x80 nanoslp syz-executor.4 72930 21313 16569 0 3 0x4000080 netio syz-executor.4 72930 217572 16569 0 3 0x4000080 fsleep syz-executor.4 72930 441727 16569 0 3 0x4000080 fsleep syz-executor.4 25007 478785 28523 0 3 0x80 nanoslp syz-executor.3 25007 76332 28523 0 3 0x4000080 fifor syz-executor.3 25007 447605 28523 0 3 0x4000080 fsleep syz-executor.3 58197 176167 38854 0 3 0x80 nanoslp syz-executor.6 58197 140438 38854 0 3 0x4000080 kqpoll syz-executor.6 58197 440676 38854 0 3 0x4000080 fsleep syz-executor.6 16569 447994 50961 0 3 0x82 nanoslp syz-executor.4 22106 82914 50961 0 3 0x82 nanoslp syz-executor.1 29404 206883 50961 0 3 0x82 nanoslp syz-executor.0 87966 367506 0 0 3 0x14280 nfsidl nfsio 7484 387422 0 0 3 0x14280 nfsidl nfsio 63431 58762 0 0 3 0x14280 nfsidl nfsio 71024 222823 0 0 3 0x14280 nfsidl nfsio 51765 87650 0 0 3 0x14280 nfsidl nfsio 98345 367883 0 0 3 0x14280 nfsidl nfsio 14758 247251 0 0 3 0x14280 nfsidl nfsio 72392 470971 0 0 3 0x14280 nfsidl nfsio 27988 187781 0 0 3 0x14280 nfsidl nfsio 38646 246988 0 0 3 0x14280 nfsidl nfsio 8055 415646 0 0 3 0x14280 nfsidl nfsio 60350 442457 0 0 3 0x14280 nfsidl nfsio 43087 387496 0 0 3 0x14280 nfsidl nfsio 72607 287786 0 0 3 0x14280 nfsidl nfsio 10299 331672 0 0 3 0x14280 nfsidl nfsio 93809 368317 0 0 3 0x14280 nfsidl nfsio 79659 195800 0 0 3 0x14280 nfsidl nfsio 35010 371965 0 0 3 0x14280 nfsidl nfsio 89410 110146 0 0 3 0x14280 nfsidl nfsio 69260 479 0 0 3 0x14280 nfsidl nfsio 28523 63006 50961 0 3 0x82 nanoslp syz-executor.3 38854 3693 50961 0 3 0x82 nanoslp syz-executor.6 10608 12088 50961 0 3 0x82 nanoslp syz-executor.2 96710 262206 1 0 3 0x100083 ttyin getty 90304 343807 50961 0 3 0x82 nanoslp syz-executor.5 36777 209799 50961 0 2 0x2 syz-executor.7 44195 118765 0 0 3 0x14200 bored sosplice 50961 250825 82696 0 3 0x82 wait syz-fuzzer 50961 284537 82696 0 3 0x4000082 nanoslp syz-fuzzer 50961 501422 82696 0 3 0x4000082 wait syz-fuzzer 50961 255958 82696 0 3 0x4000082 thrsleep syz-fuzzer 50961 90584 82696 0 3 0x4000082 wait syz-fuzzer 50961 471852 82696 0 3 0x4000082 thrsleep syz-fuzzer 50961 172619 82696 0 3 0x4000082 wait syz-fuzzer 50961 494059 82696 0 3 0x4000082 wait syz-fuzzer 50961 317433 82696 0 3 0x4000082 thrsleep syz-fuzzer 50961 470886 82696 0 3 0x4000082 thrsleep syz-fuzzer 50961 482775 82696 0 3 0x4000082 wait syz-fuzzer 50961 367651 82696 0 3 0x4000082 wait syz-fuzzer 50961 474424 82696 0 3 0x4000082 thrsleep syz-fuzzer 50961 12444 82696 0 3 0x4000082 kqread syz-fuzzer 50961 30668 82696 0 3 0x4000082 wait syz-fuzzer 82696 477146 58260 0 3 0x10008a sigsusp ksh 58260 318941 6958 0 3 0x9a kqread sshd 6958 479155 1 0 3 0x88 kqread sshd 31803 9354 34543 73 3 0x1100090 kqread syslogd 34543 42400 1 0 3 0x100082 netio syslogd 93266 285662 1 0 3 0x100080 kqread resolvd 91299 50624 55849 77 3 0x100092 kqread dhcpleased 61678 465082 55849 77 3 0x100092 kqread dhcpleased 55849 32529 1 0 3 0x80 kqread dhcpleased 40247 32097 0 0 3 0x14200 bored smr 23551 388680 0 0 2 0x14200 zerothread 14483 29303 0 0 3 0x14200 aiodoned aiodoned 48087 87062 0 0 3 0x14200 syncer update 68137 374310 0 0 3 0x14200 cleaner cleaner 332 248638 0 0 3 0x14200 reaper reaper 60733 61477 0 0 3 0x14200 pgdaemon pagedaemon 70864 294892 0 0 3 0x14200 bored viomb 24973 77154 0 0 3 0x40014200 acpi0 acpi0 20106 441222 0 0 3 0x14200 bored softnet 64790 184032 0 0 3 0x14200 bored softnet 18866 272616 0 0 3 0x14200 bored softnet 17089 421700 0 0 3 0x14200 bored softnet 35123 459449 0 0 3 0x14200 bored systqmp 63285 392231 0 0 3 0x14200 bored systq 22181 254089 0 0 3 0x40014200 bored softclock 28456 265793 0 0 3 0x40014200 idle0 1 467472 0 0 3 0x82 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 10217 6493K 6874K 78643K 24726 0 pcb 14 22K 28K 78643K 12146 0 rtable 235 17K 17K 78643K 4191 0 ifaddr 189 44K 44K 78643K 981 0 sysctl 3 1K 2K 78643K 14 0 counters 28 17K 17K 78643K 270 0 ioctlops 0 0K 4K 78643K 3575 0 iov 0 0K 16K 78643K 1164 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1447 90K 91K 78643K 16386 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 131 0 VM map 2 0K 0K 78643K 2 0 sem 21 20K 36K 78643K 60 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 77K 78643K 20041 0 sigio 0 0K 0K 78643K 87 0 proc 60 59K 75K 78643K 2567 0 subproc 104 6K 6K 78643K 936 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 320 0 in_multi 96 6K 6K 78643K 999 0 ether_multi 1 0K 0K 78643K 58 0 mrt 1 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 4085 0 pfkey data 0 0K 0K 78643K 15 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 8 62K 64K 78643K 10 0 UVM amap 516 714K 718K 78643K 106057 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 348 0 NDP 16 0K 2K 78643K 327 0 temp 145 4726K 4854K 78643K 131791 0 kqueue 13 20K 28K 78643K 2177 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 2269 0 2266 20 19 1 4 0 8 0 rtentry 112 900 0 800 7 3 4 4 0 8 0 unpcb 144 7468 0 7453 107 104 3 9 0 8 2 syncache 296 54 0 54 15 15 0 1 0 8 0 tcpqe 32 100 0 100 9 9 0 1 0 8 0 tcpcb 768 11733 0 11728 335 327 8 30 0 8 7 arp 88 149 0 131 1 0 1 1 0 8 0 ipq 40 4 0 4 4 3 1 1 0 8 1 ipqe 40 80 0 80 4 3 1 1 0 8 1 inpcb 336 34697 0 34687 292 285 7 17 0 8 6 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 48 230 0 206 1 0 1 1 0 8 0 pkpcb 40 23 0 23 5 5 0 1 0 8 0 kcovpl 48 72 0 64 1 0 1 1 0 8 0 ppxss 1160 155 0 155 11 11 0 1 0 8 0 pfanchor 1280 35 0 21 2 0 2 2 0 8 0 pftag 88 4 0 3 1 0 1 1 0 8 0 pfrule 1360 26 0 26 7 7 0 1 0 8 0 rttmr 136 13 0 13 6 6 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3886 0 3457 62 35 27 30 0 8 0 art_table 32 3887 0 3457 5 1 4 4 0 8 0 art_node 16 899 0 812 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semapl 112 37 0 18 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 34358 0 32906 92 0 92 92 0 8 0 ffsino 240 34358 0 32906 86 0 86 86 0 8 0 nchpl 144 60611 0 60114 63 41 22 63 0 8 0 rtmask 32 8 0 8 3 3 0 1 0 8 0 uvmvnodes 80 6547 0 0 134 0 134 134 0 8 0 vnodes 216 6547 0 0 364 0 364 364 0 8 0 namei 1024 216727 0 216727 28 27 1 2 0 8 1 vcpupl 2048 83 0 5 10 0 10 10 0 8 0 vmpool 536 136 0 58 6 0 6 6 0 8 0 kstatmem 264 346 0 314 4 1 3 3 0 8 0 scsiplug 72 15 0 15 4 4 0 1 0 8 0 scxspl 216 162522 0 162522 31 30 1 8 0 8 1 plimitpl 152 1085 0 1070 1 0 1 1 0 8 0 sigapl 424 20237 0 20172 11 3 8 8 0 8 0 futexpl 64 197829 0 197822 20 19 1 1 0 8 0 knotepl 120 1391359 0 1391233 681 676 5 34 0 8 0 kqueuepl 184 3767 0 3757 34 30 4 4 0 8 3 pipepl 288 2402 0 2374 71 66 5 7 0 8 2 fdescpl 432 20180 0 20153 8 4 4 4 0 8 0 filepl 120 158801 0 158559 212 198 14 18 0 8 4 lockfpl 104 7153 0 7151 19 18 1 4 0 8 0 lockfspl 48 1160 0 1158 1 0 1 1 0 8 0 sessionpl 144 88 0 72 1 0 1 1 0 8 0 pgrppl 48 114 0 98 1 0 1 1 0 8 0 ucredpl 104 49636 0 49625 1 0 1 1 0 8 0 zombiepl 144 20173 0 20172 6 5 1 1 0 8 0 processpl 1000 20237 0 20172 12 3 9 9 0 8 0 procpl 672 49040 0 48950 48 39 9 9 0 8 1 sosppl 168 101 0 101 18 18 0 1 0 8 0 sockpl 456 44552 0 44524 730 718 12 44 0 8 8 mcl64k 65536 1162 0 1162 28 27 1 1 0 8 1 mcl16k 16384 1408 0 1408 34 34 0 1 0 8 0 mcl12k 12288 850 0 850 27 26 1 1 0 8 1 mcl9k 9216 1069 0 1069 36 35 1 1 0 8 1 mcl8k 8192 2028 0 2028 39 38 1 1 0 8 1 mcl4k 4096 1199 0 1199 31 30 1 1 0 8 1 mcl2k2 2112 88 0 88 37 37 0 1 0 8 0 mcl2k 2048 86582 0 86507 123 112 11 19 0 8 0 mtagpl 96 1437 0 1384 17 13 4 9 0 8 0 mbufpl 256 366550 0 366267 1630 1594 36 551 0 8 3 bufpl 288 32812 0 26264 468 0 468 468 0 8 0 anonpl 24 3473647 0 3461685 218 132 86 106 0 188 0 amapchunkpl 152 303823 0 303242 58 32 26 39 0 158 0 amappl16 200 43995 0 43517 101 75 26 38 0 8 0 amappl15 192 5686 0 5685 1 0 1 1 0 8 0 amappl14 184 2891 0 2885 1 0 1 1 0 8 0 amappl13 176 3259 0 3254 1 0 1 1 0 8 0 amappl12 168 2184 0 2177 1 0 1 1 0 8 0 amappl11 160 2320 0 2302 1 0 1 1 0 8 0 amappl10 152 2313 0 2313 3 3 0 1 0 8 0 amappl9 144 2044 0 2042 1 0 1 1 0 8 0 amappl8 136 3480 0 3271 8 0 8 8 0 8 0 amappl7 128 1847 0 1819 1 0 1 1 0 8 0 amappl6 120 2148 0 2120 2 1 1 2 0 8 0 amappl5 112 15532 0 15520 1 0 1 1 0 8 0 amappl4 104 9238 0 9196 3 1 2 2 0 8 0 amappl3 96 61286 0 61233 2 0 2 2 0 8 0 amappl2 88 5170 0 5113 3 1 2 2 0 8 0 amappl1 80 489310 0 488568 41 24 17 21 0 8 0 amappl 88 104215 0 104007 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 20316 0 20211 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 20316 0 20211 1 0 1 1 0 8 0 vmmpekpl 168 128928 0 128861 4 0 4 4 0 8 0 vmmpepl 168 1915512 0 1912574 343 199 144 153 0 357 3 vmsppl 272 20315 0 20211 12 4 8 8 0 8 0 rwobjpl 24 449118 0 440702 56 4 52 52 0 8 1 pdppl 4096 40638 0 40500 1024 882 142 142 0 8 4 pvpl 32 7312183 0 7295538 380 227 153 254 0 265 0 pmappl 216 20315 0 20211 7 1 6 6 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 4044 0 3143 55 28 27 38 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e7490d0) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff80002e7490d0,1,ffff800021776000) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd80742d80d8,c0205602,ffff80002e7490d0,1,fffffd807f7d7958,ffff800021776000) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cb1b790,c0205602,ffff80002e7490d0,ffff800021776000) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021776000,ffff80002e7491e8,ffff80002e749240) at sys_ioctl+0x49e syscall(ffff80002e7492b0) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf295d94efa0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e7490d0) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff80002e7490d0,1,ffff800021776000) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd80742d80d8,c0205602,ffff80002e7490d0,1,fffffd807f7d7958,ffff800021776000) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806cb1b790,c0205602,ffff80002e7490d0,ffff800021776000) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021776000,ffff80002e7491e8,ffff80002e749240) at sys_ioctl+0x49e syscall(ffff80002e7492b0) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf295d94efa0, count: -8