kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002ca82b50) at vm_run+0x1cf sys/arch/amd64/amd64/vmm.c:4529 vmmioctl(a00,c0205602,ffff80002ca82b50,1,ffff800027be4fc0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:680 VOP_IOCTL(fffffd806e95a5f0,c0205602,ffff80002ca82b50,1,fffffd807f7d7750,ffff800027be4fc0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067c061d8,c0205602,ffff80002ca82b50,ffff800027be4fc0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800027be4fc0,ffff80002ca82c68,ffff80002ca82cb0) at sys_ioctl+0x4a2 syscall(ffff80002ca82d30) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002ca82d30) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x32debf032d0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800025f79e48 rbp 0xffff80002ca828a0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xffffffffffffffff r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xab5c71862ed8202f r11 0xdedba782c1c834bf r12 0xffff800025f79ba0 r13 0xffffffff82940ff0 cpu_info_full_primary+0x1ff0 r14 0xffff800025f79800 r15 0xffff80002ca82b50 rip 0xffffffff81663560 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002ca826f6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.2) pid=213314 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff800027be4540,0xffff800027be42b0 process=0xffff8000ffff1908 user=0xffff80002ca7d000, vmspace=0xfffffd807d1a95c0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 29068 296762 27047 0 3 0x80 nanoslp syz-executor.7 29068 435222 27047 0 3 0x4000080 fsleep syz-executor.7 65992 53225 27723 0 2 0 syz-executor.2 *65992 213314 27723 0 7 0x4000000 syz-executor.2 14512 57881 78510 0 2 0 syz-executor.1 47213 270333 28194 0 2 0x480 syz-executor.5 47213 309294 28194 0 3 0x4000080 fsleep syz-executor.5 6776 492596 27175 0 2 0 syz-executor.6 6776 469735 27175 0 3 0x4000080 fsleep syz-executor.6 6776 154402 27175 0 7 0x4000000 syz-executor.6 6776 483451 27175 0 2 0x4000000 syz-executor.6 66901 176564 32451 0 2 0 syz-executor.3 66901 453639 32451 0 3 0x4000080 fsleep syz-executor.3 74919 37352 38150 0 2 0x82000 syz-executor.0 74919 457609 38150 0 3 0x4002000 suspend syz-executor.0 74919 483541 38150 0 4 0x4082000 syz-executor.0 74919 253629 38150 0 4 0x4082000 syz-executor.0 27047 519301 55995 0 3 0x82 nanoslp syz-executor.7 62756 133744 55995 0 2 0x482 syz-executor.4 60701 34843 0 0 3 0x14280 nfsidl nfsio 90262 483783 0 0 3 0x14280 nfsidl nfsio 81865 482243 0 0 3 0x14280 nfsidl nfsio 45490 215702 0 0 3 0x14280 nfsidl nfsio 22971 13973 0 0 3 0x14280 nfsidl nfsio 22438 372461 0 0 3 0x14280 nfsidl nfsio 43700 405447 0 0 3 0x14280 nfsidl nfsio 59373 315218 0 0 3 0x14280 nfsidl nfsio 74672 23279 0 0 3 0x14280 nfsidl nfsio 38408 296091 0 0 3 0x14280 nfsidl nfsio 81465 473486 0 0 3 0x14280 nfsidl nfsio 92902 410175 0 0 3 0x14280 nfsidl nfsio 59961 365255 0 0 3 0x14280 nfsidl nfsio 80674 469140 0 0 3 0x14280 nfsidl nfsio 9668 149827 0 0 3 0x14280 nfsidl nfsio 77024 454711 0 0 3 0x14280 nfsidl nfsio 76589 212895 0 0 3 0x14280 nfsidl nfsio 89392 47718 0 0 3 0x14280 nfsidl nfsio 66410 171607 0 0 3 0x14280 nfsidl nfsio 4455 440340 0 0 3 0x14280 nfsidl nfsio 27175 404388 55995 0 3 0x82 nanoslp syz-executor.6 78510 90586 55995 0 3 0x82 nanoslp syz-executor.1 28194 464320 55995 0 2 0x482 syz-executor.5 44764 437109 0 0 3 0x14200 acct acct 88702 340961 1 0 3 0x100083 ttyin getty 69926 224409 0 0 3 0x14200 bored sosplice 32451 190484 55995 0 2 0x482 syz-executor.3 27723 27554 55995 0 3 0x82 nanoslp syz-executor.2 38150 161627 55995 0 3 0x82 nanoslp syz-executor.0 55995 157932 87112 0 3 0x82 wait syz-fuzzer 55995 27559 87112 0 2 0x4000482 syz-fuzzer 55995 243256 87112 0 3 0x4000082 thrsleep syz-fuzzer 55995 297502 87112 0 3 0x4000082 wait syz-fuzzer 55995 31244 87112 0 3 0x4000082 thrsleep syz-fuzzer 55995 191399 87112 0 3 0x4000082 thrsleep syz-fuzzer 55995 245238 87112 0 3 0x4000082 wait syz-fuzzer 55995 206575 87112 0 3 0x4000082 wait syz-fuzzer 55995 5870 87112 0 3 0x4000082 thrsleep syz-fuzzer 55995 392274 87112 0 3 0x4000082 wait syz-fuzzer 55995 300378 87112 0 3 0x4000082 wait syz-fuzzer 55995 19226 87112 0 3 0x4000082 wait syz-fuzzer 55995 274047 87112 0 2 0x4000082 syz-fuzzer 55995 48417 87112 0 3 0x4000082 kqread syz-fuzzer 55995 26090 87112 0 3 0x4000082 wait syz-fuzzer 55995 2569 87112 0 3 0x4000082 thrsleep syz-fuzzer 87112 343922 63102 0 3 0x10008a sigsusp ksh 63102 238328 29548 0 3 0x9a kqread sshd 29548 289621 1 0 3 0x88 kqread sshd 5641 340179 64754 74 3 0x1100092 bpf pflogd 64754 170414 1 0 3 0x80 netio pflogd 53412 297369 55854 73 3 0x1100090 kqread syslogd 55854 45538 1 0 3 0x100082 netio syslogd 47381 451018 1 0 3 0x100080 kqread resolvd 54447 263255 83744 77 3 0x100092 kqread dhcpleased 84811 2106 83744 77 3 0x100092 kqread dhcpleased 83744 420664 1 0 3 0x80 kqread dhcpleased 96491 160521 0 0 2 0x40014200 smr 30670 209395 0 0 2 0x14200 zerothread 23190 140623 0 0 3 0x14200 aiodoned aiodoned 87141 168292 0 0 3 0x14200 syncer update 87199 282274 0 0 3 0x14200 cleaner cleaner 25666 222879 0 0 3 0x14200 reaper reaper 25246 140446 0 0 3 0x14200 pgdaemon pagedaemon 61295 122294 0 0 3 0x14200 bored viomb 15742 285944 0 0 3 0x40014200 acpi0 acpi0 80799 500384 0 0 3 0x40014200 idle1 96896 310263 0 0 3 0x14200 bored softnet 69326 417700 0 0 3 0x14200 bored softnet 58287 283867 0 0 2 0x14200 softnet 8828 26227 0 0 3 0x14200 bored softnet 7528 189305 0 0 3 0x14200 bored systqmp 27780 145085 0 0 3 0x14200 bored systq 32913 481562 0 0 2 0x40014200 softclock 64055 306173 0 0 3 0x40014200 idle0 1 502832 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 65992 (syz-executor.2) thread 0xffff800027be4fc0 (213314) exclusive rwlock vcpu r = 0 (0xffff800025f79bb0) #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 Process 6776 (syz-executor.6) thread 0xffff800021297508 (154402) shared rwlock vmmaplk r = 0 (0xfffffd806b819510) #0 witness_lock+0x44d #1 uvmfault_lookup+0xc9 sys/uvm/uvm_fault.c:1773 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 kpageflttrap+0x22e sys/arch/amd64/amd64/trap.c:277 #5 kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x53 #8 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10252 6755K 6950K 78643K 20347 0 pcb 13 12K 13K 78643K 626 0 rtable 211 11K 12K 78643K 913 0 ifaddr 109 21K 22K 78643K 368 0 sysctl 2 0K 0K 78643K 2 0 counters 58 35K 36K 78643K 188 0 ioctlops 0 0K 4K 78643K 1835 0 iov 0 0K 24K 78643K 548 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1443 90K 90K 78643K 4559 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 35 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 15 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 89K 78643K 4001 0 sigio 0 0K 0K 78643K 244 0 proc 76 103K 128K 78643K 982 0 subproc 104 6K 6K 78643K 237 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 116 0 in_multi 85 5K 7K 78643K 314 0 ether_multi 1 0K 0K 78643K 13 0 mrt 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 181 811K 811K 78643K 181 0 exec 0 0K 1K 78643K 969 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 376 317K 321K 78643K 29414 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 63 0 NDP 16 0K 2K 78643K 102 0 temp 137 4702K 5726K 78643K 34602 0 kqueue 14 20K 26K 78643K 299 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 214 0 211 3 2 1 3 0 8 0 rtentry 112 267 0 175 4 0 4 4 0 8 0 unpcb 144 8574 0 8494 48 45 3 8 0 8 0 syncache 296 17 0 17 5 4 1 1 0 8 1 tcpqe 32 558 0 558 2 2 0 1 0 8 0 tcpcb 776 1853 0 1849 54 46 8 8 0 8 7 arp 120 41 0 24 1 0 1 1 0 8 0 inpcb 368 3710 0 3699 63 56 7 13 0 8 6 nd6 48 62 0 40 1 0 1 1 0 8 0 pkpcb 40 47 0 47 3 3 0 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 ppxss 1256 27 0 27 7 6 1 1 0 8 1 pppxif 1704 13 0 13 4 3 1 1 0 8 1 pfstscr 40 74 0 72 1 0 1 1 0 8 0 pffrag 232 59 0 58 4 3 1 1 0 482 0 pffrnode 88 59 0 58 4 3 1 1 0 8 0 pffrent 40 125 0 124 5 4 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfanchor 1280 852 78 340 44 1 43 43 0 8 0 pfqueue 264 5 0 5 2 2 0 1 0 8 0 pfstitem 24 7 0 5 1 0 1 1 0 8 0 pfstkey 120 144 0 142 1 0 1 1 0 8 0 pfstate 384 72 0 71 1 0 1 1 0 8 0 art_heap8 4096 4 0 3 3 2 1 2 0 8 0 art_heap4 256 1208 0 831 32 3 29 30 0 8 1 art_table 32 1212 0 834 4 0 4 4 0 8 0 art_node 16 265 0 184 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 35 2 1 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6561 0 5096 92 0 92 92 0 8 0 ffsino 272 6561 0 5096 99 0 99 99 0 8 0 nchpl 144 12035 0 11542 63 39 24 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 43101 0 43101 3 2 1 2 0 8 1 percpumem 16 106 0 65 1 0 1 1 0 8 0 vcpupl 2048 50 0 0 7 0 7 7 0 8 0 vmpool 568 58 0 8 4 0 4 4 0 8 0 kstatmem 264 122 0 94 6 3 3 3 0 8 1 scsiplug 72 14 0 14 3 3 0 1 0 8 0 scxspl 216 34543 0 34543 18 17 1 8 0 8 1 plimitpl 152 536 0 520 1 0 1 1 0 8 0 sigapl 424 4360 0 4290 10 2 8 8 0 8 0 futexpl 64 34200 0 34196 1 0 1 1 0 8 0 knotepl 120 388 0 0 10 1 9 9 0 8 0 kqueuepl 216 795 0 721 17 12 5 5 0 8 0 pipepl 320 1647 0 1619 44 41 3 14 0 8 0 fdescpl 496 4281 0 4251 5 1 4 5 0 8 0 filepl 152 34445 0 34069 68 53 15 22 0 8 0 lockfpl 104 2139 0 2137 6 4 2 2 0 8 1 lockfspl 48 839 0 837 1 0 1 1 0 8 0 sessionpl 144 35 0 18 1 0 1 1 0 8 0 pgrppl 48 117 0 100 1 0 1 1 0 8 0 ucredpl 104 3421 0 3409 1 0 1 1 0 8 0 zombiepl 144 4291 0 4290 1 0 1 1 0 8 0 processpl 1064 4360 0 4290 5 0 5 5 0 8 0 procpl 672 11946 0 11851 13 4 9 10 0 8 0 srpgc 96 16 0 16 8 8 0 1 0 8 0 sosppl 168 26 0 25 4 3 1 1 0 8 0 sockpl 488 12552 0 12461 274 262 12 37 0 8 0 mcl64k 65536 22 0 0 3 1 2 3 0 8 0 mcl16k 16384 17 0 0 3 1 2 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 26 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 378 0 0 47 1 46 47 0 8 0 mtagpl 96 516 0 0 13 0 13 13 0 8 0 mbufpl 256 1387 0 0 82 0 82 82 0 8 0 bufpl 288 9959 0 3622 453 0 453 453 0 8 0 anonpl 24 913508 0 897027 195 73 122 145 0 186 0 amapchunkpl 152 82546 0 81749 57 22 35 39 0 158 0 amappl16 200 9927 0 9330 77 35 42 42 0 8 9 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 175 0 163 2 1 1 2 0 8 0 amappl13 176 14 0 14 4 4 0 1 0 8 0 amappl12 168 552 0 549 1 0 1 1 0 8 0 amappl11 160 56 0 40 1 0 1 1 0 8 0 amappl10 152 55 0 43 1 0 1 1 0 8 0 amappl9 144 990 0 988 1 0 1 1 0 8 0 amappl8 136 291 0 210 3 0 3 3 0 8 0 amappl7 128 80 0 60 1 0 1 1 0 8 0 amappl6 120 407 0 386 2 1 1 2 0 8 0 amappl5 112 148 0 137 1 0 1 1 0 8 0 amappl4 104 658 0 627 2 1 1 2 0 8 0 amappl3 96 12444 0 12380 2 0 2 2 0 8 0 amappl2 88 4765 0 4691 3 1 2 3 0 8 0 amappl1 80 99661 0 98869 23 5 18 22 0 8 0 amappl 88 28909 0 28678 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 4339 0 4259 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4339 0 4259 1 0 1 1 0 8 0 vmmpekpl 168 41176 0 41098 4 0 4 4 0 8 0 vmmpepl 168 397617 0 394631 233 67 166 166 0 357 30 vmsppl 368 4338 0 4259 8 0 8 8 0 8 0 rwobjpl 56 113808 0 105874 118 3 115 115 0 8 1 pdppl 4096 8685 0 8568 360 241 119 120 0 8 2 pvpl 32 1773422 0 1751063 360 153 207 277 0 265 2 pmappl 248 4338 0 4259 6 0 6 6 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1274 0 315 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002ca82b50) at vm_run+0x1cf sys/arch/amd64/amd64/vmm.c:4529 vmmioctl(a00,c0205602,ffff80002ca82b50,1,ffff800027be4fc0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:680 VOP_IOCTL(fffffd806e95a5f0,c0205602,ffff80002ca82b50,1,fffffd807f7d7750,ffff800027be4fc0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067c061d8,c0205602,ffff80002ca82b50,ffff800027be4fc0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800027be4fc0,ffff80002ca82c68,ffff80002ca82cb0) at sys_ioctl+0x4a2 syscall(ffff80002ca82d30) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002ca82d30) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x32debf032d0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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 __sanitizer_cov_trace_cmp8(1000,316000) at __sanitizer_cov_trace_cmp8+0x11 kd_curproc sys/dev/kcov.c:574 [inline] __sanitizer_cov_trace_cmp8(1000,316000) at __sanitizer_cov_trace_cmp8+0x11 sys/dev/kcov.c:207 uvm_map_lookup_entry(fffffd806b819468,316000,ffff80002ca97cc8) at uvm_map_lookup_entry+0x1af sys/uvm/uvm_map.c:1597 uvmfault_lookup(ffff80002ca97ca0,0) at uvmfault_lookup+0xda sys/uvm/uvm_fault.c:1773 uvm_fault_check(ffff80002ca97ca0,ffff80002ca97cd8,ffff80002ca97d00) at uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 uvm_fault(fffffd806b819468,316000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 kpageflttrap(ffff80002ca97e40,316be0) at kpageflttrap+0x22e sys/arch/amd64/amd64/trap.c:277 kerntrap(ffff80002ca97e40) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 syscall(ffff80002ca98290) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002ca98290) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37e2a5c0ee0, count: -14