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(ffff800033e15b50) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800033e15b50,1,ffff800033dee560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806faa3438,c0205602,ffff800033e15b50,1,fffffd807f7d7a28,ffff800033dee560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807147a810,c0205602,ffff800033e15b50,ffff800033dee560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800033dee560,ffff800033e15c60,ffff800033e15cb0) at sys_ioctl+0x49e syscall(ffff800033e15d20) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddf2a4d5a60, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800033e29630 rbp 0xffff800033e158a0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xbd9ef4c4db9c4884 r11 0xb8de72ff5e3a0d4 r12 0xffff800033e293a8 r13 0xffff800033e157d6 r14 0xffff800033e29000 r15 0x246 rip 0xffffffff811796eb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800033e15706 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.3) tid=509924 pid=92189 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800033dee808,0xffffffff82ce6520 process=0xffff800035e32bd8 user=0xffff800033e10000, vmspace=0xfffffd807dabde80 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 92189 165070 75110 0 2 0 syz-executor.3 *92189 509924 75110 0 7 0x4000000 syz-executor.3 87842 516662 33953 0 3 0x80 nanoslp syz-executor.5 87842 361121 33953 0 3 0x4000080 fsleep syz-executor.5 68191 474029 90165 60928 2 0x10 syz-executor.2 68191 97909 90165 60928 3 0x4000090 fsleep syz-executor.2 2357 177940 57853 0 3 0x4081000 smrbar syz-executor.1 2357 260650 57853 0 3 0x4003000 suspend syz-executor.1 71047 154100 54616 0 3 0x82 nanoslp syz-executor.6 75110 81626 54616 0 3 0x82 nanoslp syz-executor.3 72875 454161 0 0 3 0x14200 acct acct 47324 232815 54616 0 3 0x82 piperd syz-executor.0 18061 24389 0 0 3 0x14200 bored sosplice 57853 457494 54616 0 3 0x82 nanoslp syz-executor.1 34190 524092 54616 0 3 0x82 piperd syz-executor.4 43106 128075 0 0 3 0x14280 nfsidl nfsio 23022 458361 0 0 3 0x14280 nfsidl nfsio 2532 161792 0 0 3 0x14280 nfsidl nfsio 93159 228743 0 0 3 0x14280 nfsidl nfsio 65213 201930 0 0 3 0x14280 nfsidl nfsio 31806 411490 0 0 3 0x14280 nfsidl nfsio 23615 281999 0 0 3 0x14280 nfsidl nfsio 47066 172269 0 0 3 0x14280 nfsidl nfsio 13357 354139 0 0 3 0x14280 nfsidl nfsio 74017 494233 0 0 3 0x14280 nfsidl nfsio 18997 380056 0 0 3 0x14280 nfsidl nfsio 75228 347597 0 0 3 0x14280 nfsidl nfsio 61058 447821 0 0 3 0x14280 nfsidl nfsio 96435 42124 0 0 3 0x14280 nfsidl nfsio 93648 477343 0 0 3 0x14280 nfsidl nfsio 52807 226755 0 0 3 0x14280 nfsidl nfsio 31145 336804 0 0 3 0x14280 nfsidl nfsio 91750 104148 0 0 3 0x14280 nfsidl nfsio 51884 515020 0 0 3 0x14280 nfsidl nfsio 44344 477925 0 0 3 0x14280 nfsidl nfsio 15367 508255 1 0 3 0x100083 ttyin getty 40550 147664 54616 0 2 0x2 syz-executor.7 33953 424869 54616 0 3 0x82 nanoslp syz-executor.5 90165 243389 54616 0 3 0x82 nanoslp syz-executor.2 54616 218453 15771 0 3 0x2000082 wait syz-fuzzer 54616 144811 15771 0 3 0x6000082 nanoslp syz-fuzzer 54616 261666 15771 0 3 0x6000082 thrsleep syz-fuzzer 54616 59051 15771 0 3 0x6000082 wait syz-fuzzer 54616 438727 15771 0 3 0x6000082 wait syz-fuzzer 54616 200104 15771 0 3 0x6000082 wait syz-fuzzer 54616 147819 15771 0 3 0x6000082 wait syz-fuzzer 54616 361358 15771 0 3 0x6000082 thrsleep syz-fuzzer 54616 259826 15771 0 3 0x6000082 wait syz-fuzzer 54616 104413 15771 0 3 0x6000082 kqread syz-fuzzer 54616 429800 15771 0 3 0x6000082 thrsleep syz-fuzzer 54616 285394 15771 0 3 0x6000082 wait syz-fuzzer 54616 392737 15771 0 3 0x6000082 thrsleep syz-fuzzer 54616 131875 15771 0 3 0x6000082 wait syz-fuzzer 15771 83551 49128 0 3 0x10008a sigsusp ksh 49128 330397 84040 0 3 0x9a kqread sshd 84040 318796 1 0 3 0x88 kqread sshd 25415 216749 89867 73 3 0x1100090 kqread syslogd 89867 76090 1 0 3 0x100082 netio syslogd 19487 149303 1 0 3 0x100080 kqread resolvd 91808 352050 44351 77 3 0x100092 kqread dhcpleased 53457 158212 44351 77 3 0x100092 kqread dhcpleased 44351 247006 1 0 3 0x80 kqread dhcpleased 49047 78925 0 0 3 0x14200 bored smr 11332 375559 0 0 2 0x14200 zerothread 5844 381510 0 0 3 0x14200 aiodoned aiodoned 60274 275145 0 0 3 0x14200 syncer update 66050 391739 0 0 3 0x14200 cleaner cleaner 83025 442785 0 0 3 0x14200 reaper reaper 48505 241334 0 0 3 0x14200 pgdaemon pagedaemon 34771 208378 0 0 3 0x14200 bored viomb 58281 477835 0 0 3 0x40014200 acpi0 acpi0 10190 185825 0 0 3 0x14200 bored softnet3 64190 118644 0 0 3 0x14200 bored softnet2 17942 414435 0 0 3 0x14200 bored softnet1 7415 294063 0 0 3 0x14200 bored softnet0 91084 61159 0 0 3 0x14200 bored systqmp 53969 267011 0 0 3 0x14200 bored systq 70177 200141 0 0 3 0x40014200 tmoslp softclock 62942 430817 0 0 3 0x40014200 idle0 1 452515 0 0 3 0x80082 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 10233 6500K 7853K 166960K 35254 0 pcb 13 13K 15K 166960K 177 0 rtable 209 14K 17K 166960K 865 0 pf 34 9K 10K 166960K 152 0 ifaddr 40 11K 12K 166960K 142 0 ifgroup 59 2K 2K 166960K 249 0 sysctl 3 0K 0K 166960K 3 0 counters 30 17K 17K 166960K 86 0 ioctlops 0 0K 2K 166960K 99 0 iov 0 0K 36K 166960K 616 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1514 95K 95K 166960K 10427 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 534 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 12 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 81K 166960K 5483 0 sigio 0 0K 0K 166960K 118 0 proc 57 59K 75K 166960K 878 0 subproc 104 6K 6K 166960K 244 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 96 0 in_multi 83 6K 7K 166960K 279 0 ether_multi 1 0K 0K 166960K 13 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 1227 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 371 286K 305K 166960K 54901 0 UVM aobj 131 4K 4K 166960K 134 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 88 0 NDP 13 0K 0K 166960K 108 0 temp 74 5920K 6020K 166960K 50161 0 kqueue 12 18K 28K 166960K 1069 0 SYN cache 2 1236K 1244K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 171 0 168 2 1 1 2 0 8 0 rtentry 112 250 0 157 4 1 3 4 0 8 0 unpcb 144 7079 0 7064 66 62 4 6 0 8 3 syncache 312 40 0 40 9 9 0 1 0 8 0 tcpqe 32 215 0 215 7 7 0 1 0 8 0 tcpcb 808 1675 0 1671 68 67 1 11 0 8 0 arp 88 40 0 26 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 39 0 39 2 2 0 1 0 8 0 inpcb 336 3107 0 3100 76 75 1 12 0 8 0 nd6 104 64 0 44 1 0 1 1 0 8 0 pkpcb 40 44 0 44 3 3 0 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 ppxss 1160 20 0 20 5 5 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1039 0 621 37 10 27 29 0 8 0 art_table 32 1040 0 621 4 0 4 4 0 8 0 art_node 16 245 0 160 1 0 1 1 0 8 0 sysvmsgpl 40 100 0 86 1 0 1 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 9320 0 7860 92 0 92 92 0 8 0 ffsino 240 9320 0 7860 87 0 87 87 0 8 0 nchpl 144 17114 0 15472 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 62801 0 62800 5 4 1 3 0 8 0 vcpupl 2048 23 0 0 3 0 3 3 0 8 0 vmpool 664 23 0 0 2 0 2 2 0 8 0 kstatmem 264 138 0 112 2 0 2 2 0 8 0 scxspl 216 53502 0 53502 28 27 1 8 1 8 1 plimitpl 152 520 0 505 1 0 1 1 0 8 0 sigapl 424 5782 0 5718 8 0 8 8 0 8 0 futexpl 64 75792 0 75790 3 2 1 1 0 8 0 knotepl 120 48769 0 48688 17 14 3 17 0 8 0 kqueuepl 184 1947 0 1939 27 25 2 7 0 8 1 pipepl 288 1220 0 1192 36 29 7 7 0 8 4 fdescpl 432 5744 0 5719 4 0 4 4 0 8 0 filepl 120 44127 0 43881 108 94 14 16 0 8 5 lockfpl 104 1478 0 1475 4 2 2 2 0 8 1 lockfspl 48 610 0 607 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 197 0 181 1 0 1 1 0 8 0 ucredpl 104 7822 0 7805 1 0 1 1 0 8 0 zombiepl 144 5720 0 5718 1 0 1 1 0 8 0 processpl 1008 5782 0 5718 11 2 9 9 0 8 0 procpl 680 15046 0 14964 23 14 9 9 0 8 1 sosppl 168 24 0 24 4 4 0 1 0 8 0 sockpl 456 10404 0 10379 298 286 12 25 0 8 8 mcl64k 65536 170 0 170 25 24 1 1 0 8 1 mcl16k 16384 81 0 81 18 17 1 1 0 8 1 mcl12k 12288 165 0 165 23 23 0 1 0 8 0 mcl9k 9216 82 0 82 18 17 1 1 0 8 1 mcl8k 8192 303 0 303 17 16 1 1 0 8 1 mcl4k 4096 659 0 659 6 5 1 1 0 8 1 mcl2k2 2112 115 0 115 20 19 1 1 0 8 1 mcl2k 2048 77204 0 77155 47 39 8 29 0 8 0 mtagpl 96 1248 0 916 17 5 12 12 0 8 0 mbufpl 256 158797 0 158331 143 106 37 70 0 8 0 bufpl 288 14283 0 7889 458 0 458 458 0 8 0 anonpl 24 1620077 0 1605726 180 68 112 128 0 188 7 amapchunkpl 152 232702 0 231871 126 82 44 51 0 158 3 amappl16 200 12400 0 11904 42 15 27 34 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 177 0 166 2 1 1 2 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 6528 0 6498 2 0 2 2 0 8 0 amappl11 160 57 0 46 1 0 1 1 0 8 0 amappl10 152 41 0 32 1 0 1 1 0 8 0 amappl9 144 162 0 161 1 0 1 1 0 8 0 amappl8 136 370 0 297 3 0 3 3 0 8 0 amappl7 128 191 0 170 2 0 2 2 0 8 0 amappl6 120 448 0 435 1 0 1 1 0 8 0 amappl5 112 205 0 197 1 0 1 1 0 8 0 amappl4 104 544 0 520 2 1 1 2 0 8 0 amappl3 96 33930 0 33853 3 0 3 3 0 8 0 amappl2 88 6352 0 6282 3 1 2 3 0 8 0 amappl1 80 29473 0 28979 22 10 12 22 0 8 0 amappl 88 53762 0 53536 6 0 6 6 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 5767 0 5719 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5767 0 5719 1 0 1 1 0 8 0 vmmpekpl 168 45440 0 45371 4 0 4 4 0 8 0 vmmpepl 168 352184 0 349961 260 152 108 127 0 357 3 vmsppl 368 5766 0 5719 5 0 5 5 0 8 0 rwobjpl 24 93232 0 85667 46 0 46 46 0 8 0 pdppl 4096 11540 0 11461 530 444 86 86 0 8 7 pvpl 32 2835432 0 2815659 464 268 196 360 0 265 11 pmappl 216 5766 0 5719 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1692 0 861 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800033e15b50) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800033e15b50,1,ffff800033dee560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806faa3438,c0205602,ffff800033e15b50,1,fffffd807f7d7a28,ffff800033dee560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807147a810,c0205602,ffff800033e15b50,ffff800033dee560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800033dee560,ffff800033e15c60,ffff800033e15cb0) at sys_ioctl+0x49e syscall(ffff800033e15d20) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddf2a4d5a60, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800033e15b50) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800033e15b50,1,ffff800033dee560) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd806faa3438,c0205602,ffff800033e15b50,1,fffffd807f7d7a28,ffff800033dee560) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807147a810,c0205602,ffff800033e15b50,ffff800033dee560) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800033dee560,ffff800033e15c60,ffff800033e15cb0) at sys_ioctl+0x49e syscall(ffff800033e15d20) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddf2a4d5a60, count: -8