kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace done_flush() at done_flush+0x38 vm_run(ffff800027c048d0) at vm_run+0x1cf sys/arch/amd64/amd64/vmm.c:4529 vmmioctl(a00,c0205602,ffff800027c048d0,1,ffff800021296fc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:680 VOP_IOCTL(fffffd806e9e6518,c0205602,ffff800027c048d0,1,fffffd807f7d7680,ffff800021296fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8065d8b020,c0205602,ffff800027c048d0,ffff800021296fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021296fc8,ffff800027c049e8,ffff800027c04a30) at sys_ioctl+0x4a2 syscall(ffff800027c04ab0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800027c04ab0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x82fe2caa660, count: -8 ddb{1}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002e485e48 rbp 0xffff800027c04620 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffe r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x44fa3c9dbc2fd779 r11 0x8bdb3ee33cd379ff r12 0xffff80002e485ba0 r13 0xffff800020dd8ff0 r14 0xffff80002e485800 r15 0xffff800027c048d0 rip 0xffffffff820c9a90 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800027c04476 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{1}> show proc PROC (syz-executor.0) pid=265945 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000212977a8,0xffff8000213222b8 process=0xffff80002a05d940 user=0xffff800027bff000, vmspace=0xfffffd8079487a38 estcpu=34, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23349 20221 50314 0 7 0 syz-executor.5 23349 465502 50314 0 2 0x4000000 syz-executor.5 24726 272094 75843 0 2 0 syz-executor.4 72436 516897 22042 0 2 0x10 syz-executor.6 72436 92688 22042 0 3 0x4000090 fsleep syz-executor.6 72436 22166 22042 0 2 0x4000010 syz-executor.6 49118 508156 60101 0 2 0 syz-executor.7 49118 158712 60101 0 3 0x4000080 bell syz-executor.7 75907 20340 90948 0 2 0 syz-executor.0 *75907 265945 90948 0 7 0x4000000 syz-executor.0 59788 496621 89776 0 2 0 syz-executor.1 59788 273862 89776 0 2 0x4000000 syz-executor.1 59788 518257 89776 0 3 0x4000080 fsleep syz-executor.1 50314 494305 89219 0 3 0x82 nanoslp syz-executor.5 49228 68233 89219 0 3 0x82 piperd syz-executor.3 22042 144881 89219 0 3 0x82 nanoslp syz-executor.6 60101 59999 89219 0 2 0x482 syz-executor.7 75843 355683 89219 0 2 0x482 syz-executor.4 89776 142387 89219 0 2 0x482 syz-executor.1 88106 82761 89219 0 2 0x2 syz-executor.2 90948 279081 89219 0 3 0x82 nanoslp syz-executor.0 41849 498417 0 0 3 0x14280 nfsidl nfsio 82299 69525 0 0 3 0x14280 nfsidl nfsio 74803 499579 0 0 3 0x14280 nfsidl nfsio 92458 208246 0 0 3 0x14280 nfsidl nfsio 80472 25401 0 0 3 0x14280 nfsidl nfsio 71986 59582 0 0 3 0x14280 nfsidl nfsio 7289 12202 0 0 3 0x14280 nfsidl nfsio 8408 340878 0 0 3 0x14280 nfsidl nfsio 2784 236363 0 0 3 0x14280 nfsidl nfsio 60035 386591 0 0 3 0x14280 nfsidl nfsio 27583 242956 0 0 3 0x14280 nfsidl nfsio 55953 499732 0 0 3 0x14280 nfsidl nfsio 92606 124498 0 0 3 0x14280 nfsidl nfsio 13602 121575 0 0 3 0x14280 nfsidl nfsio 96147 349745 0 0 3 0x14280 nfsidl nfsio 1728 168938 0 0 3 0x14280 nfsidl nfsio 13825 380215 0 0 3 0x14280 nfsidl nfsio 66177 302936 0 0 3 0x14280 nfsidl nfsio 82129 28944 0 0 3 0x14280 nfsidl nfsio 95275 46163 0 0 3 0x14280 nfsidl nfsio 44675 471338 0 0 3 0x14200 bored sosplice 72462 310209 0 0 3 0x14200 acct acct 89219 251505 1287 0 3 0x82 thrsleep syz-fuzzer 89219 11491 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 214327 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 411761 1287 0 3 0x4000082 wait syz-fuzzer 89219 431674 1287 0 3 0x4000082 wait syz-fuzzer 89219 225657 1287 0 3 0x4000082 wait syz-fuzzer 89219 12782 1287 0 3 0x4000082 wait syz-fuzzer 89219 311097 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 163312 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 161749 1287 0 3 0x4000082 kqread syz-fuzzer 89219 433917 1287 0 3 0x4000082 wait syz-fuzzer 89219 394344 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 465986 1287 0 3 0x4000082 wait syz-fuzzer 89219 328118 1287 0 3 0x4000082 wait syz-fuzzer 89219 439560 1287 0 3 0x4000082 thrsleep syz-fuzzer 89219 197058 1287 0 3 0x4000082 wait syz-fuzzer 1287 312749 12564 0 3 0x10008a sigsusp ksh 12564 161879 75070 0 3 0x9a kqread sshd 14511 458027 1 0 3 0x100083 ttyin getty 75070 90367 1 0 3 0x88 kqread sshd 14682 332176 6638 74 3 0x1100092 bpf pflogd 6638 30490 1 0 3 0x80 netio pflogd 59837 321230 72363 73 3 0x1100090 kqread syslogd 72363 277237 1 0 3 0x100082 netio syslogd 6316 323727 1 0 3 0x100080 kqread resolvd 73172 523570 66500 77 3 0x100092 kqread dhcpleased 19959 267233 66500 77 3 0x100092 kqread dhcpleased 66500 505027 1 0 3 0x80 kqread dhcpleased 48423 460635 0 0 3 0x14200 bored smr 881 330944 0 0 2 0x14200 zerothread 8885 180732 0 0 3 0x14200 aiodoned aiodoned 15220 510609 0 0 3 0x14200 syncer update 33272 450818 0 0 3 0x14200 cleaner cleaner 77778 375351 0 0 3 0x14200 reaper reaper 14546 247339 0 0 3 0x14200 pgdaemon pagedaemon 21047 269807 0 0 3 0x14200 bored viomb 61654 41424 0 0 3 0x40014200 acpi0 acpi0 30266 517919 0 0 3 0x40014200 idle1 95862 158843 0 0 3 0x14200 bored softnet 99645 217643 0 0 3 0x14200 bored softnet 10725 293840 0 0 3 0x14200 bored softnet 78811 64010 0 0 3 0x14200 bored softnet 78187 215190 0 0 3 0x14200 bored systqmp 82942 198472 0 0 3 0x14200 bored systq 20359 272655 0 0 3 0x40014200 bored softclock 68909 38040 0 0 3 0x40014200 idle0 1 338987 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 75907 (syz-executor.0) thread 0xffff800021296fc8 (265945) exclusive rwlock vcpu r = 0 (0xffff80002e485bb0) #0 witness_lock+0x44d #1 vm_run+0xc6 sys/arch/amd64/amd64/vmm.c:4503 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:680 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 #5 sys_ioctl+0x4a2 #6 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10236 6566K 6887K 78643K 18843 0 pcb 13 16K 21K 78643K 1317 0 rtable 206 15K 17K 78643K 2380 0 ifaddr 78 18K 19K 78643K 605 0 sysctl 2 0K 0K 78643K 2 0 counters 58 35K 35K 78643K 280 0 ioctlops 0 0K 4K 78643K 2142 0 iov 0 0K 24K 78643K 813 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1445 90K 90K 78643K 5911 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 100 0 VM map 2 1K 1K 78643K 2 0 sem 10 5K 10K 78643K 25 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 93K 78643K 9302 0 sigio 0 0K 0K 78643K 316 0 proc 73 91K 128K 78643K 2163 0 subproc 104 6K 7K 78643K 732 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 238 0 in_multi 81 5K 6K 78643K 780 0 ether_multi 1 0K 0K 78643K 33 0 mrt 1 0K 0K 78643K 33 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 1665 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 408 513K 514K 78643K 64010 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 190 0 NDP 15 0K 1K 78643K 233 0 temp 133 4698K 70234K 78643K 83727 0 kqueue 12 18K 30K 78643K 2801 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 582 0 579 8 7 1 4 0 8 0 rtentry 112 748 0 661 5 2 3 4 0 8 0 unpcb 144 6629 0 6614 64 63 1 10 0 8 0 syncache 296 36 0 36 14 14 0 1 0 8 0 tcpqe 32 310 0 310 11 11 0 1 0 8 0 tcpcb 776 4891 0 4884 82 81 1 14 0 8 0 arp 120 118 0 101 1 0 1 1 0 8 0 inpcb 368 8869 0 8858 107 105 2 13 0 8 0 nd6 48 186 0 167 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 56 0 48 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1256 20 0 20 5 4 1 1 0 8 1 pppxif 1448 11 0 11 4 3 1 1 0 8 1 pfstscr 40 31 0 28 4 3 1 1 0 8 0 pffrag 232 9 0 9 3 2 1 1 0 482 1 pffrnode 88 9 0 9 3 2 1 1 0 8 1 pffrent 40 28 0 28 3 2 1 1 0 8 1 pfosfp 40 1430 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfanchor 1280 754 0 313 41 4 37 37 0 8 0 pfstitem 24 18 0 12 3 2 1 1 0 8 0 pfstkey 120 44 0 42 4 3 1 1 0 8 0 pfstate 384 22 0 19 4 3 1 1 0 8 0 rttmr 136 7 0 7 2 2 0 1 0 8 0 art_heap8 4096 9 0 8 7 6 1 2 0 8 0 art_heap4 256 3317 0 2955 54 29 25 30 0 8 0 art_table 32 3326 0 2963 6 2 4 4 0 8 0 art_node 16 746 0 670 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 8 0 0 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 13837 0 12371 92 0 92 92 0 8 0 ffsino 272 13837 0 12371 99 0 99 99 0 8 0 nchpl 144 29699 0 28057 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 109175 0 109175 5 4 1 2 0 8 1 percpumem 16 152 0 111 1 0 1 1 0 8 0 vcpupl 2048 101 0 0 13 0 13 13 0 8 0 vmpool 568 105 0 4 8 0 8 8 0 8 0 kstatmem 264 220 0 194 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 75815 0 75815 22 21 1 8 0 8 1 plimitpl 152 1058 0 1042 1 0 1 1 0 8 0 sigapl 424 9533 0 9465 10 2 8 8 0 8 0 futexpl 64 122403 0 122401 4 3 1 1 0 8 0 knotepl 120 544 0 0 11 0 11 11 0 8 0 kqueuepl 216 7720 0 7711 49 46 3 5 0 8 2 pipepl 320 1543 0 1514 41 38 3 8 0 8 0 fdescpl 496 9494 0 9465 6 2 4 5 0 8 0 filepl 152 80206 0 79958 105 93 12 23 0 8 2 lockfpl 104 1188 0 1186 2 1 1 2 0 8 0 lockfspl 48 443 0 441 1 0 1 1 0 8 0 sessionpl 144 72 0 55 1 0 1 1 0 8 0 pgrppl 48 80 0 63 1 0 1 1 0 8 0 ucredpl 104 10164 0 10149 1 0 1 1 0 8 0 zombiepl 144 9465 0 9465 2 1 1 1 0 8 1 processpl 1072 9533 0 9465 5 0 5 5 0 8 0 procpl 672 25704 0 25614 22 13 9 11 0 8 0 srpgc 96 68 0 68 11 11 0 1 0 8 0 sosppl 168 49 0 49 11 11 0 1 0 8 0 sockpl 488 16100 0 16071 296 291 5 34 0 8 1 mcl64k 65536 26 0 0 4 1 3 3 0 8 0 mcl16k 16384 41 0 0 6 3 3 3 0 8 0 mcl12k 12288 42 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 628 0 0 65 17 48 65 0 8 0 mtagpl 96 323 0 0 5 0 5 5 0 8 0 mbufpl 256 1481 0 0 70 0 70 70 0 8 0 bufpl 288 18665 0 12331 453 0 453 453 0 8 0 anonpl 24 2588291 0 2573062 310 183 127 192 0 186 1 amapchunkpl 152 179406 0 178666 94 61 33 63 0 158 0 amappl16 200 60798 0 60261 103 68 35 50 0 8 0 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 319 0 305 2 0 2 2 0 8 0 amappl13 176 24 0 23 1 0 1 1 0 8 0 amappl12 168 987 0 985 1 0 1 1 0 8 0 amappl11 160 55 0 39 1 0 1 1 0 8 0 amappl10 152 95 0 84 1 0 1 1 0 8 0 amappl9 144 1027 0 1027 13 13 0 1 0 8 0 amappl8 136 528 0 427 4 0 4 4 0 8 0 amappl7 128 119 0 99 1 0 1 1 0 8 0 amappl6 120 843 0 819 2 1 1 2 0 8 0 amappl5 112 226 0 215 1 0 1 1 0 8 0 amappl4 104 1231 0 1193 3 1 2 2 0 8 0 amappl3 96 28888 0 28832 2 0 2 2 0 8 0 amappl2 88 10964 0 10890 3 1 2 3 0 8 0 amappl1 80 214627 0 213872 30 13 17 22 0 8 0 amappl 88 63209 0 62976 8 2 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 9599 0 9469 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9599 0 9469 1 0 1 1 0 8 0 vmmpekpl 168 73700 0 73617 5 0 5 5 0 8 0 vmmpepl 168 926358 0 923408 298 152 146 185 0 357 2 vmsppl 368 9598 0 9469 14 2 12 12 0 8 0 rwobjpl 56 277632 0 269769 127 13 114 117 0 8 0 pdppl 4096 19205 0 19039 503 333 170 170 0 8 4 pvpl 32 4925364 0 4904214 589 376 213 340 0 265 3 pmappl 248 9598 0 9469 10 1 9 9 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1511 0 508 29 0 29 29 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8298dff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7ffffc8390, count: -3 ddb{0}> machine ddbcpu 1 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{1}> trace done_flush() at done_flush+0x38 vm_run(ffff800027c048d0) at vm_run+0x1cf sys/arch/amd64/amd64/vmm.c:4529 vmmioctl(a00,c0205602,ffff800027c048d0,1,ffff800021296fc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:680 VOP_IOCTL(fffffd806e9e6518,c0205602,ffff800027c048d0,1,fffffd807f7d7680,ffff800021296fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8065d8b020,c0205602,ffff800027c048d0,ffff800021296fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021296fc8,ffff800027c049e8,ffff800027c04a30) at sys_ioctl+0x4a2 syscall(ffff800027c04ab0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800027c04ab0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x82fe2caa660, count: -8