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(ffff800037875390) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037875390,1,ffff800035e0f000) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806fc61000,c0205602,ffff800037875390,1,fffffd807f7d78f0,ffff800035e0f000) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80686b7178,c0205602,ffff800037875390,ffff800035e0f000) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800035e0f000,ffff8000378754a0,ffff8000378754f0) at sys_ioctl+0x49e syscall(ffff800037875560) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x807f0a11030, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800035e0be30 rbp 0xffff8000378750e0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xd5c17621424992b r11 0x32d61b53064088f4 r12 0xffff800035e0bba8 r13 0xffff800037875016 r14 0xffff800035e0b800 r15 0x246 rip 0xffffffff811796eb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800037874f46 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.3) tid=380565 pid=96338 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800035e0fd48,0xffff800035e0f560 process=0xffff80002a695ba0 user=0xffff800037870000, vmspace=0xfffffd80687fb5c0 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35627 38962 20369 0 2 0 syz-executor.1 35627 27100 20369 0 2 0x4000000 syz-executor.1 4613 21210 85461 0 2 0 syz-executor.6 4613 26405 85461 0 2 0x4000000 syz-executor.6 8925 470273 5904 0 2 0 syz-executor.0 8925 35763 5904 0 3 0x4000080 fsleep syz-executor.0 8925 378367 5904 0 3 0x4000080 fsleep syz-executor.0 98834 302704 45869 0 2 0 syz-executor.5 98834 516322 45869 0 3 0x4000080 piperd syz-executor.5 98834 425704 45869 0 2 0x4000000 syz-executor.5 98834 92387 45869 0 2 0x4000000 syz-executor.5 12308 172005 36783 0 2 0 syz-executor.2 12308 383150 36783 0 3 0x4000080 fsleep syz-executor.2 96338 199209 35620 0 2 0 syz-executor.3 *96338 380565 35620 0 7 0x4000000 syz-executor.3 35620 415901 17465 0 3 0x82 nanoslp syz-executor.3 75025 10983 17465 0 2 0x2 syz-executor.7 36783 102658 17465 0 3 0x82 nanoslp syz-executor.2 58057 167199 17465 0 2 0x2 syz-executor.4 20369 305007 17465 0 3 0x82 nanoslp syz-executor.1 19444 150921 1 0 3 0x100083 ttyin getty 45869 415516 17465 0 3 0x82 nanoslp syz-executor.5 85461 330360 17465 0 3 0x82 nanoslp syz-executor.6 5904 438485 17465 0 3 0x82 nanoslp syz-executor.0 56545 614 0 0 3 0x14200 acct acct 49693 6747 0 0 3 0x14200 bored sosplice 17465 109600 90110 0 3 0x2000082 wait syz-fuzzer 17465 344255 90110 0 2 0x6000002 syz-fuzzer 17465 39886 90110 0 3 0x6000082 wait syz-fuzzer 17465 34652 90110 0 3 0x6000082 thrsleep syz-fuzzer 17465 517097 90110 0 3 0x6000082 wait syz-fuzzer 17465 206472 90110 0 3 0x6000082 wait syz-fuzzer 17465 344503 90110 0 3 0x6000082 thrsleep syz-fuzzer 17465 396882 90110 0 3 0x6000082 thrsleep syz-fuzzer 17465 230414 90110 0 3 0x6000082 wait syz-fuzzer 17465 292329 90110 0 3 0x6000082 wait syz-fuzzer 17465 310050 90110 0 3 0x6000082 thrsleep syz-fuzzer 17465 109480 90110 0 2 0x6000002 syz-fuzzer 17465 218125 90110 0 3 0x6000082 wait syz-fuzzer 17465 28030 90110 0 3 0x6000082 wait syz-fuzzer 90110 360580 95886 0 3 0x10008a sigsusp ksh 95886 456615 95182 0 2 0x12 sshd 95182 64354 1 0 3 0x88 kqread sshd 30231 473216 66840 73 3 0x1100090 kqread syslogd 66840 186073 1 0 3 0x100082 netio syslogd 32413 344194 1 0 3 0x100080 kqread resolvd 78041 452929 30118 77 3 0x100092 kqread dhcpleased 97085 233871 30118 77 3 0x100092 kqread dhcpleased 30118 400785 1 0 3 0x80 kqread dhcpleased 33821 180338 0 0 3 0x14200 bored smr 53226 374086 0 0 2 0x14200 zerothread 34764 321099 0 0 3 0x14200 aiodoned aiodoned 58529 406524 0 0 3 0x14200 syncer update 94011 520049 0 0 3 0x14200 cleaner cleaner 11974 217538 0 0 3 0x14200 reaper reaper 28107 516419 0 0 3 0x14200 pgdaemon pagedaemon 88016 404392 0 0 3 0x14200 bored viomb 40234 190745 0 0 3 0x40014200 acpi0 acpi0 61143 119527 0 0 3 0x14200 bored softnet3 8526 290173 0 0 3 0x14200 bored softnet2 45670 403557 0 0 3 0x14200 bored softnet1 19916 102798 0 0 3 0x14200 bored softnet0 29814 222313 0 0 3 0x14200 bored systqmp 22707 1015 0 0 3 0x14200 bored systq 90914 321236 0 0 3 0x40014200 tmoslp softclock 29251 500498 0 0 3 0x40014200 idle0 1 386645 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 10226 6554K 7236K 166960K 33805 0 pcb 13 20K 24K 166960K 769 0 rtable 214 15K 16K 166960K 2747 0 pf 29 8K 10K 166960K 550 0 ifaddr 42 13K 13K 166960K 428 0 ifgroup 50 2K 2K 166960K 867 0 sysctl 4 1K 2K 166960K 10 0 counters 28 17K 17K 166960K 248 0 ioctlops 0 0K 2K 166960K 917 0 iov 0 0K 26K 166960K 1798 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1535 96K 96K 166960K 10429 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 175 0 VM map 2 1K 1K 166960K 2 0 sem 11 1K 1K 166960K 20 0 dirhash 12 2K 2K 166960K 75 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 69K 166960K 14072 0 sigio 0 0K 0K 166960K 359 0 proc 58 59K 75K 166960K 2414 0 subproc 104 6K 6K 166960K 739 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 885 0 in_multi 83 6K 7K 166960K 797 0 ether_multi 1 0K 0K 166960K 29 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 3180 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 pagedep 1 8K 8K 166960K 1 0 inodedep 1 32K 32K 166960K 1 0 newblk 1 0K 0K 166960K 1 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 581 929K 930K 166960K 132008 0 UVM aobj 131 4K 4K 166960K 147 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 588 0 NDP 11 0K 2K 166960K 350 0 temp 74 5920K 6048K 166960K 200725 0 kqueue 12 18K 30K 166960K 1202 0 SYN cache 2 2456K 2464K 166960K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 811 0 808 9 8 1 4 0 8 0 rtentry 112 726 0 631 7 4 3 4 0 8 0 unpcb 144 31957 0 31944 160 156 4 10 0 8 3 syncache 312 133 0 133 23 23 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 170 260 170 10 10 0 1 0 8 0 tcpcb 808 3708 0 3666 117 112 5 18 0 8 0 arp 88 121 0 107 1 0 1 1 0 8 0 ipq 40 11 0 11 7 7 0 1 0 8 0 ipqe 40 38 0 38 7 7 0 1 0 8 0 inpcb 336 13755 0 13709 150 145 5 21 0 8 0 nd6 104 199 0 177 1 0 1 1 0 8 0 pkpcb 40 412 0 412 13 13 0 2 0 8 0 kcovpl 48 55 0 47 1 0 1 1 0 8 0 ppxss 1160 73 0 73 17 17 0 1 0 8 0 art_heap8 4096 4 0 3 3 2 1 3 0 8 0 art_heap4 256 3029 0 2594 59 31 28 31 0 8 0 art_table 32 3033 0 2597 4 0 4 4 0 8 0 art_node 16 716 0 629 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 59 0 42 3 0 3 3 0 8 0 dino2pl 256 20430 0 18888 97 0 97 97 0 8 0 ffsino 240 20430 0 18888 92 0 92 92 0 8 0 nchpl 144 40031 0 39477 64 42 22 63 0 8 0 uvmvnodes 80 6451 0 0 132 0 132 132 0 8 0 vnodes 216 6451 0 0 359 0 359 359 0 8 0 namei 1024 140408 0 140407 9 8 1 2 0 8 0 vcpupl 2048 350 0 1 44 0 44 44 0 8 0 vmpool 664 389 0 40 31 1 30 30 0 8 0 kstatmem 264 462 0 440 2 0 2 2 0 8 0 scxspl 216 126417 0 126417 39 38 1 8 1 8 1 plimitpl 152 1816 0 1801 1 0 1 1 0 8 0 sigapl 424 14299 0 14254 10 4 6 8 0 8 0 futexpl 64 145646 0 145643 7 6 1 1 0 8 0 knotepl 120 153804 0 153722 72 69 3 16 0 8 0 kqueuepl 184 2389 0 2381 31 30 1 4 0 8 0 pipepl 288 2748 0 2719 60 57 3 9 0 8 0 fdescpl 432 14261 0 14234 6 2 4 4 0 8 0 filepl 120 110729 0 110488 136 125 11 19 0 8 0 lockfpl 104 5958 0 5955 11 10 1 2 0 8 0 lockfspl 48 1943 0 1940 1 0 1 1 0 8 0 sessionpl 144 78 0 62 1 0 1 1 0 8 0 pgrppl 48 214 0 198 1 0 1 1 0 8 0 ucredpl 104 12936 0 12919 1 0 1 1 0 8 0 zombiepl 144 14254 0 14254 4 3 1 1 0 8 1 processpl 1008 14299 0 14254 10 3 7 9 0 8 0 procpl 680 35748 0 35681 18 11 7 9 0 8 0 sosppl 168 219 0 216 11 10 1 1 0 8 0 sockpl 456 47021 0 46959 952 935 17 52 0 8 6 mcl64k 65536 583 0 580 10 9 1 1 0 8 0 mcl16k 16384 361 0 361 27 26 1 1 0 8 1 mcl12k 12288 577 0 577 23 22 1 1 0 8 1 mcl9k 9216 228 0 228 30 30 0 1 0 8 0 mcl8k 8192 902 0 902 19 18 1 1 0 8 1 mcl4k 4096 1749 0 1749 19 18 1 4 0 8 1 mcl2k2 2112 120 0 120 27 27 0 1 0 8 0 mcl2k 2048 98975 0 98913 71 61 10 36 0 8 0 mtagpl 96 2953 0 2459 40 23 17 19 0 8 0 mbufpl 256 303812 0 303148 676 618 58 95 0 8 0 bufpl 288 32855 0 26402 462 0 462 462 0 8 0 anonpl 24 1449102 0 1435305 179 76 103 115 0 188 0 amapchunkpl 152 437089 0 436205 157 120 37 49 0 158 0 amappl16 200 28260 0 27784 135 109 26 40 0 8 0 amappl15 192 15 0 14 1 0 1 1 0 8 0 amappl14 184 314 0 301 2 1 1 2 0 8 0 amappl13 176 17 0 17 4 4 0 1 0 8 0 amappl12 168 15604 0 15574 2 0 2 2 0 8 0 amappl11 160 57 0 47 1 0 1 1 0 8 0 amappl10 152 66 0 58 2 1 1 1 0 8 0 amappl9 144 329 0 328 2 1 1 1 0 8 0 amappl8 136 688 0 576 4 0 4 4 0 8 0 amappl7 128 315 0 291 2 0 2 2 0 8 0 amappl6 120 1089 0 1073 1 0 1 1 0 8 0 amappl5 112 409 0 400 1 0 1 1 0 8 0 amappl4 104 961 0 930 2 1 1 2 0 8 0 amappl3 96 81901 0 81798 6 3 3 4 0 8 0 amappl2 88 15436 0 15359 3 1 2 3 0 8 0 amappl1 80 63015 0 62503 22 10 12 22 0 8 0 amappl 88 130634 0 130337 9 1 8 8 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 14650 0 14274 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 14650 0 14274 3 0 3 3 0 8 0 vmmpekpl 168 95476 0 95368 5 0 5 5 0 8 0 vmmpepl 168 854699 0 852005 301 171 130 140 0 357 0 vmsppl 368 14649 0 14274 36 1 35 35 0 8 0 rwobjpl 24 204444 0 196240 53 3 50 50 0 8 0 pdppl 4096 29306 0 28897 975 562 413 413 0 8 4 pvpl 32 4019765 0 4000418 460 283 177 294 0 265 0 pmappl 216 14649 0 14274 21 0 21 21 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2973 0 1704 38 1 37 37 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800037875390) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037875390,1,ffff800035e0f000) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806fc61000,c0205602,ffff800037875390,1,fffffd807f7d78f0,ffff800035e0f000) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80686b7178,c0205602,ffff800037875390,ffff800035e0f000) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800035e0f000,ffff8000378754a0,ffff8000378754f0) at sys_ioctl+0x49e syscall(ffff800037875560) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x807f0a11030, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800037875390) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037875390,1,ffff800035e0f000) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806fc61000,c0205602,ffff800037875390,1,fffffd807f7d78f0,ffff800035e0f000) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80686b7178,c0205602,ffff800037875390,ffff800035e0f000) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800035e0f000,ffff8000378754a0,ffff8000378754f0) at sys_ioctl+0x49e syscall(ffff800037875560) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x807f0a11030, count: -8