666kernel: 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(ffff800024b88160) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800024b88160,1,ffff800021732808) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e7840d8,c0205602,ffff800024b88160,1,fffffd807f7d7a28,ffff800021732808) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8078760358,c0205602,ffff800024b88160,ffff800021732808) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021732808,ffff800024b88270,ffff800024b882c0) at sys_ioctl+0x49e syscall(ffff800024b88340) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5fd5e9d29b0, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800029a3ce30 rbp 0xffff800024b87eb0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x91158c9a4509f94d r11 0xdba723543d0ccc0b r12 0xffff800029a3cba8 r13 0xffff800029a3cb58 r14 0xffff800029a3c800 r15 0xffff800024b88160 rip 0xffffffff81cc9a9b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800024b87d16 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.3) tid=384937 pid=77782 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800021732560,0xffff8000217312d8 process=0xffff80002ce7e7e8 user=0xffff800024b83000, vmspace=0xfffffd80657cf300 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77782 336654 94496 0 2 0 syz-executor.3 *77782 384937 94496 0 7 0x4000000 syz-executor.3 48197 314998 11222 0 2 0 syz-executor.2 48197 342312 11222 0 3 0x4000080 fsleep syz-executor.2 48197 341082 11222 0 3 0x4000080 fsleep syz-executor.2 37486 359575 87744 0 2 0 syz-executor.6 44527 488528 50898 0 3 0x82 nanoslp syz-executor.7 94496 6888 50898 0 3 0x82 nanoslp syz-executor.3 33783 373583 0 0 3 0x14280 nfsidl nfsio 84369 120499 0 0 3 0x14280 nfsidl nfsio 71285 150531 0 0 3 0x14280 nfsidl nfsio 30461 417368 0 0 3 0x14280 nfsidl nfsio 56803 480900 0 0 3 0x14280 nfsidl nfsio 44716 466476 0 0 3 0x14280 nfsidl nfsio 94792 335568 0 0 3 0x14280 nfsidl nfsio 52840 284273 0 0 3 0x14280 nfsidl nfsio 38872 446831 0 0 3 0x14280 nfsidl nfsio 56244 171966 0 0 3 0x14280 nfsidl nfsio 77153 68917 0 0 3 0x14280 nfsidl nfsio 39616 306548 0 0 3 0x14280 nfsidl nfsio 54910 274526 0 0 3 0x14280 nfsidl nfsio 5816 230740 0 0 3 0x14280 nfsidl nfsio 22415 254385 0 0 3 0x14280 nfsidl nfsio 59767 292507 0 0 3 0x14280 nfsidl nfsio 79803 79774 0 0 3 0x14280 nfsidl nfsio 65129 265820 0 0 3 0x14280 nfsidl nfsio 53443 459796 0 0 3 0x14280 nfsidl nfsio 36341 16849 0 0 3 0x14280 nfsidl nfsio 57436 84484 50898 0 2 0x2 syz-executor.5 11222 203113 50898 0 3 0x82 nanoslp syz-executor.2 4347 345138 50898 0 3 0x82 nanoslp syz-executor.4 22805 188643 1 0 3 0x100083 ttyin getty 90701 492779 0 0 3 0x14200 acct acct 83274 215987 50898 0 3 0x82 nanoslp syz-executor.0 83778 141234 0 0 3 0x14200 bored sosplice 87744 365778 50898 0 3 0x82 nanoslp syz-executor.6 44958 152636 50898 0 3 0x82 nanoslp syz-executor.1 50898 59416 28727 0 3 0x2000082 thrsleep syz-fuzzer 50898 403502 28727 0 3 0x6000082 nanoslp syz-fuzzer 50898 35913 28727 0 3 0x6000082 wait syz-fuzzer 50898 15303 28727 0 3 0x6000082 wait syz-fuzzer 50898 155984 28727 0 3 0x6000082 thrsleep syz-fuzzer 50898 231378 28727 0 3 0x6000082 kqread syz-fuzzer 50898 359295 28727 0 3 0x6000082 wait syz-fuzzer 50898 259702 28727 0 3 0x6000082 wait syz-fuzzer 50898 22181 28727 0 3 0x6000082 wait syz-fuzzer 50898 93838 28727 0 3 0x6000082 thrsleep syz-fuzzer 50898 8542 28727 0 3 0x6000082 wait syz-fuzzer 50898 376904 28727 0 3 0x6000082 wait syz-fuzzer 50898 194818 28727 0 3 0x6000082 thrsleep syz-fuzzer 50898 350200 28727 0 3 0x6000082 wait syz-fuzzer 28727 220967 58673 0 3 0x10008a sigsusp ksh 58673 57495 95273 0 3 0x9a kqread sshd 95273 97564 1 0 3 0x88 kqread sshd 69945 519297 40506 73 3 0x1100090 kqread syslogd 40506 55686 1 0 3 0x100082 netio syslogd 29167 384651 1 0 3 0x100080 kqread resolvd 66681 495780 78370 77 3 0x100092 kqread dhcpleased 18362 410868 78370 77 3 0x100092 kqread dhcpleased 78370 338869 1 0 3 0x80 kqread dhcpleased 67777 369126 0 0 3 0x14200 bored smr 91332 493997 0 0 2 0x14200 zerothread 67085 30034 0 0 3 0x14200 aiodoned aiodoned 16920 294226 0 0 3 0x14200 syncer update 66354 144537 0 0 3 0x14200 cleaner cleaner 54738 197943 0 0 3 0x14200 reaper reaper 41043 105384 0 0 3 0x14200 pgdaemon pagedaemon 31517 64694 0 0 3 0x14200 bored viomb 77540 444048 0 0 3 0x40014200 acpi0 acpi0 37916 76750 0 0 3 0x14200 bored softnet3 88738 438009 0 0 3 0x14200 bored softnet2 57440 437279 0 0 3 0x14200 bored softnet1 18914 72403 0 0 3 0x14200 bored softnet0 46666 273665 0 0 3 0x14200 bored systqmp 65779 210430 0 0 3 0x14200 bored systq 81364 115945 0 0 3 0x40014200 tmoslp softclock 39485 141568 0 0 3 0x40014200 idle0 1 229422 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 10198 6501K 18917K 78643K 34858 0 pcb 13 14K 16K 78643K 565 0 rtable 243 7K 7K 78643K 998 0 pf 36 10K 10K 78643K 187 0 ifaddr 46 12K 13K 78643K 153 0 ifgroup 63 2K 2K 78643K 278 0 sysctl 3 0K 0K 78643K 3 0 counters 31 17K 17K 78643K 106 0 ioctlops 0 0K 2K 78643K 4902 0 iov 0 0K 36K 78643K 683 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1535 96K 97K 78643K 8290 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 92 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 906 0 dirhash 12 2K 2K 78643K 51 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 73K 78643K 6698 0 sigio 0 0K 0K 78643K 488 0 proc 58 59K 83K 78643K 930 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 385 0 in_multi 99 7K 7K 78643K 241 0 ether_multi 1 0K 0K 78643K 4 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 1491 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 407 336K 338K 78643K 64093 0 UVM aobj 131 4K 5K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 123 0 NDP 14 0K 1K 78643K 121 0 temp 74 5912K 6044K 78643K 49923 0 kqueue 12 18K 30K 78643K 510 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 602 0 599 9 8 1 4 0 8 0 rtentry 112 287 0 174 4 0 4 4 0 8 0 unpcb 144 5291 0 5278 56 51 5 11 0 8 4 syncache 304 58 0 58 9 9 0 1 0 8 0 tcpqe 32 120 400 120 3 3 0 1 0 8 0 tcpcb 808 1818 0 1759 57 47 10 13 0 8 4 arp 88 35 0 16 1 0 1 1 0 8 0 ipq 40 10 0 10 3 3 0 1 0 8 0 ipqe 40 99 0 99 3 3 0 1 0 8 0 inpcb 336 4396 0 4331 58 49 9 14 0 8 3 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 6 0 6 2 2 0 1 0 8 0 nd6 104 57 0 31 1 0 1 1 0 8 0 pkpcb 40 17 0 17 2 2 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1160 43 0 43 8 7 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 861 0 391 31 1 30 30 0 8 0 art_table 32 862 0 391 4 0 4 4 0 8 0 art_node 16 208 0 105 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 898 0 888 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 43 0 26 3 0 3 3 0 8 0 dino2pl 256 10467 0 9007 92 0 92 92 0 8 0 ffsino 240 10467 0 9007 87 0 87 87 0 8 0 nchpl 144 19884 0 19407 63 41 22 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 74481 0 74480 7 6 1 3 0 8 0 vcpupl 2048 183 0 0 23 0 23 23 0 8 0 vmpool 664 186 0 3 16 0 16 16 0 8 0 kstatmem 264 178 0 150 7 4 3 3 0 8 1 scxspl 216 58985 0 58985 26 25 1 8 1 8 1 plimitpl 152 609 0 594 1 0 1 1 0 8 0 sigapl 424 7320 0 7254 8 0 8 8 0 8 0 futexpl 64 69980 0 69978 1 0 1 1 0 8 0 knotepl 120 64653 0 64573 27 24 3 16 0 8 0 kqueuepl 184 1353 0 1344 24 23 1 7 0 8 0 pipepl 288 2890 0 2862 44 41 3 11 0 8 0 fdescpl 432 6962 0 6938 4 0 4 4 0 8 0 filepl 120 53736 0 53500 69 56 13 20 0 8 3 lockfpl 104 7451 0 7449 14 13 1 3 0 8 0 lockfspl 48 3333 0 3331 3 2 1 2 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 468 0 452 1 0 1 1 0 8 0 ucredpl 104 5080 0 5064 1 0 1 1 0 8 0 zombiepl 144 7258 0 7254 1 0 1 1 0 8 0 processpl 1008 7320 0 7254 10 1 9 9 0 8 0 procpl 680 17353 0 17271 14 6 8 9 0 8 0 sosppl 168 96 0 88 4 3 1 1 0 8 0 sockpl 456 10357 0 10280 265 242 23 37 0 8 12 mcl64k 65536 264 0 264 5 5 0 1 0 8 0 mcl16k 16384 101 0 101 9 8 1 1 0 8 1 mcl12k 12288 336 0 336 2 2 0 1 0 8 0 mcl9k 9216 146 0 146 2 2 0 1 0 8 0 mcl8k 8192 509 0 509 6 5 1 1 0 8 1 mcl4k 4096 777 0 777 2 1 1 1 0 8 1 mcl2k2 2112 86 0 86 11 11 0 1 0 8 0 mcl2k 2048 78813 0 78680 70 51 19 31 0 8 0 mtagpl 96 2283 0 1636 25 8 17 18 0 8 0 mbufpl 256 183570 0 182717 252 195 57 102 0 8 0 bufpl 288 16008 0 9613 458 1 457 458 0 8 0 anonpl 24 753176 0 740959 107 6 101 106 0 188 1 amapchunkpl 152 203673 0 202955 60 25 35 42 0 158 3 amappl16 200 17015 0 16487 67 35 32 37 0 8 4 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 177 0 166 2 1 1 2 0 8 0 amappl13 176 17 0 17 1 1 0 1 0 8 0 amappl12 168 7707 0 7682 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 46 0 37 1 0 1 1 0 8 0 amappl9 144 203 0 202 2 1 1 1 0 8 0 amappl8 136 392 0 299 4 0 4 4 0 8 0 amappl7 128 243 0 219 2 0 2 2 0 8 0 amappl6 120 398 0 389 1 0 1 1 0 8 0 amappl5 112 247 0 237 1 0 1 1 0 8 0 amappl4 104 537 0 513 2 1 1 2 0 8 0 amappl3 96 40358 0 40293 3 0 3 3 0 8 0 amappl2 88 7795 0 7725 3 0 3 3 0 8 0 amappl1 80 33613 0 33116 22 11 11 22 0 8 0 amappl 88 63260 0 63049 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 7148 0 6941 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7148 0 6941 2 0 2 2 0 8 0 vmmpekpl 168 57701 0 57617 5 0 5 5 0 8 0 vmmpepl 168 420085 0 417754 208 76 132 132 0 357 19 vmsppl 368 7147 0 6941 20 0 20 20 0 8 0 rwobjpl 24 108467 0 100865 49 1 48 48 0 8 0 pdppl 4096 14302 0 14065 415 168 247 247 0 8 10 pvpl 32 1916326 0 1898998 371 196 175 354 0 265 1 pmappl 216 7147 0 6941 12 0 12 12 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1657 0 586 33 0 33 33 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800024b88160) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800024b88160,1,ffff800021732808) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e7840d8,c0205602,ffff800024b88160,1,fffffd807f7d7a28,ffff800021732808) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8078760358,c0205602,ffff800024b88160,ffff800021732808) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021732808,ffff800024b88270,ffff800024b882c0) at sys_ioctl+0x49e syscall(ffff800024b88340) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5fd5e9d29b0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800024b88160) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800024b88160,1,ffff800021732808) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e7840d8,c0205602,ffff800024b88160,1,fffffd807f7d7a28,ffff800021732808) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8078760358,c0205602,ffff800024b88160,ffff800021732808) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021732808,ffff800024b88270,ffff800024b882c0) at sys_ioctl+0x49e syscall(ffff800024b88340) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5fd5e9d29b0, count: -8