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(ffff800022d37520) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800022d37520,1,ffff800027b00d30) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806ea82050,c0205602,ffff800022d37520,1,fffffd807f7d7600,ffff800027b00d30) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8061d330a0,c0205602,ffff800022d37520,ffff800027b00d30) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800027b00d30,ffff800022d37638,ffff800022d37690) at sys_ioctl+0x4a2 syscall(ffff800022d37700) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022d37700) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbc0e220e2b0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800022c72e38 rbp 0xffff800022d37290 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffe r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x1f398db4970562ef r11 0xa78941aa14cad32 r12 0xffffffff828088e0 dt_prov_static r13 0x246 r14 0xffff800022c72800 r15 0xffff800022d37520 rip 0xffffffff818f4410 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800022d370e6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.3) pid=326008 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800027b01510,0xffff800027b017c0 process=0xffff800022c69d30 user=0xffff800022d32000, vmspace=0xfffffd806914e8c8 estcpu=33, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85356 83907 83809 0 2 0 syz-executor.0 30256 481681 72421 0 2 0 syz-executor.2 30256 197368 72421 0 3 0x4000080 fsleep syz-executor.2 80964 308573 97709 0 2 0 syz-executor.3 *80964 326008 97709 0 7 0x4000000 syz-executor.3 30722 112078 60961 0 2 0 syz-executor.1 30722 204497 60961 0 2 0x4000000 syz-executor.1 30722 269825 60961 0 3 0x4000080 fsleep syz-executor.1 30722 61296 60961 0 3 0x4000080 fsleep syz-executor.1 83809 130600 40441 0 3 0x82 nanoslp syz-executor.0 72421 127035 40441 0 3 0x82 nanoslp syz-executor.2 97709 51074 40441 0 3 0x82 nanoslp syz-executor.3 60961 49277 40441 0 3 0x82 nanoslp syz-executor.1 46768 323767 1 0 3 0x100083 ttyin getty 97843 97532 0 0 3 0x14200 acct acct 39884 494387 0 0 3 0x14200 bored sosplice 40441 494679 16959 0 3 0x82 thrsleep syz-fuzzer 40441 520430 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 431862 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 310290 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 72950 16959 0 3 0x4000082 kqread syz-fuzzer 40441 406967 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 179221 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 21674 16959 0 3 0x4000082 thrsleep syz-fuzzer 40441 496509 16959 0 3 0x4000082 thrsleep syz-fuzzer 16959 229608 28147 0 3 0x10008a sigsusp ksh 28147 64613 52413 0 3 0x9a poll sshd 52413 44579 1 0 3 0x88 poll sshd 65740 211562 26894 74 3 0x100092 bpf pflogd 26894 66410 1 0 3 0x80 netio pflogd 20309 463559 64708 73 3 0x100090 kqread syslogd 64708 85859 1 0 3 0x100082 netio syslogd 39817 200116 1 0 3 0x100080 kqread resolvd 53107 458726 22452 77 3 0x100092 kqread dhcpleased 81775 234533 22452 77 3 0x100092 kqread dhcpleased 22452 252665 1 0 3 0x80 kqread dhcpleased 76350 212644 0 0 3 0x14200 bored smr 50977 348659 0 0 2 0x14200 zerothread 73536 343861 0 0 3 0x14200 aiodoned aiodoned 70852 161808 0 0 3 0x14200 syncer update 32183 181328 0 0 3 0x14200 cleaner cleaner 59390 477877 0 0 3 0x14200 reaper reaper 36120 173699 0 0 3 0x14200 pgdaemon pagedaemon 57710 500398 0 0 3 0x14200 bored viomb 34030 38602 0 0 3 0x40014200 acpi0 acpi0 12621 404331 0 0 7 0x40014200 idle1 99212 198773 0 0 3 0x14200 bored softnet 47184 160304 0 0 3 0x14200 bored systqmp 57632 348246 0 0 3 0x14200 bored systq 75138 209880 0 0 3 0x40014200 bored softclock 70147 127995 0 0 3 0x40014200 idle0 1 419673 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 80964 (syz-executor.3) thread 0xffff800027b00d30 (326008) exclusive rwlock vcpu r = 0 (0xffff800022c72bb0) #0 witness_lock+0x44d #1 vm_run+0x2e0 sys/arch/amd64/amd64/vmm.c:4262 #2 vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #5 sys_ioctl+0x4a2 #6 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10206 6488K 7473K 78643K 60567 0 pcb 14 18K 20K 78643K 2124 0 rtable 179 20K 23K 78643K 3819 0 ifaddr 84 21K 22K 78643K 1121 0 sysctl 2 0K 0K 78643K 2 0 counters 50 34K 34K 78643K 352 0 ioctlops 0 0K 4K 78643K 3738 0 iov 0 0K 28K 78643K 2705 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1522 96K 96K 78643K 13596 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 136 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 931 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 10 33K 49K 78643K 11778 0 sigio 0 0K 0K 78643K 288 0 proc 72 87K 112K 78643K 2577 0 subproc 52 3K 4K 78643K 848 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 1 0K 0K 78643K 668 0 in_multi 53 3K 3K 78643K 1150 0 ether_multi 2 0K 0K 78643K 173 0 mrt 1 0K 0K 78643K 45 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 247 1102K 1102K 78643K 247 0 exec 0 0K 2K 78643K 3098 0 pfkey data 0 0K 0K 78643K 3 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 7 26K 26K 78643K 7 0 UVM amap 454 735K 735K 78643K 142693 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 2 0K 0K 78643K 657 0 NDP 11 0K 1K 78643K 309 0 temp 117 4214K 4288K 78643K 97146 0 kqueue 10 14K 22K 78643K 568 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 823 0 820 13 12 1 3 0 8 0 rtentry 112 954 0 896 2 0 2 2 0 8 0 unpcb 136 6853 0 6838 74 73 1 8 0 8 0 syncache 296 56 0 56 19 19 0 1 0 8 0 tcpqe 32 55 0 55 4 4 0 1 0 8 0 tcpcb 736 4285 0 4277 169 168 1 19 0 8 0 arp 120 178 0 168 1 0 1 1 0 8 0 inpcb 304 11253 0 11244 174 173 1 14 0 8 0 rttmr 72 5 0 5 2 2 0 1 0 8 0 nd6 48 220 0 210 1 0 1 1 0 8 0 pkpcb 40 53 0 53 9 9 0 1 0 8 0 kcovpl 48 65 0 61 1 0 1 1 0 8 0 ppxss 1248 38 0 38 10 10 0 1 0 8 0 pfstscr 40 175 0 175 10 10 0 1 0 8 0 pffrag 232 40 0 39 5 4 1 1 0 482 0 pffrnode 88 40 0 39 5 4 1 1 0 8 0 pffrent 40 639 0 638 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 pfrktable 1344 396 0 383 13 11 2 2 0 8 0 pftag 88 19 0 15 1 0 1 1 0 8 0 pfqueue 264 150 0 82 6 1 5 5 0 8 0 pfstitem 24 124 0 122 1 0 1 1 0 8 0 pfstkey 112 387 0 385 2 1 1 2 0 8 0 pfstate 320 250 0 248 6 5 1 5 0 8 0 pfrule 1360 898 0 831 7 1 6 6 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3609 0 3351 33 15 18 19 0 8 0 art_table 32 3610 0 3351 3 0 3 3 0 8 0 art_node 16 952 0 903 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 928 0 918 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 16779 0 15344 91 0 91 91 0 8 0 ffsino 272 16779 0 15344 97 0 97 97 0 8 0 nchpl 144 32527 0 30933 61 0 61 61 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 123671 0 123671 2 1 1 1 0 8 1 percpumem 16 188 0 151 1 0 1 1 0 8 0 vcpupl 2048 176 0 0 22 0 22 22 0 8 0 vmpool 560 209 0 33 14 1 13 13 0 8 0 pfiaddrpl 120 98 0 78 4 3 1 1 0 8 0 scsiplug 72 9 0 9 3 3 0 1 0 8 0 scxspl 216 93767 0 93767 16 15 1 8 0 8 1 plimitpl 152 1453 0 1442 1 0 1 1 0 8 0 sigapl 424 11887 0 11848 7 0 7 7 0 8 0 futexpl 64 115745 0 115742 4 3 1 1 0 8 0 knotepl 112 160 0 0 4 0 4 4 0 8 0 kqueuepl 216 2862 0 2856 55 54 1 5 0 8 0 pipepl 336 2069 0 2053 56 49 7 7 0 8 5 fdescpl 496 11831 0 11808 9 6 3 4 0 8 0 filepl 152 84559 0 84405 134 123 11 16 0 8 5 lockfpl 104 6658 0 6656 17 15 2 2 0 8 1 lockfspl 48 1548 0 1546 1 0 1 1 0 8 0 sessionpl 144 84 0 71 1 0 1 1 0 8 0 pgrppl 48 138 0 125 1 0 1 1 0 8 0 ucredpl 96 10680 0 10663 1 0 1 1 0 8 0 zombiepl 144 11848 0 11848 1 0 1 1 0 8 1 processpl 1064 11887 0 11848 7 3 4 5 0 8 0 procpl 672 30120 0 30068 27 20 7 8 0 8 0 srpgc 96 91 0 91 21 21 0 1 0 8 0 sosppl 168 75 0 75 16 16 0 1 0 8 0 sockpl 480 19068 0 19041 444 439 5 28 0 8 1 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 22 0 0 3 1 2 3 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 431 0 0 21 2 19 21 0 8 0 mtagpl 96 1307 0 0 20 0 20 20 0 8 0 mbufpl 256 9766 0 0 609 0 609 609 0 8 0 bufpl 288 22464 0 16120 454 0 454 454 0 8 0 anonpl 24 3271541 0 3248144 324 182 142 151 0 186 1 amapchunkpl 152 362085 0 361243 118 84 34 46 0 158 1 amappl16 200 31979 0 31075 168 120 48 48 0 8 0 amappl15 192 1998 0 1996 3 2 1 1 0 8 0 amappl14 184 1109 0 1107 6 5 1 1 0 8 0 amappl13 176 1236 0 1235 1 0 1 1 0 8 0 amappl12 168 1342 0 1339 1 0 1 1 0 8 0 amappl11 160 2084 0 2065 1 0 1 1 0 8 0 amappl10 152 1366 0 1353 1 0 1 1 0 8 0 amappl9 144 2852 0 2850 1 0 1 1 0 8 0 amappl8 136 2721 0 2638 3 0 3 3 0 8 0 amappl7 128 1512 0 1502 1 0 1 1 0 8 0 amappl6 120 2950 0 2930 1 0 1 1 0 8 0 amappl5 112 9793 0 9764 1 0 1 1 0 8 0 amappl4 104 6611 0 6575 1 0 1 1 0 8 0 amappl3 96 2401 0 2379 1 0 1 1 0 8 0 amappl2 88 2175 0 2136 2 1 1 2 0 8 0 amappl1 80 211020 0 210503 18 6 12 13 0 8 0 amappl 88 141087 0 140819 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 12040 0 11841 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 12040 0 11841 2 0 2 2 0 8 0 vmmpekpl 168 82580 0 82532 4 1 3 3 0 8 0 vmmpepl 168 1092682 0 1089802 460 320 140 146 0 357 14 vmsppl 368 12039 0 11841 21 2 19 19 0 8 0 rwobjpl 56 256632 0 248695 126 14 112 112 0 8 0 pdppl 4096 24088 0 23858 307 77 230 230 0 8 0 pvpl 32 5539889 0 5513151 490 271 219 251 0 265 3 pmappl 248 12039 0 11841 13 0 13 13 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1904 0 318 47 1 46 46 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800022d37520) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800022d37520,1,ffff800027b00d30) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806ea82050,c0205602,ffff800022d37520,1,fffffd807f7d7600,ffff800027b00d30) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8061d330a0,c0205602,ffff800022d37520,ffff800027b00d30) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800027b00d30,ffff800022d37638,ffff800022d37690) at sys_ioctl+0x4a2 syscall(ffff800022d37700) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022d37700) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbc0e220e2b0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d38ff0) 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(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5