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(ffff800021340b20) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff800021340b20,1,ffff800021296010) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806ed27bd8,c0205602,ffff800021340b20,1,fffffd807f7d7138,ffff800021296010) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806c131b68,c0205602,ffff800021340b20,ffff800021296010) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021296010,ffff800021340c38,ffff800021340c80) at sys_ioctl+0x4a2 syscall(ffff800021340d00) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021340d00) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4bb54982c0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800021d96e48 rbp 0xffff800021340870 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xffffffff80000001 __kernel_base+0x1 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xc722e7355dc2d607 r11 0x2f51011ab79f9a47 r12 0xffff800021d96ba0 r13 0xffffffff82994ff0 cpu_info_full_primary+0x1ff0 r14 0xffff800021d96800 r15 0xffff800021340b20 rip 0xffffffff81c9ceb0 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff8000213406c6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.4) pid=140558 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=68, nice=20 forw=0xffffffffffffffff, list=0xffff800021296fd0,0xffff8000212f4800 process=0xffff8000ffffb610 user=0xffff80002133b000, vmspace=0xfffffd8060685030 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 1741 490898 95779 0 2 0 syz-executor.7 62826 231056 41257 0 2 0 syz-executor.5 30915 320114 70835 0 2 0 syz-executor.4 *30915 140558 70835 0 7 0x4000000 syz-executor.4 37563 112078 20372 0 2 0 syz-executor.0 37563 338371 20372 0 3 0x4000080 ttyin syz-executor.0 23667 362566 23850 0 2 0 syz-executor.6 23667 279566 23850 0 2 0x4000000 syz-executor.6 30629 197673 31295 0 2 0 syz-executor.2 20372 408241 45173 0 3 0x82 nanoslp syz-executor.0 41257 274419 45173 0 3 0x82 nanoslp syz-executor.5 95779 395272 45173 0 3 0x82 nanoslp syz-executor.7 31295 344897 45173 0 3 0x82 nanoslp syz-executor.2 70835 163453 45173 0 3 0x82 nanoslp syz-executor.4 35721 198895 45173 0 3 0x82 nanoslp syz-executor.3 39141 456978 45173 0 3 0x82 nanoslp syz-executor.1 23850 95972 45173 0 3 0x82 nanoslp syz-executor.6 59401 366000 1 0 3 0x100083 ttyin getty 5522 350582 0 0 3 0x14200 bored sosplice 45173 127154 59929 0 3 0x82 wait syz-fuzzer 45173 493329 59929 0 3 0x4000082 nanoslp syz-fuzzer 45173 262231 59929 0 3 0x4000082 wait syz-fuzzer 45173 207549 59929 0 3 0x4000082 wait syz-fuzzer 45173 445397 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 140204 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 508648 59929 0 3 0x4000082 wait syz-fuzzer 45173 407267 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 229245 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 393387 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 469089 59929 0 3 0x4000082 wait syz-fuzzer 45173 184650 59929 0 3 0x4000082 thrsleep syz-fuzzer 45173 214697 59929 0 3 0x4000082 wait syz-fuzzer 45173 3139 59929 0 3 0x4000082 kqread syz-fuzzer 45173 442352 59929 0 3 0x4000082 wait syz-fuzzer 45173 212791 59929 0 3 0x4000082 wait syz-fuzzer 59929 318622 17053 0 3 0x10008a sigsusp ksh 17053 335620 42074 0 3 0x9a kqread sshd 42074 67354 1 0 3 0x88 kqread sshd 44433 127614 82636 74 3 0x1100092 bpf pflogd 82636 378404 1 0 3 0x80 netio pflogd 71580 374084 63035 73 2 0x1100010 syslogd 63035 320249 1 0 3 0x100082 netio syslogd 89903 238707 1 0 3 0x100080 kqread resolvd 96044 301985 48452 77 3 0x100092 kqread dhcpleased 47341 216167 48452 77 3 0x100092 kqread dhcpleased 48452 323755 1 0 3 0x80 kqread dhcpleased 78238 466596 0 0 3 0x14200 bored smr 8588 424098 0 0 2 0x14200 zerothread 61806 219828 0 0 3 0x14200 aiodoned aiodoned 3300 176874 0 0 3 0x14200 syncer update 18687 227935 0 0 3 0x14200 cleaner cleaner 63590 265084 0 0 3 0x14200 reaper reaper 72659 124083 0 0 3 0x14200 pgdaemon pagedaemon 20818 84520 0 0 3 0x14200 bored viomb 61515 399534 0 0 3 0x40014200 acpi0 acpi0 97978 65508 0 0 7 0x40014200 idle1 28530 69860 0 0 3 0x14200 bored softnet 44325 398579 0 0 3 0x14200 bored softnet 98674 251081 0 0 3 0x14200 bored softnet 48416 133307 0 0 3 0x14200 bored softnet 11879 69578 0 0 3 0x14200 bored systqmp 92032 373471 0 0 3 0x14200 bored systq 94080 373436 0 0 3 0x40014200 bored softclock 69970 220939 0 0 3 0x40014200 idle0 1 98220 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10256 6757K 7426K 78643K 45408 0 pcb 13 18K 23K 78643K 4478 0 rtable 239 13K 13K 78643K 5210 0 ifaddr 162 38K 38K 78643K 1676 0 sysctl 3 1K 3K 78643K 505 0 counters 58 35K 36K 78643K 718 0 ioctlops 0 0K 4K 78643K 11759 0 iov 0 0K 32K 78643K 5570 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1584 99K 99K 78643K 22855 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 167 0 VM map 2 1K 1K 78643K 2 0 sem 16 20K 40K 78643K 893 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 93K 78643K 32461 0 sigio 0 0K 0K 78643K 291 0 proc 70 91K 140K 78643K 3083 0 subproc 104 6K 6K 78643K 984 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 650 0 in_multi 92 6K 7K 78643K 1157 0 ether_multi 1 0K 0K 78643K 67 0 mrt 1 0K 0K 78643K 72 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 6825 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 581 886K 887K 78643K 176050 0 UVM aobj 131 5K 5K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 850 0 NDP 15 0K 1K 78643K 411 0 temp 142 4735K 70270K 78643K 191064 0 kqueue 12 18K 28K 78643K 2163 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 828 0 825 9 8 1 3 0 8 0 rtentry 112 1358 0 1259 4 1 3 4 0 8 0 unpcb 144 35451 0 35436 293 292 1 15 0 8 0 syncache 296 62 0 62 21 21 0 1 0 8 0 sackhl 24 1 2 1 1 1 0 1 0 8 0 tcpqe 32 289 0 289 9 9 0 1 0 8 0 tcpcb 768 6910 0 6905 306 303 3 15 0 8 2 arp 120 236 0 217 1 0 1 1 0 8 0 inpcb 368 23950 0 23943 475 473 2 16 0 8 1 nd6 48 254 0 232 1 0 1 1 0 8 0 pkpcb 40 23 0 23 7 7 0 1 0 8 0 kcovpl 48 75 0 67 1 0 1 1 0 8 0 mppekey 1024 4 0 4 1 1 0 1 0 8 0 ppxss 1256 207 0 207 27 27 0 1 0 8 0 pppxif 1704 26 0 26 8 8 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 35 0 35 7 7 0 1 0 482 0 pffrnode 88 35 0 35 7 7 0 1 0 8 0 pffrent 40 90 0 90 9 9 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 690 0 686 2 1 1 1 0 8 0 pfanchor 1280 10 0 2 1 0 1 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstitem 24 82 0 80 1 0 1 1 0 8 0 pfstkey 120 100 0 98 1 0 1 1 0 8 0 pfstate 336 88 0 86 3 2 1 3 0 8 0 pfrule 1360 174 0 159 3 1 2 2 0 8 0 rttmr 136 25 0 25 8 8 0 1 0 8 0 art_heap8 4096 20 0 19 16 15 1 2 0 8 0 art_heap4 256 5174 0 4753 43 15 28 31 0 8 0 art_table 32 5194 0 4772 4 0 4 4 0 8 0 art_node 16 1287 0 1199 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 565 0 551 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 52452 0 50956 94 0 94 94 0 8 0 ffsino 272 52452 0 50956 101 0 101 101 0 8 0 nchpl 144 106200 0 105694 63 38 25 63 0 8 0 rtmask 32 27 0 27 10 10 0 1 0 8 0 uvmvnodes 80 6920 0 0 142 0 142 142 0 8 0 vnodes 216 6920 0 0 385 0 385 385 0 8 0 namei 1024 363699 0 363699 46 45 1 2 0 8 1 percpumem 16 371 0 330 1 0 1 1 0 8 0 vcpupl 2048 216 0 0 27 0 27 27 0 8 0 vmpool 568 241 0 25 17 1 16 16 0 8 0 pfiaddrpl 120 211 0 205 2 1 1 1 0 8 0 kstatmem 264 474 0 444 7 4 3 3 0 8 0 scsiplug 72 4 0 4 2 2 0 1 0 8 0 scxspl 216 344824 0 344824 34 33 1 8 0 8 1 plimitpl 152 2950 0 2933 1 0 1 1 0 8 0 sigapl 424 32661 0 32612 10 3 7 8 0 8 0 futexpl 64 323195 0 323195 57 56 1 1 0 8 1 knotepl 120 1756 0 0 11 2 9 10 0 8 0 kqueuepl 216 5307 0 5299 77 76 1 5 0 8 0 pipepl 320 5486 0 5457 153 150 3 11 0 8 0 fdescpl 496 32621 0 32592 6 2 4 5 0 8 0 filepl 152 272093 0 271849 444 433 11 24 0 8 1 lockfpl 104 7564 0 7562 11 10 1 2 0 8 0 lockfspl 48 1973 0 1971 1 0 1 1 0 8 0 sessionpl 144 92 0 75 1 0 1 1 0 8 0 pgrppl 48 278 0 261 1 0 1 1 0 8 0 ucredpl 104 62599 0 62586 1 0 1 1 0 8 0 zombiepl 144 32614 0 32612 6 5 1 1 0 8 0 processpl 1064 32661 0 32612 5 0 5 5 0 8 0 procpl 672 79322 0 79255 31 23 8 10 0 8 0 srpgc 96 92 0 92 30 30 0 1 0 8 0 sosppl 168 43 0 43 12 12 0 1 0 8 0 sockpl 488 60274 0 60249 1433 1427 6 50 0 8 2 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 653 0 0 60 29 31 60 0 8 0 mtagpl 96 1746 0 0 23 1 22 22 0 8 0 mbufpl 256 3870 0 0 164 0 164 164 0 8 0 bufpl 288 47697 0 40777 495 0 495 495 0 8 0 anonpl 24 6301833 0 6278262 463 316 147 184 0 186 3 amapchunkpl 152 936761 0 935729 282 240 42 60 0 158 1 amappl16 200 85909 0 85229 208 171 37 50 0 8 0 amappl15 192 4297 0 4283 2 1 1 2 0 8 0 amappl14 184 1464 0 1459 1 0 1 1 0 8 0 amappl13 176 3653 0 3649 1 0 1 1 0 8 0 amappl12 168 4326 0 4317 1 0 1 1 0 8 0 amappl11 160 9754 0 9737 13 12 1 2 0 8 0 amappl10 152 2891 0 2873 1 0 1 1 0 8 0 amappl9 144 3428 0 3427 2 1 1 1 0 8 0 amappl8 136 7305 0 7070 11 2 9 9 0 8 0 amappl7 128 5141 0 5114 2 1 1 2 0 8 0 amappl6 120 3334 0 3302 9 7 2 2 0 8 0 amappl5 112 23382 0 23365 1 0 1 1 0 8 0 amappl4 104 20684 0 20634 3 1 2 2 0 8 0 amappl3 96 98123 0 98063 2 0 2 2 0 8 0 amappl2 88 7857 0 7788 3 1 2 3 0 8 0 amappl1 80 762041 0 761264 24 6 18 23 0 8 0 amappl 88 173393 0 173137 9 2 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 32863 0 32618 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 32863 0 32618 2 0 2 2 0 8 0 vmmpekpl 168 195930 0 195844 5 0 5 5 0 8 0 vmmpepl 168 3117523 0 3113870 688 507 181 213 0 357 0 vmsppl 368 32862 0 32618 42 19 23 23 0 8 0 rwobjpl 56 733575 0 724424 167 36 131 131 0 8 1 pdppl 4096 65733 0 65452 1933 1648 285 285 0 8 4 pvpl 32 13122731 0 13090081 1063 788 275 337 0 265 8 pmappl 248 32862 0 32618 31 15 16 16 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3541 0 2277 38 1 37 37 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800021340b20) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4564 vmmioctl(a00,c0205602,ffff800021340b20,1,ffff800021296010) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806ed27bd8,c0205602,ffff800021340b20,1,fffffd807f7d7138,ffff800021296010) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806c131b68,c0205602,ffff800021340b20,ffff800021296010) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021296010,ffff800021340c38,ffff800021340c80) at sys_ioctl+0x4a2 syscall(ffff800021340d00) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021340d00) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4bb54982c0, 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