€ ‡d€ ‡d UÀ € À ÍÀ € ‡dkernel: 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(ffff80002e575380) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff80002e575380,1,ffff80002130c550) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806ea1de60,c0205602,ffff80002e575380,1,fffffd807f7d75b0,ffff80002130c550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806799e1c8,c0205602,ffff80002e575380,ffff80002130c550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002130c550,ffff80002e575498,ffff80002e5754e0) at sys_ioctl+0x4a2 syscall(ffff80002e575560) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e575560) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3a1bd53d90, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800027bdde48 rbp 0xffff80002e5750d0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x4000000000000 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x11bdc62c2f801d33 r11 0xb345aa44e32537a0 r12 0xffff800027bddba0 r13 0xffffffff8297eff0 cpu_info_full_primary+0x1ff0 r14 0xffff800027bdd800 r15 0xffff80002e575380 rip 0xffffffff812ec940 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e574f26 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.3) pid=395194 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff80002130da50,0xffffffff82a5e190 process=0xffff8000ffff2dd0 user=0xffff80002e570000, vmspace=0xfffffd807c822190 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61002 85720 64987 0 2 0 syz-executor.3 *61002 395194 64987 0 7 0x4000000 syz-executor.3 25976 144257 57333 0 2 0 syz-executor.6 25976 76321 57333 0 3 0x4000080 fsleep syz-executor.6 57781 93925 24917 0 2 0 syz-executor.7 57781 250153 24917 0 3 0x4000080 fsleep syz-executor.7 86018 283173 23017 0 2 0 syz-executor.2 86018 20192 23017 0 3 0x4000080 fsleep syz-executor.2 24830 183896 99580 0 2 0 syz-executor.1 24830 9699 99580 0 3 0x4000080 fsleep syz-executor.1 75124 398898 24230 60928 2 0x10 syz-executor.5 75124 25536 24230 60928 3 0x4000090 fsleep syz-executor.5 75124 507040 24230 60928 3 0x4000090 fsleep syz-executor.5 75124 182443 24230 60928 3 0x4000090 fsleep syz-executor.5 35283 43578 54601 0 2 0 syz-executor.4 35283 299402 54601 0 3 0x4000080 fsleep syz-executor.4 74898 120360 35196 0 2 0 syz-executor.0 74898 100567 35196 0 3 0x4000080 fsleep syz-executor.0 74898 498140 35196 0 3 0x4000080 fsleep syz-executor.0 23017 336385 1326 0 3 0x82 nanoslp syz-executor.2 35196 120288 1326 0 3 0x82 nanoslp syz-executor.0 24917 274872 1326 0 3 0x82 nanoslp syz-executor.7 24230 234885 1326 0 3 0x82 nanoslp syz-executor.5 54601 430050 1326 0 3 0x82 nanoslp syz-executor.4 99580 382027 1326 0 3 0x82 nanoslp syz-executor.1 64987 271542 1326 0 3 0x82 nanoslp syz-executor.3 57333 387906 1326 0 3 0x82 nanoslp syz-executor.6 62570 93480 0 0 3 0x14280 nfsidl nfsio 61549 19205 0 0 3 0x14280 nfsidl nfsio 266 276228 0 0 3 0x14280 nfsidl nfsio 92287 128473 0 0 3 0x14280 nfsidl nfsio 28996 57143 0 0 3 0x14280 nfsidl nfsio 2909 135798 0 0 3 0x14280 nfsidl nfsio 46618 427629 0 0 3 0x14280 nfsidl nfsio 31836 394520 0 0 3 0x14280 nfsidl nfsio 5333 427514 0 0 3 0x14280 nfsidl nfsio 77071 316166 0 0 3 0x14280 nfsidl nfsio 90849 365019 0 0 3 0x14280 nfsidl nfsio 70960 55816 0 0 3 0x14280 nfsidl nfsio 2744 464656 0 0 3 0x14280 nfsidl nfsio 87419 236184 0 0 3 0x14280 nfsidl nfsio 22477 372389 0 0 3 0x14280 nfsidl nfsio 55219 514877 0 0 3 0x14280 nfsidl nfsio 49033 513167 0 0 3 0x14280 nfsidl nfsio 96110 205211 0 0 3 0x14280 nfsidl nfsio 71245 463771 0 0 3 0x14280 nfsidl nfsio 33888 269732 0 0 3 0x14280 nfsidl nfsio 7684 420656 0 0 3 0x14200 bored sosplice 1326 108912 85484 0 3 0x82 thrsleep syz-fuzzer 1326 210120 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 239580 85484 0 3 0x4000082 wait syz-fuzzer 1326 268560 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 198973 85484 0 3 0x4000082 wait syz-fuzzer 1326 219307 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 110434 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 229755 85484 0 3 0x4000082 wait syz-fuzzer 1326 20392 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 230841 85484 0 3 0x4000082 wait syz-fuzzer 1326 375467 85484 0 3 0x4000082 kqread syz-fuzzer 1326 461927 85484 0 3 0x4000082 wait syz-fuzzer 1326 190493 85484 0 3 0x4000082 thrsleep syz-fuzzer 1326 431898 85484 0 3 0x4000082 wait syz-fuzzer 1326 111029 85484 0 3 0x4000082 wait syz-fuzzer 1326 355849 85484 0 3 0x4000082 wait syz-fuzzer 85484 154267 80023 0 3 0x10008a sigsusp ksh 80023 465637 93647 0 3 0x9a kqread sshd 55237 123216 1 0 3 0x100083 ttyopn getty 93647 517547 1 0 3 0x88 kqread sshd 85797 7715 15341 74 3 0x1100092 bpf pflogd 15341 20673 1 0 3 0x80 netio pflogd 56486 234318 29013 73 3 0x1100090 kqread syslogd 29013 166291 1 0 3 0x100082 netio syslogd 21209 473296 1 0 3 0x100080 kqread resolvd 58459 347848 29991 77 3 0x100092 kqread dhcpleased 62036 133126 29991 77 3 0x100092 kqread dhcpleased 29991 197699 1 0 3 0x80 kqread dhcpleased 59174 140968 0 0 3 0x14200 bored smr 31256 388224 0 0 2 0x14200 zerothread 13837 25725 0 0 3 0x14200 aiodoned aiodoned 26459 399699 0 0 3 0x14200 syncer update 11360 65340 0 0 3 0x14200 cleaner cleaner 59749 306924 0 0 3 0x14200 reaper reaper 19170 85631 0 0 3 0x14200 pgdaemon pagedaemon 31204 351614 0 0 3 0x14200 bored viomb 86094 114091 0 0 3 0x40014200 acpi0 acpi0 90146 397025 0 0 7 0x40014200 idle1 70844 240450 0 0 3 0x14200 bored softnet 87370 378316 0 0 3 0x14200 bored softnet 92623 234094 0 0 3 0x14200 bored softnet 98656 399290 0 0 3 0x14200 bored softnet 11342 292389 0 0 3 0x14200 bored systqmp 37720 507217 0 0 3 0x14200 bored systq 65189 368388 0 0 3 0x40014200 bored softclock 32241 388711 0 0 3 0x40014200 idle0 1 479561 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 61002 (syz-executor.3) thread 0xffff80002130c550 (395194) exclusive rwlock vcpu r = 0 (0xffff800027bddbb0) #0 witness_lock+0x44d #1 vm_run+0x100 sys/arch/amd64/amd64/vmm.c:4538 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 #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+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10239 6575K 10584K 78643K 150303 0 pcb 13 22K 30K 78643K 8399 0 rtable 243 19K 20K 78643K 9770 0 ifaddr 131 34K 36K 78643K 1785 0 sysctl 3 1K 2K 78643K 714 0 counters 56 35K 36K 78643K 812 0 ioctlops 0 0K 4K 78643K 9314 0 iov 0 0K 25K 78643K 2260 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1434 90K 90K 78643K 34760 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 317 0 VM map 2 1K 1K 78643K 2 0 sem 18 10K 20K 78643K 1308 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 81K 78643K 41301 0 sigio 1 0K 0K 78643K 771 0 proc 70 91K 115K 78643K 3254 0 subproc 104 6K 6K 78643K 1008 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2387 0 in_multi 96 6K 6K 78643K 3043 0 ether_multi 2 0K 0K 78643K 299 0 mrt 4 0K 0K 78643K 1693 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 211 943K 943K 78643K 211 0 exec 0 0K 1K 78643K 3174 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 583 880K 880K 78643K 256436 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 1965 0 NDP 17 0K 1K 78643K 752 0 temp 141 4734K 38526K 78643K 201085 0 kqueue 12 18K 28K 78643K 2675 0 SYN cache 2 136K 144K 78643K 3 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 2009 0 2006 21 20 1 4 0 8 0 rtentry 112 3885 0 3786 6 3 3 4 0 8 0 unpcb 144 9845 0 9830 133 132 1 10 0 8 0 syncache 296 43 0 43 12 12 0 1 0 8 0 tcpqe 32 7 104 7 3 3 0 1 0 8 0 tcpcb 768 6178 0 6173 199 190 9 15 0 8 7 arp 120 179 0 161 1 0 1 1 0 8 0 inpcb 368 33939 0 33931 371 364 7 19 0 8 6 ip6q 72 5 0 5 1 1 0 1 0 8 0 ip6af 40 10 0 10 1 1 0 1 0 8 0 nd6 48 576 0 552 1 0 1 1 0 8 0 pkpcb 40 57 0 57 6 6 0 1 0 8 0 kcovpl 48 77 0 69 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1256 247 0 247 34 33 1 1 0 8 1 pppxif 1704 91 0 91 9 9 0 1 0 8 0 pfstscr 40 40 0 39 1 0 1 1 0 8 0 pffrag 232 2030 0 2030 8 8 0 3 0 482 0 pffrnode 88 484 0 484 6 6 0 1 0 8 0 pffrent 40 4289 0 4289 6 6 0 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 pfrktable 1344 7 0 2 1 0 1 1 0 8 0 pfanchor 1280 9 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 564 0 543 1 0 1 1 0 8 0 pfstkey 120 642 0 621 2 0 2 2 0 8 0 pfstate 336 602 0 582 10 6 4 4 0 8 0 pfrule 1360 37 0 30 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 10 0 9 8 7 1 2 0 8 0 art_heap4 256 12124 0 11689 65 37 28 33 0 8 0 art_table 32 12134 0 11698 7 3 4 5 0 8 0 art_node 16 2755 0 2668 1 0 1 1 0 8 0 semapl 112 1301 0 1285 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 47758 0 46239 96 0 96 96 0 8 0 ffsino 272 47758 0 46239 102 0 102 102 0 8 0 nchpl 144 96059 0 95498 63 40 23 63 0 8 0 rtmask 32 16 0 16 6 6 0 1 0 8 0 uvmvnodes 80 6242 0 0 128 0 128 128 0 8 0 vnodes 216 6242 0 0 347 0 347 347 0 8 0 namei 1024 317623 0 317623 9 8 1 2 0 8 1 percpumem 16 418 0 378 1 0 1 1 0 8 0 vcpupl 2048 216 0 0 27 0 27 27 0 8 0 vmpool 568 300 0 84 17 1 16 16 0 8 0 pfiaddrpl 120 4 0 0 1 0 1 1 0 8 0 kstatmem 264 532 0 502 7 4 3 3 0 8 0 scsiplug 72 15 0 15 4 4 0 1 0 8 0 scxspl 216 284049 0 284049 17 16 1 8 0 8 1 plimitpl 152 4566 0 4549 1 0 1 1 0 8 0 sigapl 424 41517 0 41448 11 3 8 8 0 8 0 futexpl 64 363882 0 363872 5 4 1 1 0 8 0 knotepl 120 1557 0 0 12 1 11 11 0 8 0 kqueuepl 216 12736 0 12726 196 191 5 8 0 8 4 pipepl 320 4626 0 4598 145 142 3 8 0 8 0 fdescpl 496 41451 0 41420 6 2 4 5 0 8 0 filepl 152 217786 0 217541 289 276 13 22 0 8 3 lockfpl 104 4423 0 4421 6 5 1 2 0 8 0 lockfspl 48 1526 0 1524 1 0 1 1 0 8 0 sessionpl 144 93 0 76 1 0 1 1 0 8 0 pgrppl 48 291 0 274 1 0 1 1 0 8 0 ucredpl 104 20190 0 20175 1 0 1 1 0 8 0 zombiepl 144 41448 0 41448 3 2 1 1 0 8 1 processpl 1064 41517 0 41448 6 1 5 5 0 8 0 procpl 672 98994 0 98899 48 39 9 10 0 8 1 srpgc 96 95 0 95 20 20 0 1 0 8 0 sosppl 168 107 0 107 20 20 0 1 0 8 0 sockpl 488 45927 0 45901 786 774 12 43 0 8 8 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 784 0 0 54 26 28 54 0 8 0 mtagpl 96 2515 0 0 38 0 38 38 0 8 0 mbufpl 256 3197 0 0 117 0 117 117 0 8 0 bufpl 288 52693 0 46359 453 0 453 453 0 8 0 anonpl 24 7197957 0 7181934 515 379 136 184 0 186 12 amapchunkpl 152 729835 0 729048 165 131 34 62 0 158 0 amappl16 200 59035 0 58445 259 218 41 47 0 8 8 amappl14 184 351 0 337 2 1 1 2 0 8 0 amappl13 176 6 0 6 2 2 0 1 0 8 0 amappl12 168 1241 0 1235 1 0 1 1 0 8 0 amappl11 160 47 0 33 1 0 1 1 0 8 0 amappl10 152 105 0 90 1 0 1 1 0 8 0 amappl9 144 1116 0 1115 1 0 1 1 0 8 0 amappl8 136 1316 0 1136 7 0 7 7 0 8 0 amappl7 128 116 0 97 1 0 1 1 0 8 0 amappl6 120 1185 0 1158 2 1 1 2 0 8 0 amappl5 112 513 0 502 1 0 1 1 0 8 0 amappl4 104 1481 0 1443 6 4 2 2 0 8 0 amappl3 96 115811 0 115748 2 0 2 2 0 8 0 amappl2 88 43109 0 43022 3 1 2 3 0 8 0 amappl1 80 923949 0 923126 32 14 18 22 0 8 0 amappl 88 254861 0 254575 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 41751 0 41504 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 41751 0 41504 2 0 2 2 0 8 0 vmmpekpl 168 243269 0 243190 5 1 4 4 0 8 0 vmmpepl 168 3656693 0 3653139 506 337 169 190 0 357 10 vmsppl 368 41750 0 41504 25 2 23 23 0 8 0 rwobjpl 56 917089 0 908692 157 35 122 123 0 8 2 pdppl 4096 83509 0 83224 1383 1098 285 285 0 8 0 pvpl 32 14410958 0 14388434 922 688 234 325 0 265 18 pmappl 248 41750 0 41504 18 2 16 16 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2770 0 1585 34 0 34 34 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e575380) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff80002e575380,1,ffff80002130c550) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806ea1de60,c0205602,ffff80002e575380,1,fffffd807f7d75b0,ffff80002130c550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806799e1c8,c0205602,ffff80002e575380,ffff80002130c550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002130c550,ffff80002e575498,ffff80002e5754e0) at sys_ioctl+0x4a2 syscall(ffff80002e575560) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e575560) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3a1bd53d90, 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175 end trace frame: 0x0, count: -5