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(ffff80002e69cfb0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff80002e69cfb0,1,ffff800021712800) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806eef90d8,c0205602,ffff80002e69cfb0,1,fffffd807f7d77b8,ffff800021712800) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8065df01f8,c0205602,ffff80002e69cfb0,ffff800021712800) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021712800,ffff80002e69d0c0,ffff80002e69d110) at sys_ioctl+0x49e syscall(ffff80002e69d190) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5991812f9c0, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002e8dd630 rbp 0xffff80002e69cd00 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x6670622f7665642f r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x7a5888b2b13d353e r11 0xe092702d349ccdcc r12 0xffff80002e8dd3a8 r13 0xffff80002e69cc36 r14 0xffff80002e8dd000 r15 0x246 rip 0xffffffff818bab8b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e69cb66 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.7) tid=281483 pid=40247 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800027fd5aa0,0xffffffff82cf85b0 process=0xffff80002169a7e8 user=0xffff80002e698000, vmspace=0xfffffd8068027b80 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 40247 99993 15244 0 2 0 syz-executor.7 *40247 281483 15244 0 7 0x4000000 syz-executor.7 33768 493586 21538 0 2 0 syz-executor.5 33768 500201 21538 0 3 0x4000080 fsleep syz-executor.5 28552 447240 32953 0 2 0 syz-executor.4 28552 442461 32953 0 3 0x4000080 fsleep syz-executor.4 28552 416221 32953 0 3 0x4000080 fsleep syz-executor.4 28552 218133 32953 0 3 0x4000080 fsleep syz-executor.4 11698 198042 58736 0 2 0 syz-executor.0 11698 201557 58736 0 3 0x4000080 fsleep syz-executor.0 11698 260583 58736 0 3 0x4000080 fsleep syz-executor.0 11698 505640 58736 0 3 0x4000080 fsleep syz-executor.0 90221 24072 97575 0 2 0 syz-executor.2 90221 338606 97575 0 3 0x4000080 fsleep syz-executor.2 94738 402769 21887 0 2 0 syz-executor.3 94738 416700 21887 0 2 0x4000000 syz-executor.3 59096 209167 56483 0 2 0 syz-executor.1 59096 344693 56483 0 3 0x4000080 netio syz-executor.1 59096 61926 56483 0 2 0x4000000 syz-executor.1 97575 268318 74261 0 3 0x82 nanoslp syz-executor.2 15700 32791 74261 0 2 0x2 syz-executor.6 21887 174132 74261 0 3 0x82 nanoslp syz-executor.3 83201 344093 0 0 3 0x14200 acct acct 39574 35009 1 0 3 0x100083 ttyin getty 58736 308095 74261 0 3 0x82 nanoslp syz-executor.0 15244 494719 74261 0 3 0x82 nanoslp syz-executor.7 21538 100898 74261 0 3 0x82 nanoslp syz-executor.5 32953 243423 74261 0 3 0x82 nanoslp syz-executor.4 56483 364559 74261 0 3 0x82 nanoslp syz-executor.1 14141 98068 0 0 3 0x14200 bored sosplice 69060 72291 0 0 3 0x14280 nfsidl nfsio 29465 410428 0 0 3 0x14280 nfsidl nfsio 85610 1767 0 0 3 0x14280 nfsidl nfsio 3873 139502 0 0 3 0x14280 nfsidl nfsio 85426 218407 0 0 3 0x14280 nfsidl nfsio 26862 298546 0 0 3 0x14280 nfsidl nfsio 12478 216400 0 0 3 0x14280 nfsidl nfsio 13007 223015 0 0 3 0x14280 nfsidl nfsio 1258 12792 0 0 3 0x14280 nfsidl nfsio 70675 489199 0 0 3 0x14280 nfsidl nfsio 56529 516456 0 0 3 0x14280 nfsidl nfsio 96429 437108 0 0 3 0x14280 nfsidl nfsio 36324 334354 0 0 3 0x14280 nfsidl nfsio 6371 115976 0 0 3 0x14280 nfsidl nfsio 66960 49528 0 0 3 0x14280 nfsidl nfsio 65787 103160 0 0 3 0x14280 nfsidl nfsio 13606 221536 0 0 3 0x14280 nfsidl nfsio 20784 309177 0 0 3 0x14280 nfsidl nfsio 44125 507028 0 0 3 0x14280 nfsidl nfsio 71805 376686 0 0 3 0x14280 nfsidl nfsio 74261 219244 16086 0 3 0x2000082 wait syz-fuzzer 74261 430907 16086 0 3 0x6000082 thrsleep syz-fuzzer 74261 91391 16086 0 3 0x6000082 wait syz-fuzzer 74261 386447 16086 0 3 0x6000082 thrsleep syz-fuzzer 74261 310409 16086 0 3 0x6000082 wait syz-fuzzer 74261 385277 16086 0 3 0x6000082 wait syz-fuzzer 74261 481807 16086 0 3 0x6000082 kqread syz-fuzzer 74261 472885 16086 0 3 0x6000082 thrsleep syz-fuzzer 74261 466584 16086 0 3 0x6000082 wait syz-fuzzer 74261 120813 16086 0 3 0x6000082 wait syz-fuzzer 74261 109061 16086 0 3 0x6000082 thrsleep syz-fuzzer 74261 373249 16086 0 3 0x6000082 wait syz-fuzzer 74261 504960 16086 0 3 0x6000082 thrsleep syz-fuzzer 74261 142426 16086 0 3 0x6000082 wait syz-fuzzer 16086 504670 35868 0 3 0x10008a sigsusp ksh 35868 421460 73151 0 3 0x9a kqread sshd 73151 322531 1 0 3 0x88 kqread sshd 63735 142023 42345 73 3 0x1100090 kqread syslogd 42345 307013 1 0 3 0x100082 netio syslogd 9403 131297 1 0 3 0x100080 kqread resolvd 89032 464464 99265 77 3 0x100092 kqread dhcpleased 56911 340966 99265 77 3 0x100092 kqread dhcpleased 99265 89512 1 0 3 0x80 kqread dhcpleased 28986 206632 0 0 3 0x14200 bored smr 61374 118158 0 0 2 0x14200 zerothread 39005 440970 0 0 3 0x14200 aiodoned aiodoned 49736 425412 0 0 3 0x14200 syncer update 23206 471983 0 0 3 0x14200 cleaner cleaner 9339 52463 0 0 3 0x14200 reaper reaper 10244 359632 0 0 3 0x14200 pgdaemon pagedaemon 98704 19485 0 0 3 0x14200 bored viomb 50509 462270 0 0 3 0x40014200 acpi0 acpi0 5296 507979 0 0 3 0x14200 bored softnet3 61012 55620 0 0 3 0x14200 bored softnet2 23828 493567 0 0 3 0x14200 bored softnet1 52529 106009 0 0 3 0x14200 bored softnet0 54719 297854 0 0 3 0x14200 bored systqmp 60948 92414 0 0 3 0x14200 bored systq 21411 511194 0 0 3 0x40014200 tmoslp softclock 27591 112116 0 0 3 0x40014200 idle0 1 224532 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 10191 6552K 7904K 78643K 50983 0 pcb 13 16K 18K 78643K 732 0 rtable 244 15K 15K 78643K 1185 0 pf 31 9K 9K 78643K 332 0 ifaddr 44 13K 14K 78643K 239 0 ifgroup 54 2K 2K 78643K 511 0 sysctl 3 0K 0K 78643K 5 0 counters 29 17K 17K 78643K 163 0 ioctlops 0 0K 2K 78643K 1006 0 iov 1 4K 24K 78643K 850 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1545 97K 97K 78643K 11837 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 104 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 914 0 dirhash 12 2K 2K 78643K 84 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 69K 78643K 7454 0 sigio 0 0K 0K 78643K 236 0 proc 57 59K 83K 78643K 1371 0 subproc 104 6K 6K 78643K 335 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 214 0 in_multi 99 7K 7K 78643K 366 0 ether_multi 1 0K 0K 78643K 23 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 1541 0 pfkey data 0 0K 0K 78643K 3 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 496 421K 422K 78643K 71493 0 UVM aobj 131 8K 8K 78643K 147 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 117 0 NDP 12 0K 2K 78643K 196 0 temp 74 5916K 6247K 78643K 87273 0 kqueue 12 18K 24K 78643K 855 0 SYN cache 2 1236K 1244K 78643K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 567 0 564 7 6 1 3 0 8 0 rtentry 112 316 0 204 4 0 4 4 0 8 0 unpcb 144 6421 0 6404 56 53 3 8 0 8 2 syncache 312 63 0 63 13 13 0 1 0 8 0 tcpqe 32 97 0 97 9 9 0 1 0 8 0 tcpcb 808 2242 0 2235 82 79 3 12 0 8 0 arp 88 54 0 35 1 0 1 1 0 8 0 ipq 40 70 0 69 2 1 1 1 0 8 0 ipqe 40 278 0 277 2 1 1 1 0 8 0 inpcb 336 5493 0 5480 96 91 5 13 0 8 2 nd6 104 84 0 59 1 0 1 1 0 8 0 pkpcb 40 431 0 431 16 15 1 1 0 8 1 kcovpl 48 25 0 17 1 0 1 1 0 8 0 ppxss 1160 56 0 56 11 11 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1248 0 782 32 2 30 30 0 8 0 art_table 32 1249 0 782 4 0 4 4 0 8 0 art_node 16 308 0 206 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 912 0 902 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 65 0 48 3 0 3 3 0 8 0 dino2pl 256 13517 0 12027 94 0 94 94 0 8 0 ffsino 240 13517 0 12027 88 0 88 88 0 8 0 nchpl 144 24323 0 23817 63 42 21 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 93317 0 93317 6 5 1 3 0 8 1 vcpupl 2048 71 0 0 9 0 9 9 0 8 0 vmpool 664 97 0 26 7 1 6 6 0 8 0 kstatmem 264 292 0 268 2 0 2 2 0 8 0 scxspl 216 67701 0 67701 23 22 1 8 1 8 1 plimitpl 152 695 0 680 1 0 1 1 0 8 0 sigapl 424 7736 0 7670 8 0 8 8 0 8 0 futexpl 64 81239 0 81231 2 1 1 1 0 8 0 knotepl 120 69163 0 69083 27 23 4 16 0 8 0 kqueuepl 184 3624 0 3616 39 37 2 10 0 8 1 pipepl 288 2022 0 1994 47 37 10 10 0 8 8 fdescpl 432 7697 0 7669 4 0 4 4 0 8 0 filepl 120 62801 0 62561 99 85 14 22 0 8 5 lockfpl 104 2671 0 2669 5 4 1 2 0 8 0 lockfspl 48 988 0 986 1 0 1 1 0 8 0 sessionpl 144 42 0 26 1 0 1 1 0 8 0 pgrppl 48 170 0 154 1 0 1 1 0 8 0 ucredpl 104 9758 0 9745 1 0 1 1 0 8 0 zombiepl 144 7670 0 7670 2 1 1 1 0 8 1 processpl 1008 7736 0 7670 9 0 9 9 0 8 0 procpl 680 19285 0 19194 18 9 9 9 0 8 1 sosppl 168 83 0 83 8 8 0 1 0 8 0 sockpl 456 12997 0 12967 347 331 16 30 0 8 11 mcl64k 65536 372 0 372 11 10 1 1 0 8 1 mcl16k 16384 215 0 215 16 15 1 1 0 8 1 mcl12k 12288 390 0 390 11 10 1 1 0 8 1 mcl9k 9216 125 0 125 16 15 1 1 0 8 1 mcl8k 8192 510 0 510 10 9 1 1 0 8 1 mcl4k 4096 1019 0 1019 7 6 1 1 0 8 1 mcl2k2 2112 66 0 66 16 15 1 1 0 8 1 mcl2k 2048 82675 0 82619 53 43 10 32 0 8 1 mtagpl 96 9315 0 7782 77 33 44 48 0 8 0 mbufpl 256 203253 0 201581 339 215 124 206 0 8 0 bufpl 288 18646 0 12252 458 0 458 458 0 8 0 anonpl 24 887991 0 873707 192 81 111 115 0 188 5 amapchunkpl 152 229819 0 228904 99 61 38 45 0 158 2 amappl16 200 19575 0 19062 141 101 40 40 0 8 12 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 209 0 197 2 1 1 2 0 8 0 amappl13 176 13 0 13 1 1 0 1 0 8 0 amappl12 168 8569 0 8539 3 1 2 2 0 8 0 amappl11 160 65 0 55 1 0 1 1 0 8 0 amappl10 152 42 0 34 2 1 1 1 0 8 0 amappl9 144 222 0 221 1 0 1 1 0 8 0 amappl8 136 668 0 550 5 0 5 5 0 8 0 amappl7 128 225 0 203 2 0 2 2 0 8 0 amappl6 120 654 0 641 1 0 1 1 0 8 0 amappl5 112 257 0 248 1 0 1 1 0 8 0 amappl4 104 676 0 649 2 1 1 2 0 8 0 amappl3 96 44714 0 44621 3 0 3 3 0 8 0 amappl2 88 8487 0 8414 3 1 2 3 0 8 0 amappl1 80 36832 0 36316 23 12 11 22 0 8 0 amappl 88 70516 0 70240 8 1 7 7 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 146 0 16 3 0 3 3 0 8 0 uaddrrnd 24 7794 0 7695 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7794 0 7695 1 0 1 1 0 8 0 vmmpekpl 168 58867 0 58802 4 0 4 4 0 8 0 vmmpepl 168 470596 0 468085 239 108 131 131 0 357 13 vmsppl 368 7793 0 7695 12 2 10 10 0 8 1 rwobjpl 24 121191 0 113517 48 0 48 48 0 8 0 pdppl 4096 15594 0 15461 405 269 136 136 0 8 3 pvpl 32 2173157 0 2153232 448 249 199 333 0 265 20 pmappl 216 7793 0 7695 8 2 6 6 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1803 0 807 31 1 30 31 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e69cfb0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff80002e69cfb0,1,ffff800021712800) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806eef90d8,c0205602,ffff80002e69cfb0,1,fffffd807f7d77b8,ffff800021712800) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8065df01f8,c0205602,ffff80002e69cfb0,ffff800021712800) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021712800,ffff80002e69d0c0,ffff80002e69d110) at sys_ioctl+0x49e syscall(ffff80002e69d190) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5991812f9c0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e69cfb0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff80002e69cfb0,1,ffff800021712800) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806eef90d8,c0205602,ffff80002e69cfb0,1,fffffd807f7d77b8,ffff800021712800) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8065df01f8,c0205602,ffff80002e69cfb0,ffff800021712800) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021712800,ffff80002e69d0c0,ffff80002e69d110) at sys_ioctl+0x49e syscall(ffff80002e69d190) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5991812f9c0, count: -8