kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800035e32fa0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035e32fa0,1,ffff80002f5ac560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e9b21b0,c0205602,ffff800035e32fa0,1,fffffd807f7d7750,ffff80002f5ac560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806359b9d8,c0205602,ffff800035e32fa0,ffff80002f5ac560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002f5ac560,ffff800035e330b0,ffff800035e33100) at sys_ioctl+0x49e syscall(ffff800035e33170) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1292d344040, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002f56d630 rbp 0xffff800035e32cf0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x7ed340c654298a9c r11 0x76d1445007af1b63 r12 0xffff80002f56d3a8 r13 0xffff800035e32c26 r14 0xffff80002f56d000 r15 0x246 rip 0xffffffff8121cd3b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800035e32b56 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.7) tid=323242 pid=60972 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002f5ad000,0xffff80002f5ad2b8 process=0xffff80002f58efc0 user=0xffff800035e2e000, vmspace=0xfffffd80073e5308 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5550 306565 3856 0 2 0 syz-executor.0 5550 7030 3856 0 3 0x4000080 fsleep syz-executor.0 60972 215507 85394 0 2 0 syz-executor.7 *60972 323242 85394 0 7 0x4000000 syz-executor.7 40103 300273 21881 0 2 0 syz-executor.4 40103 213266 21881 0 3 0x4000080 fsleep syz-executor.4 42102 302331 7208 0 2 0 syz-executor.6 42102 86136 7208 0 3 0x4000080 netcon syz-executor.6 42102 380855 7208 0 3 0x4000080 netcon syz-executor.6 65156 98342 38046 0 2 0 syz-executor.1 65156 213232 38046 0 3 0x4000080 kqread syz-executor.1 65156 192161 38046 0 3 0x4000080 fsleep syz-executor.1 7208 173745 19644 0 3 0x82 nanoslp syz-executor.6 3856 265707 19644 0 3 0x82 nanoslp syz-executor.0 91220 399202 1 0 3 0x100083 ttyin getty 85394 268709 19644 0 2 0x482 syz-executor.7 82435 293884 0 0 3 0x14280 nfsidl nfsio 12500 55616 0 0 3 0x14280 nfsidl nfsio 27052 284044 0 0 3 0x14280 nfsidl nfsio 44514 383894 0 0 3 0x14280 nfsidl nfsio 26964 111996 0 0 3 0x14280 nfsidl nfsio 74991 249285 0 0 3 0x14280 nfsidl nfsio 27523 190122 0 0 3 0x14280 nfsidl nfsio 22606 337148 0 0 3 0x14280 nfsidl nfsio 63128 415715 0 0 3 0x14280 nfsidl nfsio 32697 168961 0 0 3 0x14280 nfsidl nfsio 49180 475688 0 0 3 0x14280 nfsidl nfsio 60203 498519 0 0 3 0x14280 nfsidl nfsio 46803 235755 0 0 3 0x14280 nfsidl nfsio 29852 398119 0 0 3 0x14280 nfsidl nfsio 64853 295 0 0 3 0x14280 nfsidl nfsio 45747 493098 0 0 3 0x14280 nfsidl nfsio 55826 148169 0 0 3 0x14280 nfsidl nfsio 705 519905 0 0 3 0x14280 nfsidl nfsio 77567 174250 0 0 3 0x14280 nfsidl nfsio 16241 518328 0 0 3 0x14280 nfsidl nfsio 95401 52426 19644 0 2 0x2 syz-executor.5 21881 196363 19644 0 2 0x482 syz-executor.4 38046 443251 19644 0 2 0x482 syz-executor.1 51867 497200 19644 0 3 0x82 nanoslp syz-executor.3 8912 36822 19644 0 3 0x82 nanoslp syz-executor.2 11009 114542 0 0 3 0x14200 acct acct 85859 227105 0 0 3 0x14200 bored sosplice 19644 463079 23885 0 3 0x2000082 wait syz-fuzzer 19644 122056 23885 0 3 0x6000082 thrsleep syz-fuzzer 19644 284878 23885 0 3 0x6000082 wait syz-fuzzer 19644 454561 23885 0 3 0x6000082 thrsleep syz-fuzzer 19644 50320 23885 0 3 0x6000082 wait syz-fuzzer 19644 362976 23885 0 3 0x6000082 thrsleep syz-fuzzer 19644 115791 23885 0 3 0x6000082 wait syz-fuzzer 19644 216812 23885 0 3 0x6000082 thrsleep syz-fuzzer 19644 148490 23885 0 3 0x6000082 wait syz-fuzzer 19644 396755 23885 0 3 0x6000082 thrsleep syz-fuzzer 19644 449299 23885 0 3 0x6000082 kqread syz-fuzzer 19644 404923 23885 0 3 0x6000082 wait syz-fuzzer 19644 375246 23885 0 3 0x6000082 wait syz-fuzzer 19644 113245 23885 0 3 0x6000082 wait syz-fuzzer 23885 241495 90374 0 3 0x10008a sigsusp ksh 90374 321619 25103 0 3 0x9a kqread sshd 25103 360073 1 0 3 0x88 kqread sshd 85503 302587 12895 73 3 0x1100090 kqread syslogd 12895 8349 1 0 3 0x100082 netio syslogd 34045 205712 1 0 3 0x100080 kqread resolvd 91026 430907 30584 77 3 0x100092 kqread dhcpleased 78619 235434 30584 77 3 0x100092 kqread dhcpleased 30584 92508 1 0 3 0x80 kqread dhcpleased 60892 406280 0 0 3 0x14200 bored smr 49240 493331 0 0 2 0x14200 zerothread 17362 437562 0 0 3 0x14200 aiodoned aiodoned 57478 311952 0 0 3 0x14200 syncer update 24587 42708 0 0 3 0x14200 cleaner cleaner 25034 297301 0 0 3 0x14200 reaper reaper 4302 372752 0 0 3 0x14200 pgdaemon pagedaemon 718 156258 0 0 3 0x14200 bored viomb 86588 283325 0 0 3 0x40014200 acpi0 acpi0 47498 411930 0 0 3 0x14200 bored softnet3 97439 345653 0 0 3 0x14200 bored softnet2 40628 55322 0 0 3 0x14200 bored softnet1 37985 507924 0 0 3 0x14200 bored softnet0 50926 180358 0 0 3 0x14200 bored systqmp 51209 499610 0 0 3 0x14200 bored systq 19067 125268 0 0 2 0x40014200 softclock 30866 264816 0 0 3 0x40014200 idle0 1 522207 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 6431K 7611K 166960K 44465 0 pcb 13 22K 26K 166960K 1083 0 rtable 177 14K 15K 166960K 1493 0 pf 27 8K 10K 166960K 189 0 ifaddr 32 9K 11K 166960K 192 0 ifgroup 46 2K 2K 166960K 302 0 sysctl 4 1K 3K 166960K 12 0 counters 27 17K 17K 166960K 98 0 ioctlops 0 0K 2K 166960K 517 0 iov 0 0K 24K 166960K 3323 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1500 94K 94K 166960K 15710 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 17K 166960K 137 0 VM map 2 1K 1K 166960K 2 0 sem 10 1K 1K 166960K 18 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 77K 166960K 11029 0 sigio 0 0K 0K 166960K 284 0 proc 58 59K 75K 166960K 1497 0 subproc 104 6K 6K 166960K 393 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 519 0 in_multi 67 5K 7K 166960K 440 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 1675 0 pfkey data 0 0K 0K 166960K 109 0 tdb 3 0K 0K 166960K 3 0 pagedep 1 8K 8K 166960K 1 0 inodedep 1 32K 32K 166960K 1 0 newblk 1 0K 0K 166960K 1 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 433 349K 351K 166960K 101809 0 UVM aobj 131 4K 4K 166960K 140 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 288 0 NDP 10 0K 2K 166960K 145 0 temp 74 5920K 6000K 166960K 79329 0 kqueue 14 22K 35K 166960K 2850 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 446 0 443 5 4 1 3 0 8 0 rtentry 112 415 0 338 4 0 4 4 0 8 0 unpcb 144 5382 0 5367 72 66 6 6 0 8 5 syncache 312 89 0 89 13 13 0 1 0 8 0 tcpqe 32 128 0 128 11 11 0 1 0 8 0 tcpcb 808 2918 0 2889 112 97 15 23 0 8 9 arp 88 68 0 58 1 0 1 1 0 8 0 ipq 40 12 0 12 4 4 0 1 0 8 0 ipqe 40 207 0 207 4 4 0 1 0 8 0 inpcb 336 8403 0 8368 119 105 14 19 0 8 8 nd6 104 107 0 90 1 0 1 1 0 8 0 pkpcb 40 184 0 184 9 8 1 1 0 8 1 kcovpl 48 30 0 22 1 0 1 1 0 8 0 ppxss 1160 24 0 24 6 6 0 1 0 8 0 art_heap8 4096 8 0 7 3 2 1 3 0 8 0 art_heap4 256 1696 0 1310 43 12 31 31 0 8 1 art_table 32 1704 0 1317 4 0 4 4 0 8 0 art_node 16 411 0 340 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 1 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 16528 0 15038 94 0 94 94 0 8 0 ffsino 240 16528 0 15038 89 0 89 89 0 8 0 nchpl 144 31301 0 30825 63 33 30 63 0 8 8 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 115233 0 115233 10 8 2 3 0 8 2 vcpupl 2048 112 0 1 14 0 14 14 0 8 0 vmpool 664 118 0 7 10 0 10 10 0 8 0 kstatmem 264 162 0 142 2 0 2 2 0 8 0 scxspl 216 93402 0 93402 25 24 1 8 1 8 1 plimitpl 152 1164 0 1149 1 0 1 1 0 8 0 sigapl 424 11321 0 11255 9 1 8 8 0 8 0 futexpl 64 121083 0 121080 1 0 1 1 0 8 0 knotepl 120 131844 0 131757 45 36 9 16 0 8 5 kqueuepl 184 3636 0 3626 20 16 4 4 0 8 3 pipepl 288 13843 0 13811 108 103 5 11 0 8 2 fdescpl 432 11260 0 11234 4 0 4 4 0 8 0 filepl 120 96310 0 96055 104 88 16 18 0 8 8 lockfpl 104 10992 0 10990 13 12 1 4 0 8 0 lockfspl 48 4998 0 4996 2 1 1 2 0 8 0 sessionpl 144 48 0 32 1 0 1 1 0 8 0 pgrppl 48 196 0 180 1 0 1 1 0 8 0 ucredpl 104 9962 0 9949 1 0 1 1 0 8 0 zombiepl 144 11257 0 11255 1 0 1 1 0 8 0 processpl 1008 11321 0 11255 13 4 9 9 0 8 0 procpl 680 27025 0 26939 22 14 8 9 0 8 0 sosppl 168 80 0 77 8 7 1 1 0 8 0 sockpl 456 14432 0 14379 297 278 19 35 0 8 8 mcl64k 65536 435 0 435 11 10 1 1 0 8 1 mcl16k 16384 1195 0 1195 9 8 1 1 0 8 1 mcl12k 12288 359 0 359 11 10 1 1 0 8 1 mcl9k 9216 122 0 122 18 17 1 1 0 8 1 mcl8k 8192 925 0 925 10 9 1 1 0 8 1 mcl4k 4096 1104 0 1103 8 7 1 1 0 8 0 mcl2k2 2112 58 0 58 17 17 0 1 0 8 0 mcl2k 2048 94468 0 94387 78 58 20 37 0 8 8 mtagpl 96 6162 0 5725 21 3 18 18 0 8 1 mbufpl 256 264995 0 264424 450 385 65 107 0 8 8 bufpl 288 22996 0 16587 459 1 458 459 0 8 0 anonpl 24 1183041 0 1169003 219 109 110 113 0 188 11 amapchunkpl 152 324527 0 323625 87 49 38 49 0 158 0 amappl16 200 24572 0 24152 110 79 31 35 0 8 8 amappl15 192 28 0 28 3 3 0 1 0 8 0 amappl14 184 236 0 223 2 1 1 2 0 8 0 amappl13 176 19 0 19 3 3 0 1 0 8 0 amappl12 168 12207 0 12179 2 0 2 2 0 8 0 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 123 0 115 1 0 1 1 0 8 0 amappl9 144 261 0 260 1 0 1 1 0 8 0 amappl8 136 397 0 316 3 0 3 3 0 8 0 amappl7 128 290 0 266 2 0 2 2 0 8 0 amappl6 120 723 0 710 1 0 1 1 0 8 0 amappl5 112 267 0 259 1 0 1 1 0 8 0 amappl4 104 1716 0 1693 2 1 1 2 0 8 0 amappl3 96 63443 0 63346 3 0 3 3 0 8 0 amappl2 88 12174 0 12100 3 0 3 3 0 8 0 amappl1 80 48867 0 48363 22 10 12 22 0 8 0 amappl 88 100915 0 100656 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 11378 0 11241 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11378 0 11241 1 0 1 1 0 8 0 vmmpekpl 168 121372 0 121288 6 1 5 5 0 8 0 vmmpepl 168 664645 0 662341 277 151 126 126 0 357 14 vmsppl 368 11377 0 11241 13 0 13 13 0 8 0 rwobjpl 24 159942 0 152396 48 0 48 48 0 8 0 pdppl 4096 22762 0 22593 544 372 172 174 0 8 3 pvpl 32 3185189 0 3165500 559 362 197 362 0 265 29 pmappl 216 11377 0 11241 8 0 8 8 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2215 0 1206 31 0 31 31 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800035e32fa0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035e32fa0,1,ffff80002f5ac560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e9b21b0,c0205602,ffff800035e32fa0,1,fffffd807f7d7750,ffff80002f5ac560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806359b9d8,c0205602,ffff800035e32fa0,ffff80002f5ac560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002f5ac560,ffff800035e330b0,ffff800035e33100) at sys_ioctl+0x49e syscall(ffff800035e33170) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1292d344040, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800035e32fa0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035e32fa0,1,ffff80002f5ac560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806e9b21b0,c0205602,ffff800035e32fa0,1,fffffd807f7d7750,ffff80002f5ac560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806359b9d8,c0205602,ffff800035e32fa0,ffff80002f5ac560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002f5ac560,ffff800035e330b0,ffff800035e33100) at sys_ioctl+0x49e syscall(ffff800035e33170) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1292d344040, count: -8