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(ffff80002e381c60) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4492 vmmioctl(a00,c0205602,ffff80002e381c60,2,ffff80002e3b82a0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:661 VOP_IOCTL(fffffd806ed76c90,c0205602,ffff80002e381c60,2,fffffd807f7d75a0,ffff80002e3b82a0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80689ba9a0,c0205602,ffff80002e381c60,ffff80002e3b82a0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002e3b82a0,ffff80002e381d78,ffff80002e381dd0) at sys_ioctl+0x4a2 syscall(ffff80002e381e40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e381e40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4eb005be740, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002123ce38 rbp 0xffff80002e3819c0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x64b433c1cb07abf2 r11 0xb959bfc02c596626 r12 0xffffffff829b8fc8 dt_prov_static r13 0x246 r14 0xffff80002123c800 r15 0xffff80002e381c60 rip 0xffffffff81769530 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e381816 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.6) pid=67920 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80002e3b8d20,0xffff80002e3b9510 process=0xffff8000fffeedd0 user=0xffff80002e37c000, vmspace=0xfffffd8065601190 estcpu=32, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74806 92157 44925 0 2 0 syz-executor.4 74806 322509 44925 0 3 0x4000080 fsleep syz-executor.4 77872 228251 8692 0 2 0 syz-executor.6 *77872 67920 8692 0 7 0x4000000 syz-executor.6 38239 58818 12634 0 2 0 syz-executor.2 38239 99642 12634 0 3 0x4000080 fsleep syz-executor.2 84262 69097 14812 0 2 0 syz-executor.3 84262 209906 14812 0 3 0x4000080 fsleep syz-executor.3 71064 113963 490 0 2 0 syz-executor.7 71064 508271 490 0 3 0x4000080 fsleep syz-executor.7 14812 220906 50596 0 3 0x82 nanoslp syz-executor.3 79223 94221 50596 0 3 0x82 nanoslp syz-executor.0 39616 288106 0 0 3 0x14200 acct acct 44925 123011 50596 0 3 0x82 nanoslp syz-executor.4 490 8617 50596 0 3 0x82 nanoslp syz-executor.7 12634 401388 50596 0 3 0x82 nanoslp syz-executor.2 66704 94091 50596 0 3 0x82 nanoslp syz-executor.1 8692 431984 50596 0 3 0x82 nanoslp syz-executor.6 47800 477298 50596 0 3 0x82 nanoslp syz-executor.5 90434 212969 1 0 3 0x100083 ttyopn getty 56341 284300 0 0 3 0x14200 bored sosplice 50596 440552 30745 0 3 0x82 thrsleep syz-fuzzer 50596 58728 30745 0 2 0x4000002 syz-fuzzer 50596 215159 30745 0 3 0x4000082 thrsleep syz-fuzzer 50596 176588 30745 0 3 0x4000082 kqread syz-fuzzer 50596 452932 30745 0 3 0x4000082 thrsleep syz-fuzzer 50596 77244 30745 0 3 0x4000082 thrsleep syz-fuzzer 50596 247807 30745 0 3 0x4000082 thrsleep syz-fuzzer 50596 495483 30745 0 3 0x4000082 thrsleep syz-fuzzer 50596 284575 30745 0 3 0x4000082 thrsleep syz-fuzzer 30745 422277 41717 0 3 0x10008a sigsusp ksh 41717 341267 96029 0 3 0x9a kqread sshd 96029 187850 1 0 3 0x88 kqread sshd 95105 209805 66744 74 3 0x1100092 bpf pflogd 66744 20889 1 0 3 0x80 netio pflogd 98260 354204 50073 73 3 0x1100090 kqread syslogd 50073 297185 1 0 3 0x100082 netio syslogd 34981 318095 1 0 3 0x100080 kqread resolvd 93065 293512 78702 77 3 0x100092 kqread dhcpleased 33263 167171 78702 77 3 0x100092 kqread dhcpleased 78702 34567 1 0 3 0x80 kqread dhcpleased 99105 203372 0 0 3 0x14200 bored smr 88097 240544 0 0 2 0x14200 zerothread 66687 29209 0 0 3 0x14200 aiodoned aiodoned 26571 12055 0 0 3 0x14200 syncer update 41735 247952 0 0 3 0x14200 cleaner cleaner 72730 292854 0 0 3 0x14200 reaper reaper 71089 455650 0 0 3 0x14200 pgdaemon pagedaemon 2927 63493 0 0 3 0x14200 bored viomb 87440 287471 0 0 3 0x40014200 acpi0 acpi0 29602 316042 0 0 7 0x40014200 idle1 46853 445254 0 0 3 0x14200 bored softnet 35975 419023 0 0 3 0x14200 bored softnet 77360 489902 0 0 3 0x14200 bored softnet 58278 404025 0 0 3 0x14200 bored softnet 69782 221211 0 0 3 0x14200 bored systqmp 52909 113387 0 0 3 0x14200 bored systq 40314 156619 0 0 3 0x40014200 bored softclock 65295 110206 0 0 3 0x40014200 idle0 1 161374 0 0 3 0x82 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 10215 6510K 7163K 78643K 58972 0 pcb 13 16K 18K 78643K 8166 0 rtable 192 9K 11K 78643K 4604 0 ifaddr 105 31K 41K 78643K 2690 0 sysctl 3 1K 3K 78643K 468 0 counters 58 35K 36K 78643K 1068 0 ioctlops 0 0K 4K 78643K 9971 0 iov 0 0K 32K 78643K 3227 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1478 92K 93K 78643K 17135 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 9K 78643K 318 0 VM map 2 1K 1K 78643K 2 0 sem 19 28K 28K 78643K 1612 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 89K 78643K 45285 0 sigio 0 0K 0K 78643K 208 0 proc 71 91K 127K 78643K 3283 0 subproc 104 6K 6K 78643K 708 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1355 0 in_multi 73 4K 6K 78643K 921 0 ether_multi 1 0K 0K 78643K 75 0 mrt 1 0K 0K 78643K 51 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 3K 78643K 8676 0 pfkey data 0 0K 0K 78643K 13 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 698 2107K 2112K 78643K 253960 0 UVM aobj 131 4K 6K 78643K 146 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 3366 0 NDP 16 0K 2K 78643K 659 0 temp 156 4752K 5777K 78643K 231426 0 kqueue 12 18K 24K 78643K 2063 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 2156 0 2153 23 22 1 5 0 8 0 rtentry 112 1112 0 1034 6 2 4 4 0 8 0 unpcb 136 23937 0 23920 216 213 3 9 0 8 2 syncache 296 191 0 191 30 30 0 1 0 8 0 tcpqe 32 102 177 102 9 9 0 1 0 8 0 tcpcb 736 26111 0 26038 523 515 8 34 0 8 1 arp 120 243 0 228 2 0 2 2 0 8 0 inpcb 312 50969 0 50955 436 429 7 16 0 8 5 ip6q 72 476 0 476 5 5 0 1 0 8 0 ip6af 40 975 0 975 5 5 0 1 0 8 0 nd6 48 201 0 185 1 0 1 1 0 8 0 pkpcb 40 84 0 84 15 15 0 1 0 8 0 kcovpl 48 54 0 46 1 0 1 1 0 8 0 ppxss 1248 372 0 372 24 24 0 1 0 8 0 pfstscr 40 35 0 35 1 1 0 1 0 8 0 pffrag 232 147 0 147 17 17 0 1 0 482 0 pffrnode 88 147 0 147 17 17 0 1 0 8 0 pffrent 40 510 0 510 18 18 0 1 0 8 0 pfosfp 40 1441 0 1438 6 5 1 5 0 8 0 pfosfpen 112 1441 0 1436 22 21 1 21 0 8 0 pfrktable 1344 52 0 49 2 1 1 1 0 8 0 pftag 88 8 0 4 1 0 1 1 0 8 0 pfstitem 24 49 0 47 1 0 1 1 0 8 0 pfstkey 112 119 0 117 1 0 1 1 0 8 0 pfstate 336 84 0 82 3 2 1 3 0 8 0 pfsrctr 152 316 0 316 16 16 0 1 0 8 0 pfrule 1360 323 0 304 7 5 2 4 0 8 0 rttmr 64 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 7 0 6 5 4 1 3 0 8 0 art_heap4 256 4321 0 3952 56 28 28 33 0 8 0 art_table 32 4328 0 3958 5 0 5 5 0 8 0 art_node 16 1101 0 1034 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 1542 0 1525 1 0 1 1 0 8 0 shmpl 112 143 0 15 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 72735 0 71211 96 0 96 96 0 8 0 ffsino 272 72735 0 71211 103 0 103 103 0 8 0 nchpl 144 132899 0 131249 63 0 63 63 0 8 0 uvmvnodes 80 8533 0 0 175 0 175 175 0 8 0 vnodes 224 8533 0 0 502 0 502 502 0 8 0 namei 1024 446437 0 446437 14 13 1 2 0 8 1 percpumem 16 546 0 505 1 0 1 1 0 8 0 vcpupl 2048 329 0 0 42 0 42 42 0 8 0 vmpool 560 511 0 182 27 3 24 24 0 8 0 pfiaddrpl 120 19 0 15 3 2 1 1 0 8 0 kstatmem 264 1042 0 1010 14 11 3 3 0 8 0 scsiplug 72 293 0 293 7 7 0 1 0 8 0 scxspl 216 402205 0 402205 37 36 1 8 0 8 1 plimitpl 152 3890 0 3875 1 0 1 1 0 8 0 sigapl 424 45564 0 45514 10 2 8 8 0 8 0 futexpl 64 448308 0 448304 14 13 1 1 0 8 0 knotepl 120 1699 0 0 12 3 9 11 0 8 0 kqueuepl 216 6932 0 6924 94 93 1 6 0 8 0 pipepl 336 6779 0 6751 161 155 6 11 0 8 3 fdescpl 496 45483 0 45455 7 3 4 5 0 8 0 filepl 152 297686 0 297441 379 365 14 24 0 8 3 lockfpl 104 11339 0 11337 19 18 1 2 0 8 0 lockfspl 48 2793 0 2791 1 0 1 1 0 8 0 sessionpl 144 72 0 55 1 0 1 1 0 8 0 pgrppl 48 536 0 519 1 0 1 1 0 8 0 ucredpl 96 30273 0 30261 1 0 1 1 0 8 0 zombiepl 144 45517 0 45514 1 0 1 1 0 8 0 processpl 1064 45564 0 45514 5 0 5 5 0 8 0 procpl 672 121596 0 121533 48 41 7 9 0 8 0 srpgc 96 58 0 58 21 21 0 1 0 8 0 sosppl 168 273 0 272 15 14 1 1 0 8 0 sockpl 480 77230 0 77200 1301 1288 13 39 0 8 8 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 18 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 698 0 0 42 15 27 35 0 8 1 mtagpl 96 1944 0 0 21 0 21 21 0 8 0 mbufpl 256 3941 0 0 163 0 163 163 0 8 0 bufpl 288 76059 0 67525 610 0 610 610 0 8 0 anonpl 24 8339713 0 8323211 521 407 114 149 0 186 0 amapchunkpl 152 774651 0 773878 270 236 34 45 0 158 0 amappl16 200 113658 0 112968 399 362 37 56 0 8 0 amappl15 192 14141 0 14139 4 3 1 1 0 8 0 amappl14 184 6949 0 6944 1 0 1 1 0 8 0 amappl13 176 4491 0 4489 1 0 1 1 0 8 0 amappl12 168 7953 0 7946 1 0 1 1 0 8 0 amappl11 160 2855 0 2832 3 1 2 2 0 8 0 amappl10 152 7057 0 7047 1 0 1 1 0 8 0 amappl9 144 4914 0 4909 1 0 1 1 0 8 0 amappl8 136 4351 0 4197 7 1 6 6 0 8 0 amappl7 128 2711 0 2700 1 0 1 1 0 8 0 amappl6 120 4982 0 4959 2 1 1 2 0 8 0 amappl5 112 41275 0 41255 1 0 1 1 0 8 0 amappl4 104 10356 0 10322 4 2 2 3 0 8 0 amappl3 96 144593 0 144543 2 0 2 2 0 8 0 amappl2 88 55341 0 55267 3 1 2 3 0 8 0 amappl1 80 1068389 0 1067749 24 9 15 20 0 8 0 amappl 88 251784 0 251479 8 0 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 145 0 15 3 0 3 3 0 8 0 uaddrrnd 24 45994 0 45637 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 45994 0 45637 3 0 3 3 0 8 0 vmmpekpl 168 292285 0 292183 5 0 5 5 0 8 0 vmmpepl 168 4400532 0 4397234 523 364 159 182 0 357 0 vmsppl 368 45993 0 45637 35 2 33 33 0 8 0 rwobjpl 56 1040918 0 1030330 228 77 151 151 0 8 0 pdppl 4096 91995 0 91603 1527 1129 398 398 0 8 6 pvpl 32 16439964 0 16418684 1062 873 189 259 0 265 0 pmappl 248 45993 0 45637 28 5 23 23 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 3843 0 2301 46 1 45 45 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e381c60) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4492 vmmioctl(a00,c0205602,ffff80002e381c60,2,ffff80002e3b82a0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:661 VOP_IOCTL(fffffd806ed76c90,c0205602,ffff80002e381c60,2,fffffd807f7d75a0,ffff80002e3b82a0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80689ba9a0,c0205602,ffff80002e381c60,ffff80002e3b82a0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002e3b82a0,ffff80002e381d78,ffff80002e381dd0) at sys_ioctl+0x4a2 syscall(ffff80002e381e40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e381e40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4eb005be740, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020cd8ff0) 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(ffff800020cd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5