login: 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(ffff800037879790) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037879790,1,ffff80002db7d298) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807b3380d8,c0205602,ffff800037879790,1,fffffd807f7d77b8,ffff80002db7d298) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805eaeff10,c0205602,ffff800037879790,ffff80002db7d298) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002db7d298,ffff8000378798a0,ffff8000378798f0) at sys_ioctl+0x49e syscall(ffff800037879960) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c3af0d89c0, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002f582630 rbp 0xffff8000378794e0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xb98b085b91c2986a r11 0x781b12730b7f58cb r12 0xffff80002f5823a8 r13 0xffff800037879416 r14 0xffff80002f582000 r15 0x246 rip 0xffffffff811796eb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800037879346 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.1) tid=414987 pid=56051 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=75, usrpri=75, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002db7cff0,0xffff80002a64f568 process=0xffff80002db507e0 user=0xffff800037874000, vmspace=0xfffffd8070d24450 estcpu=25, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56051 136495 57397 0 3 0x80 fsleep syz-executor.1 *56051 414987 57397 0 7 0x4000000 syz-executor.1 31263 127631 12851 0 3 0x80 nanoslp syz-executor.7 31263 153168 12851 0 3 0x4000080 fsleep syz-executor.7 31263 488775 12851 0 3 0x4000080 fsleep syz-executor.7 31263 28397 12851 0 3 0x4000080 fsleep syz-executor.7 48844 518146 15391 0 3 0x80 fsleep syz-executor.3 48844 3237 15391 0 3 0x4000080 piperd syz-executor.3 41024 388775 90180 0 3 0x80 nanoslp syz-executor.0 41024 148960 90180 0 2 0x4000000 syz-executor.0 41024 259419 90180 0 2 0x4000000 syz-executor.0 41024 378115 90180 0 2 0x4000000 syz-executor.0 41024 78162 90180 0 2 0x4000000 syz-executor.0 41024 12763 90180 0 2 0x4000000 syz-executor.0 41024 220174 90180 0 2 0x4000000 syz-executor.0 41024 56829 90180 0 2 0x4000000 syz-executor.0 69346 149274 1 0 3 0x100083 ttyin getty 15391 318898 82513 0 2 0x482 syz-executor.3 68456 305423 82513 0 2 0x482 syz-executor.6 61924 504778 82513 0 3 0x82 nanoslp syz-executor.2 3115 392031 1 0 3 0x80 fsleep syz-executor.2 3115 289964 1 0 3 0x4000080 ttyin syz-executor.2 87101 43045 82513 0 2 0x482 syz-executor.5 90180 268495 82513 0 2 0x482 syz-executor.0 67213 252492 0 0 3 0x14200 bored sosplice 12851 373269 82513 0 2 0x482 syz-executor.7 13370 173998 82513 0 2 0x482 syz-executor.4 57397 484642 82513 0 2 0x482 syz-executor.1 82513 474059 13179 0 3 0x2000082 wait syz-fuzzer 82513 212100 13179 0 2 0x6000002 syz-fuzzer 82513 37798 13179 0 3 0x6000082 wait syz-fuzzer 82513 484721 13179 0 3 0x6000082 wait syz-fuzzer 82513 387305 13179 0 3 0x6000082 kqread syz-fuzzer 82513 484172 13179 0 3 0x6000082 thrsleep syz-fuzzer 82513 72067 13179 0 3 0x6000082 thrsleep syz-fuzzer 82513 106578 13179 0 3 0x6000082 wait syz-fuzzer 82513 220656 13179 0 3 0x6000082 wait syz-fuzzer 82513 183614 13179 0 3 0x6000082 thrsleep syz-fuzzer 82513 32962 13179 0 3 0x6000082 thrsleep syz-fuzzer 82513 363945 13179 0 3 0x6000082 wait syz-fuzzer 82513 120347 13179 0 3 0x6000082 wait syz-fuzzer 82513 450367 13179 0 3 0x6000082 wait syz-fuzzer 13179 417065 62268 0 3 0x10008a sigsusp ksh 62268 22253 32719 0 3 0x9a kqread sshd 32719 18181 1 0 3 0x88 kqread sshd 73817 155641 79162 73 3 0x1100090 kqread syslogd 79162 423656 1 0 3 0x100082 netio syslogd 7641 485233 1 0 3 0x100080 kqread resolvd 62345 502310 36275 77 3 0x100092 kqread dhcpleased 20919 320336 36275 77 3 0x100092 kqread dhcpleased 36275 359513 1 0 3 0x80 kqread dhcpleased 64667 389000 0 0 3 0x14200 bored smr 44766 462866 0 0 2 0x14200 zerothread 22988 299630 0 0 3 0x14200 aiodoned aiodoned 98863 114804 0 0 3 0x14200 syncer update 29787 234958 0 0 3 0x14200 cleaner cleaner 23035 157197 0 0 3 0x14200 reaper reaper 10066 252714 0 0 3 0x14200 pgdaemon pagedaemon 3417 144282 0 0 3 0x14200 bored viomb 48204 382802 0 0 3 0x40014200 acpi0 acpi0 95763 47840 0 0 3 0x14200 bored softnet3 22362 170938 0 0 3 0x14200 bored softnet2 43057 119157 0 0 3 0x14200 bored softnet1 34133 327259 0 0 3 0x14200 bored softnet0 404 288549 0 0 3 0x14200 bored systqmp 53763 328693 0 0 3 0x14200 bored systq 90543 386861 0 0 2 0x40014200 softclock 77400 76946 0 0 3 0x40014200 idle0 1 278084 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 10196 6492K 7378K 166960K 26841 0 pcb 13 24K 28K 166960K 456 0 rtable 188 14K 15K 166960K 1077 0 pf 32 9K 10K 166960K 228 0 ifaddr 36 10K 12K 166960K 192 0 ifgroup 55 2K 2K 166960K 363 0 sysctl 3 0K 0K 166960K 5 0 counters 29 17K 17K 166960K 118 0 ioctlops 0 0K 2K 166960K 418 0 iov 1 8K 32K 166960K 567 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1564 98K 98K 166960K 6926 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 114 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 808 0 dirhash 12 2K 3K 166960K 633 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 69K 166960K 7283 0 sigio 0 0K 0K 166960K 295 0 proc 58 59K 75K 166960K 1248 0 subproc 117 7K 7K 166960K 333 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 9123 0 in_multi 72 5K 7K 166960K 335 0 ether_multi 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 1355 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 425 398K 407K 166960K 70817 0 UVM aobj 131 4K 4K 166960K 134 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 311 0 NDP 12 0K 1K 166960K 151 0 temp 78 5920K 6048K 166960K 60033 0 kqueue 13 20K 35K 166960K 453 0 SYN cache 2 1236K 1244K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 487 0 484 9 8 1 3 0 8 0 rtentry 112 326 0 242 4 0 4 4 0 8 0 unpcb 144 5178 0 5164 58 57 1 8 0 8 0 syncache 312 65 0 65 16 16 0 1 0 8 0 tcpqe 32 697 0 697 12 12 0 2 0 8 0 tcpcb 808 1676 0 1660 50 48 2 10 0 8 0 arp 88 52 0 40 1 0 1 1 0 8 0 ipq 40 11 0 11 5 5 0 1 0 8 0 ipqe 40 32 0 32 5 5 0 1 0 8 0 inpcb 336 9789 0 9769 119 111 8 19 0 8 4 nd6 104 83 0 64 1 0 1 1 0 8 0 pkpcb 40 91 0 91 6 6 0 1 0 8 0 kcovpl 48 25 0 16 1 0 1 1 0 8 0 ppxss 1160 35 0 35 9 8 1 1 0 8 1 art_heap8 4096 8 0 7 5 4 1 3 0 8 0 art_heap4 256 1377 0 1000 36 8 28 30 0 8 0 art_table 32 1385 0 1007 4 0 4 4 0 8 0 art_node 16 318 0 241 1 0 1 1 0 8 0 sysvmsgpl 40 154 0 145 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 803 0 793 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 431 0 414 3 0 3 3 0 8 0 dino2pl 256 12730 0 11245 94 0 94 94 0 8 0 ffsino 240 12730 0 11245 88 0 88 88 0 8 0 nchpl 144 22646 0 20995 63 0 63 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 86046 0 86046 11 10 1 3 0 8 1 vcpupl 2048 68 0 0 9 0 9 9 0 8 0 vmpool 664 85 0 17 7 1 6 6 0 8 0 kstatmem 264 202 0 178 2 0 2 2 0 8 0 scxspl 216 70520 0 70520 24 23 1 8 1 8 1 plimitpl 152 539 0 522 1 0 1 1 0 8 0 sigapl 424 7576 0 7529 8 2 6 8 0 8 0 futexpl 64 69818 0 69812 1 0 1 1 0 8 0 knotepl 120 66288 0 66204 51 48 3 18 0 8 0 kqueuepl 184 1001 0 992 16 15 1 4 0 8 0 pipepl 288 1717 0 1686 35 32 3 11 0 8 0 fdescpl 432 7536 0 7510 4 0 4 4 0 8 0 filepl 120 50993 0 50732 91 80 11 22 0 8 1 lockfpl 104 4332 0 4329 6 5 1 2 0 8 0 lockfspl 48 1797 0 1794 1 0 1 1 0 8 0 sessionpl 144 42 0 25 1 0 1 1 0 8 0 pgrppl 48 70 0 53 1 0 1 1 0 8 0 ucredpl 104 5434 0 5424 1 0 1 1 0 8 0 zombiepl 144 7533 0 7529 1 0 1 1 0 8 0 processpl 1008 7576 0 7529 10 3 7 9 0 8 0 procpl 680 19465 0 19392 15 8 7 9 0 8 0 sosppl 168 64 0 63 12 11 1 1 0 8 0 sockpl 456 15631 0 15593 292 279 13 37 0 8 6 mcl64k 65536 316 0 316 11 10 1 1 0 8 1 mcl16k 16384 178 0 178 14 13 1 1 0 8 1 mcl12k 12288 285 0 285 11 10 1 1 0 8 1 mcl9k 9216 138 0 138 18 17 1 1 0 8 1 mcl8k 8192 582 0 582 9 8 1 1 0 8 1 mcl4k 4096 947 0 947 7 6 1 1 0 8 1 mcl2k2 2112 102 0 102 14 13 1 1 0 8 1 mcl2k 2048 82439 0 82388 91 83 8 47 0 8 0 mtagpl 96 1991 0 1658 16 3 13 14 0 8 0 mbufpl 256 189756 0 189296 154 112 42 78 0 8 0 bufpl 288 15858 0 9464 458 0 458 458 0 8 0 anonpl 24 824036 0 809562 195 81 114 114 0 188 20 amapchunkpl 152 226940 0 226091 76 38 38 44 0 158 0 amappl16 200 14712 0 14233 77 43 34 38 0 8 8 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 213 0 199 2 1 1 2 0 8 0 amappl13 176 9 0 9 2 2 0 1 0 8 0 amappl12 168 8394 0 8366 2 0 2 2 0 8 0 amappl11 160 78 0 68 1 0 1 1 0 8 0 amappl10 152 56 0 47 3 2 1 1 0 8 0 amappl9 144 114 0 112 1 0 1 1 0 8 0 amappl8 136 420 0 327 4 0 4 4 0 8 0 amappl7 128 222 0 200 2 0 2 2 0 8 0 amappl6 120 558 0 546 1 0 1 1 0 8 0 amappl5 112 265 0 257 1 0 1 1 0 8 0 amappl4 104 596 0 575 2 1 1 2 0 8 0 amappl3 96 44594 0 44511 3 0 3 3 0 8 0 amappl2 88 8376 0 8301 3 1 2 3 0 8 0 amappl1 80 35995 0 35489 21 10 11 21 0 8 0 amappl 88 69970 0 69723 7 0 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 7621 0 7527 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7621 0 7527 1 0 1 1 0 8 0 vmmpekpl 168 60144 0 60067 4 0 4 4 0 8 0 vmmpepl 168 460278 0 457943 251 132 119 129 0 357 5 vmsppl 368 7620 0 7527 9 0 9 9 0 8 0 rwobjpl 24 115504 0 107897 50 2 48 48 0 8 1 pdppl 4096 15248 0 15122 515 382 133 133 0 8 7 pvpl 32 2104726 0 2085162 407 213 194 323 0 265 26 pmappl 216 7620 0 7527 9 3 6 6 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1752 0 853 27 0 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800037879790) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037879790,1,ffff80002db7d298) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807b3380d8,c0205602,ffff800037879790,1,fffffd807f7d77b8,ffff80002db7d298) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805eaeff10,c0205602,ffff800037879790,ffff80002db7d298) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002db7d298,ffff8000378798a0,ffff8000378798f0) at sys_ioctl+0x49e syscall(ffff800037879960) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c3af0d89c0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800037879790) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800037879790,1,ffff80002db7d298) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807b3380d8,c0205602,ffff800037879790,1,fffffd807f7d77b8,ffff80002db7d298) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805eaeff10,c0205602,ffff800037879790,ffff80002db7d298) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002db7d298,ffff8000378798a0,ffff8000378798f0) at sys_ioctl+0x49e syscall(ffff800037879960) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c3af0d89c0, count: -8