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(ffff80002d5fcf00) at vm_run+0x169 vmmioctl(a00,c0205602,ffff80002d5fcf00,1,ffff80002a264d50) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806ed3d518,c0205602,ffff80002d5fcf00,1,fffffd807f7d7820,ffff80002a264d50) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8066b6d010,c0205602,ffff80002d5fcf00,ffff80002a264d50) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a264d50,ffff80002d5fd0e0,ffff80002d5fd030) at sys_ioctl+0x4a2 syscall(ffff80002d5fd0e0) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002d5fd0e0) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12d20980c60, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002bcb6e50 rbp 0xffff80002d5fcc50 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x254c0717c85071e5 r11 0xf22ba6cb0de80a17 r12 0xffffffff82cbeff0 cpu_info_full_primary+0x1ff0 r13 0xffffffff82cbeff0 cpu_info_full_primary+0x1ff0 r14 0xffff80002bcb6800 r15 0x246 rip 0xffffffff82075ecb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002d5fcab6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.1) tid=180691 pid=72312 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a264800,0xffffffff82e4a660 process=0xffff8000ffff0d68 user=0xffff80002d5f8000, vmspace=0xfffffd807abc4e18 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 72312 498390 32594 0 2 0 syz-executor.1 *72312 180691 32594 0 7 0x4000000 syz-executor.1 57270 499401 32861 0 2 0 syz-executor.2 57270 275174 32861 0 3 0x4000080 fsleep syz-executor.2 88771 364632 16775 0 2 0 syz-executor.4 88771 8045 16775 0 3 0x4000080 bell syz-executor.4 61223 259942 66132 0 3 0x80 nanoslp syz-executor.3 61223 27253 66132 0 3 0x4000080 fifor syz-executor.3 61223 438803 66132 0 3 0x4000080 fsleep syz-executor.3 72700 156342 94072 0 3 0x80 nanoslp syz-executor.5 72700 320410 94072 0 3 0x4000080 netio syz-executor.5 72700 182023 94072 0 3 0x4000080 fsleep syz-executor.5 32594 7618 79094 0 3 0x82 nanoslp syz-executor.1 32861 73777 79094 0 3 0x82 nanoslp syz-executor.2 94072 488683 79094 0 3 0x82 nanoslp syz-executor.5 16775 344069 79094 0 3 0x82 nanoslp syz-executor.4 26296 467894 79094 0 2 0x2 syz-executor.0 66132 262242 79094 0 3 0x82 nanoslp syz-executor.3 96201 161478 79094 0 3 0x82 nanoslp syz-executor.7 33900 475198 0 0 3 0x14280 nfsidl nfsio 92046 203602 0 0 3 0x14280 nfsidl nfsio 24320 162679 0 0 3 0x14280 nfsidl nfsio 2941 292504 0 0 3 0x14280 nfsidl nfsio 97763 50895 0 0 3 0x14280 nfsidl nfsio 84178 34812 0 0 3 0x14280 nfsidl nfsio 2411 374462 0 0 3 0x14280 nfsidl nfsio 69381 138907 0 0 3 0x14280 nfsidl nfsio 51011 275500 0 0 3 0x14280 nfsidl nfsio 12244 76331 0 0 3 0x14280 nfsidl nfsio 34111 32216 0 0 3 0x14280 nfsidl nfsio 33353 509447 0 0 3 0x14280 nfsidl nfsio 28808 196916 0 0 3 0x14280 nfsidl nfsio 30020 279825 0 0 3 0x14280 nfsidl nfsio 35527 272145 0 0 3 0x14280 nfsidl nfsio 95834 13068 0 0 3 0x14280 nfsidl nfsio 46240 484343 0 0 3 0x14280 nfsidl nfsio 24544 100770 0 0 3 0x14280 nfsidl nfsio 64828 323778 0 0 3 0x14280 nfsidl nfsio 22954 139981 0 0 3 0x14280 nfsidl nfsio 21115 320863 79094 0 2 0x2 syz-executor.6 63414 168931 0 0 3 0x14200 bored sosplice 61084 441549 97897 0 3 0x100082 netio arp 97897 82938 1 0 3 0x10008a sigsusp sh 79094 494928 84600 0 3 0x2000082 thrsleep syz-fuzzer 79094 489666 84600 0 2 0x6000002 syz-fuzzer 79094 271377 84600 0 3 0x6000082 wait syz-fuzzer 79094 127082 84600 0 3 0x6000082 thrsleep syz-fuzzer 79094 332048 84600 0 3 0x6000082 wait syz-fuzzer 79094 507731 84600 0 3 0x6000082 wait syz-fuzzer 79094 517076 84600 0 2 0x6000002 syz-fuzzer 79094 270826 84600 0 3 0x6000082 thrsleep syz-fuzzer 79094 71530 84600 0 3 0x6000082 thrsleep syz-fuzzer 79094 61553 84600 0 3 0x6000082 wait syz-fuzzer 79094 55278 84600 0 3 0x6000082 thrsleep syz-fuzzer 79094 343815 84600 0 3 0x6000082 wait syz-fuzzer 79094 44379 84600 0 3 0x6000082 wait syz-fuzzer 79094 318722 84600 0 3 0x6000082 kqread syz-fuzzer 79094 147618 84600 0 3 0x6000082 wait syz-fuzzer 79094 143429 84600 0 3 0x6000082 wait syz-fuzzer 84600 405004 87553 0 3 0x10008a sigsusp ksh 87553 444724 58509 0 3 0x9a kqread sshd 89591 66038 1 0 3 0x100083 ttyin getty 58509 75118 1 0 3 0x88 kqread sshd 7410 61960 87414 74 3 0x1100092 bpf pflogd 87414 469757 1 0 3 0x80 netio pflogd 18848 415623 64998 73 3 0x1100090 kqread syslogd 64998 434642 1 0 3 0x100082 netio syslogd 42915 106868 1 0 3 0x100080 kqread resolvd 32791 234685 26048 77 3 0x100092 kqread dhcpleased 36105 40298 26048 77 3 0x100092 kqread dhcpleased 26048 304445 1 0 3 0x80 kqread dhcpleased 98130 134790 0 0 3 0x14200 bored smr 75424 286112 0 0 2 0x14200 zerothread 32772 120592 0 0 3 0x14200 aiodoned aiodoned 59578 17451 0 0 3 0x14200 syncer update 99554 268586 0 0 3 0x14200 cleaner cleaner 68857 184260 0 0 3 0x14200 reaper reaper 28119 108968 0 0 3 0x14200 pgdaemon pagedaemon 18850 138325 0 0 3 0x14200 bored viomb 21404 223747 0 0 3 0x40014200 acpi0 acpi0 17165 429784 0 0 7 0x40014200 idle1 49881 273143 0 0 3 0x14200 bored softnet3 47778 33957 0 0 3 0x14200 bored softnet2 61971 137547 0 0 3 0x14200 bored softnet1 91784 406380 0 0 3 0x14200 bored softnet0 70853 350785 0 0 3 0x14200 bored systqmp 43876 125284 0 0 3 0x14200 bored systq 54045 328792 0 0 3 0x14200 tmoslp softclockmp 44117 501782 0 0 3 0x40014200 tmoslp softclock 13353 147313 0 0 3 0x40014200 idle0 1 461584 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 72312 (syz-executor.1) thread 0xffff80002a264d50 (180691) exclusive rwlock vcpu r = 0 (0xffff80002bcb6bb8) #0 witness_lock+0x447 #1 vm_run+0x77 sys/arch/amd64/amd64/vmm_machdep.c:3667 #2 vmmioctl+0x2a1 sys/dev/vmm/vmm.c:242 #3 VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 #5 sys_ioctl+0x4a2 #6 syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] #6 syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10225 6498K 14759K 166960K 52662 0 pcb 15 18K 20K 166960K 851 0 rtable 204 14K 17K 166960K 1817 0 pf 37 10K 11K 166960K 231 0 ifaddr 41 15K 16K 166960K 233 0 ifgroup 64 2K 3K 166960K 373 0 sysctl 4 1K 1K 166960K 4 0 counters 68 36K 37K 166960K 244 0 ioctlops 0 0K 4K 166960K 2242 0 iov 0 0K 34K 166960K 1627 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1476 92K 92K 166960K 12291 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 149 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 1829 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 77K 166960K 15276 0 sigio 1 0K 0K 166960K 371 0 proc 72 91K 127K 166960K 1804 0 subproc 117 7K 7K 166960K 515 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 663 0 in_multi 77 5K 7K 166960K 506 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 2428 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 543 597K 598K 166960K 145903 0 UVM aobj 131 6K 6K 166960K 134 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 445 0 NDP 16 0K 1K 166960K 175 0 temp 74 6708K 6836K 166960K 85035 0 kqueue 12 18K 29K 166960K 1052 0 SYN cache 2 36K 44K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 1316 0 1312 18 17 1 4 0 8 0 rtentry 112 483 0 394 4 0 4 4 0 8 0 unpcb 144 9957 0 9936 99 98 1 6 0 8 0 syncache 320 85 0 85 21 21 0 1 0 8 0 tcpqe 32 275 0 275 15 15 0 1 0 8 0 tcpcb 808 4014 0 4007 134 126 8 15 0 8 6 arp 120 94 0 79 1 0 1 1 0 8 0 inpcb 376 9769 0 9756 194 186 8 16 0 8 5 nd6 136 113 0 95 1 0 1 1 0 8 0 pkpcb 40 24 0 24 6 6 0 1 0 8 0 kcovpl 48 37 0 28 1 0 1 1 0 8 0 ppxss 1168 25 0 25 7 7 0 1 0 8 0 pffrag 232 94 0 93 6 5 1 1 0 482 0 pffrnode 88 94 0 93 6 5 1 1 0 8 0 pffrent 40 260 0 259 6 5 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 pfstitem 24 429 0 403 1 0 1 1 0 8 0 pfstkey 128 435 0 409 2 1 1 2 0 8 0 pfstate 376 435 0 409 16 11 5 10 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 5 0 4 4 3 1 3 0 8 0 art_heap4 256 1858 0 1483 43 19 24 31 0 8 0 art_table 32 1863 0 1487 5 1 4 5 0 8 0 art_node 16 478 0 397 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 2 1 1 1 0 8 0 semapl 112 1824 0 1814 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 21779 0 20309 93 0 93 93 0 8 0 ffsino 272 21779 0 20309 99 0 99 99 0 8 0 nchpl 144 42044 0 40385 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 135973 0 135973 11 10 1 2 0 8 1 percpumem 16 136 0 88 1 0 1 1 0 8 0 vcpupl 2048 251 0 0 32 0 32 32 0 8 0 vmpool 696 285 0 34 26 3 23 23 0 8 0 kstatmem 264 204 0 176 5 2 3 3 0 8 0 scxspl 216 132309 0 132309 22 21 1 8 1 8 1 plimitpl 152 1286 0 1269 1 0 1 1 0 8 0 sigapl 424 15557 0 15487 9 0 9 9 0 8 0 futexpl 64 124076 0 124073 2 1 1 1 0 8 0 knotepl 120 1135 0 0 18 0 18 18 0 8 0 kqueuepl 216 2549 0 2540 47 46 1 6 0 8 0 pipepl 320 2404 0 2373 65 59 6 11 0 8 3 fdescpl 496 15513 0 15482 5 0 5 5 0 8 0 filepl 152 84627 0 84356 167 152 15 21 0 8 3 lockfpl 104 2898 0 2896 3 2 1 2 0 8 0 lockfspl 48 1050 0 1048 1 0 1 1 0 8 0 sessionpl 144 53 0 35 1 0 1 1 0 8 0 pgrppl 48 197 0 179 1 0 1 1 0 8 0 ucredpl 104 8938 0 8926 1 0 1 1 0 8 0 zombiepl 144 15488 0 15487 2 1 1 1 0 8 0 processpl 1136 15557 0 15487 6 0 6 6 0 8 0 procpl 680 39495 0 39403 15 6 9 10 0 8 0 srpgc 96 60 0 60 16 15 1 1 0 8 1 sosppl 168 181 0 181 18 17 1 1 0 8 1 sockpl 584 21087 0 21051 209 201 8 20 0 8 5 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 512 0 0 42 14 28 42 0 8 0 mtagpl 96 1648 0 0 40 0 40 40 0 8 0 mbufpl 256 3266 0 0 184 0 184 184 0 8 0 bufpl 280 26430 0 20112 452 0 452 452 0 8 0 anonpl 24 1528443 0 1515765 218 111 107 117 0 186 1 amapchunkpl 152 460626 0 459675 74 31 43 52 0 158 0 amappl16 200 32992 0 32544 176 149 27 37 0 8 0 amappl15 192 19 0 19 4 4 0 1 0 8 0 amappl14 184 256 0 236 7 5 2 2 0 8 0 amappl13 176 109 0 107 1 0 1 1 0 8 0 amappl12 168 16628 0 16587 3 1 2 2 0 8 0 amappl11 160 59 0 44 1 0 1 1 0 8 0 amappl10 152 96 0 83 1 0 1 1 0 8 0 amappl9 144 291 0 291 16 16 0 1 0 8 0 amappl8 136 657 0 509 6 0 6 6 0 8 0 amappl7 128 287 0 258 2 0 2 2 0 8 0 amappl6 120 793 0 773 1 0 1 1 0 8 0 amappl5 112 362 0 350 1 0 1 1 0 8 0 amappl4 104 869 0 827 2 0 2 2 0 8 0 amappl3 96 90461 0 90358 10 6 4 4 0 8 0 amappl2 88 16539 0 16452 8 6 2 3 0 8 0 amappl1 80 65916 0 65328 23 9 14 23 0 8 0 amappl 88 144745 0 144450 9 1 8 8 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 15798 0 15516 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 15798 0 15516 2 0 2 2 0 8 0 vmmpekpl 168 103225 0 103120 5 0 5 5 0 8 0 vmmpepl 168 911806 0 908814 477 316 161 161 0 357 22 vmsppl 448 15797 0 15516 33 1 32 32 0 8 0 rwobjpl 56 221450 0 213626 124 10 114 114 0 8 0 pdppl 4096 31603 0 31283 866 542 324 324 0 8 4 pvpl 32 45476 0 0 367 0 367 367 0 265 0 pmappl 248 15797 0 15516 18 0 18 18 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1789 0 931 26 1 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002d5fcf00) at vm_run+0x169 vmmioctl(a00,c0205602,ffff80002d5fcf00,1,ffff80002a264d50) at vmmioctl+0x2a1 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806ed3d518,c0205602,ffff80002d5fcf00,1,fffffd807f7d7820,ffff80002a264d50) at VOP_IOCTL+0x97 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8066b6d010,c0205602,ffff80002d5fcf00,ffff80002a264d50) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a264d50,ffff80002d5fd0e0,ffff80002d5fd030) at sys_ioctl+0x4a2 syscall(ffff80002d5fd0e0) at syscall+0x5ae mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002d5fd0e0) at syscall+0x5ae sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12d20980c60, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029cfbff0) at x86_ipi_db+0x1e 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+0x27 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cfbff0) at sched_idle+0x41e sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5