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(ffff80002e809530) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4463 vmmioctl(a00,c0205602,ffff80002e809530,1,ffff800021664008) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd8074cfb2e8,c0205602,ffff80002e809530,1,fffffd807f7d7660,ffff800021664008) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806a75f4c8,c0205602,ffff80002e809530,ffff800021664008) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021664008,ffff80002e809648,ffff80002e8096a0) at sys_ioctl+0x49e syscall(ffff80002e809710) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52756cecfc0, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800021661598 rbp 0xffff80002e809290 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffe r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xce46e0a13309dfae r11 0xb6d80d8300512e31 r12 0xffff8000216612d0 r13 0xffffffff8297ecc0 dt_prov_static r14 0xffff800021660f80 r15 0xffff80002e809530 rip 0xffffffff81ba0390 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e8090f6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.2) pid=505692 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800021664d28,0xffff80002cdad280 process=0xffff800021622408 user=0xffff80002e804000, vmspace=0xfffffd8079731110 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5912 293284 56165 0 2 0 syz-executor.1 5912 36676 56165 0 2 0x4000480 syz-executor.1 5912 195342 56165 0 3 0x4000080 fsleep syz-executor.1 91155 4429 1499 0 2 0 syz-executor.5 91155 2065 1499 0 3 0x4000080 fsleep syz-executor.5 6263 395451 87727 0 2 0 syz-executor.6 6263 49549 87727 0 3 0x4000080 ttyout syz-executor.6 6263 240871 87727 0 2 0x4000000 syz-executor.6 81324 175111 40557 0 2 0 syz-executor.2 *81324 505692 40557 0 7 0x4000000 syz-executor.2 80921 97054 58663 0 2 0 syz-executor.4 80921 381493 58663 0 3 0x4000080 fsleep syz-executor.4 42022 239660 4776 0 3 0x82 nanoslp syz-executor.7 58663 14428 4776 0 3 0x82 nanoslp syz-executor.4 56165 454903 4776 0 3 0x82 nanoslp syz-executor.1 16123 180306 4776 0 3 0x82 nanoslp syz-executor.0 4738 508285 4776 0 2 0x2 syz-executor.3 87727 1760 4776 0 3 0x82 nanoslp syz-executor.6 40557 35209 4776 0 3 0x82 nanoslp syz-executor.2 1499 345952 4776 0 3 0x82 nanoslp syz-executor.5 78315 185900 0 0 3 0x14280 nfsidl nfsio 93861 375368 0 0 3 0x14280 nfsidl nfsio 2287 93657 0 0 3 0x14280 nfsidl nfsio 10524 245367 0 0 3 0x14280 nfsidl nfsio 7003 70079 0 0 3 0x14280 nfsidl nfsio 75150 470954 0 0 3 0x14280 nfsidl nfsio 18951 6128 0 0 3 0x14280 nfsidl nfsio 66854 135020 0 0 3 0x14280 nfsidl nfsio 3690 42684 0 0 3 0x14280 nfsidl nfsio 24130 467665 0 0 3 0x14280 nfsidl nfsio 55440 371963 0 0 3 0x14280 nfsidl nfsio 26470 173873 0 0 3 0x14280 nfsidl nfsio 29432 14520 0 0 3 0x14280 nfsidl nfsio 44161 499641 0 0 3 0x14280 nfsidl nfsio 78469 278928 1 0 3 0x100083 ttyopn getty 97761 246317 0 0 3 0x14280 nfsidl nfsio 94641 53877 0 0 3 0x14280 nfsidl nfsio 62755 332736 0 0 3 0x14280 nfsidl nfsio 11817 287241 0 0 3 0x14280 nfsidl nfsio 76645 99885 0 0 3 0x14280 nfsidl nfsio 42279 487833 0 0 3 0x14280 nfsidl nfsio 34751 31258 0 0 3 0x14200 bored sosplice 4776 356027 10304 0 3 0x82 thrsleep syz-fuzzer 4776 77634 10304 0 3 0x4000082 nanoslp syz-fuzzer 4776 262488 10304 0 3 0x4000082 thrsleep syz-fuzzer 4776 186980 10304 0 3 0x4000082 thrsleep syz-fuzzer 4776 462243 10304 0 3 0x4000082 kqread syz-fuzzer 4776 138397 10304 0 3 0x4000082 thrsleep syz-fuzzer 4776 131893 10304 0 3 0x4000082 thrsleep syz-fuzzer 4776 216585 10304 0 3 0x4000082 thrsleep syz-fuzzer 10304 137042 89455 0 3 0x10008a sigsusp ksh 89455 208722 60117 0 3 0x9a kqread sshd 60117 155937 1 0 3 0x88 kqread sshd 92392 274790 56791 73 3 0x1100090 kqread syslogd 56791 243104 1 0 3 0x100082 netio syslogd 8237 442172 1 0 3 0x100080 kqread resolvd 97209 137189 58159 77 3 0x100092 kqread dhcpleased 64575 443245 58159 77 3 0x100092 kqread dhcpleased 58159 12822 1 0 3 0x80 kqread dhcpleased 61927 361097 0 0 3 0x14200 bored smr 52383 408511 0 0 2 0x14200 zerothread 28661 331938 0 0 3 0x14200 aiodoned aiodoned 64318 256104 0 0 3 0x14200 syncer update 69790 505270 0 0 3 0x14200 cleaner cleaner 64471 461883 0 0 3 0x14200 reaper reaper 83507 154004 0 0 3 0x14200 pgdaemon pagedaemon 8510 219370 0 0 3 0x14200 bored viomb 32327 223336 0 0 3 0x40014200 acpi0 acpi0 3859 365508 0 0 3 0x14200 bored softnet 70069 443963 0 0 3 0x14200 bored systqmp 78901 396937 0 0 3 0x14200 bored systq 269 23817 0 0 3 0x40014200 bored softclock 54965 270106 0 0 3 0x40014200 idle0 1 141739 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 10210 6445K 6877K 78643K 14302 0 pcb 13 20K 22K 78643K 1186 0 rtable 260 23K 24K 78643K 3630 0 ifaddr 119 28K 29K 78643K 1709 0 sysctl 2 0K 0K 78643K 4 0 counters 28 17K 17K 78643K 184 0 ioctlops 0 0K 4K 78643K 3361 0 iov 0 0K 26K 78643K 5227 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1362 85K 85K 78643K 4146 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 302 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 1562 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 73K 78643K 9934 0 sigio 1 0K 0K 78643K 177 0 proc 62 59K 75K 78643K 1782 0 subproc 104 6K 6K 78643K 572 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 310 0 in_multi 92 6K 7K 78643K 641 0 ether_multi 1 0K 0K 78643K 51 0 mrt 1 0K 0K 78643K 57 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 2929 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 460 1019K 1281K 78643K 54932 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 0 0K 0K 78643K 474 0 NDP 14 0K 1K 78643K 259 0 temp 192 4832K 5088K 78643K 92517 0 kqueue 12 18K 28K 78643K 740 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 903 0 900 15 10 5 5 0 8 4 rtentry 112 608 0 516 5 1 4 4 0 8 1 unpcb 136 8130 0 8117 72 67 5 8 0 8 4 syncache 296 65 0 65 14 13 1 1 0 8 1 tcpqe 32 14 0 14 7 6 1 1 0 8 1 tcpcb 736 3760 0 3752 151 146 5 41 0 8 3 arp 88 101 0 85 1 0 1 1 0 8 0 ipq 40 15 0 15 6 6 0 1 0 8 0 ipqe 40 35 0 35 6 6 0 1 0 8 0 inpcb 312 8581 0 8570 147 136 11 19 0 8 9 nd6 48 137 0 116 1 0 1 1 0 8 0 pkpcb 40 27 0 27 5 5 0 1 0 8 0 kcovpl 48 44 0 36 1 0 1 1 0 8 0 ppxss 1152 68 0 68 17 17 0 1 0 8 0 pfstscr 40 12 0 12 3 3 0 1 0 8 0 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 2 1 0 1 1 0 8 0 pfrke_plain 168 10 0 8 3 2 1 1 0 8 0 pfrktable 1344 643 0 619 8 6 2 3 0 8 0 pftag 88 7 0 1 1 0 1 1 0 8 0 pfstkey 112 19 0 19 3 3 0 1 0 8 0 pfstate 336 12 0 12 3 3 0 1 0 8 0 pfrule 1360 390 0 333 8 3 5 5 0 8 0 rttmrq 48 6 0 0 1 0 1 1 0 8 0 rttmr 72 17 0 17 4 4 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2884 0 2499 56 28 28 30 0 8 0 art_table 32 2885 0 2499 4 0 4 4 0 8 0 art_node 16 604 0 525 1 0 1 1 0 8 0 semapl 112 1560 0 1550 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 15718 0 14226 94 0 94 94 0 8 0 ffsino 240 15718 0 14226 89 0 89 89 0 8 0 nchpl 144 31269 0 29634 63 0 63 63 0 8 0 rtmask 32 20 0 18 3 2 1 1 0 8 0 uvmvnodes 80 6167 0 0 126 0 126 126 0 8 0 vnodes 224 6167 0 0 363 0 363 363 0 8 0 namei 1024 112562 0 112561 6 5 1 2 0 8 0 vcpupl 1984 236 0 0 30 0 30 30 0 8 0 vmpool 528 285 0 49 17 1 16 16 0 8 0 pfiaddrpl 120 204 0 171 1 0 1 1 0 8 0 kstatmem 264 340 0 312 6 3 3 3 0 8 0 scsiplug 72 8 0 8 2 2 0 1 0 8 0 scxspl 216 100758 0 100758 27 26 1 8 0 8 1 plimitpl 152 1752 0 1737 1 0 1 1 0 8 0 sigapl 424 10173 0 10111 12 4 8 8 0 8 0 futexpl 64 105890 0 105887 4 3 1 1 0 8 0 knotepl 120 111199 0 111119 47 40 7 11 0 8 2 kqueuepl 184 2655 0 2647 47 46 1 7 0 8 0 pipepl 304 1850 0 1822 44 41 3 8 0 8 0 fdescpl 432 10125 0 10099 4 0 4 4 0 8 0 filepl 120 77084 0 76845 116 104 12 16 0 8 2 lockfpl 104 2486 0 2484 6 5 1 2 0 8 0 lockfspl 48 564 0 562 1 0 1 1 0 8 0 sessionpl 144 60 0 44 1 0 1 1 0 8 0 pgrppl 48 246 0 230 1 0 1 1 0 8 0 ucredpl 96 9316 0 9305 1 0 1 1 0 8 0 zombiepl 144 10113 0 10111 3 2 1 1 0 8 0 processpl 1000 10173 0 10111 9 1 8 8 0 8 0 procpl 672 25420 0 25344 31 23 8 8 0 8 1 sosppl 168 75 0 75 11 11 0 1 0 8 0 sockpl 448 17650 0 17623 321 302 19 30 0 8 15 mcl64k 65536 365 0 365 26 25 1 1 0 8 1 mcl16k 16384 105 0 105 25 25 0 1 0 8 0 mcl12k 12288 349 0 349 22 21 1 1 0 8 1 mcl9k 9216 138 0 138 26 25 1 1 0 8 1 mcl8k 8192 463 0 463 29 28 1 1 0 8 1 mcl4k 4096 1115 0 1115 12 11 1 1 0 8 1 mcl2k2 2112 90 0 90 28 27 1 1 0 8 1 mcl2k 2048 86723 0 86671 25 17 8 10 0 8 0 mtagpl 96 213 0 213 5 5 0 4 0 8 0 mbufpl 256 211897 0 211620 91 61 30 52 0 8 10 bufpl 288 23859 0 17452 458 0 458 458 0 8 0 anonpl 24 1979025 0 1960335 327 189 138 179 0 188 16 amapchunkpl 152 701698 0 700957 2498 2467 31 657 0 158 0 amappl16 200 29176 0 28511 167 125 42 48 0 8 6 amappl15 192 1457 0 1454 1 0 1 1 0 8 0 amappl14 184 1987 0 1981 1 0 1 1 0 8 0 amappl13 176 322 0 319 1 0 1 1 0 8 0 amappl12 168 1249 0 1244 1 0 1 1 0 8 0 amappl11 160 2074 0 2055 2 1 1 2 0 8 0 amappl10 152 752 0 746 1 0 1 1 0 8 0 amappl9 144 1673 0 1668 1 0 1 1 0 8 0 amappl8 136 2822 0 2716 4 0 4 4 0 8 0 amappl7 128 1762 0 1750 1 0 1 1 0 8 0 amappl6 120 1629 0 1603 2 1 1 2 0 8 0 amappl5 112 7674 0 7663 1 0 1 1 0 8 0 amappl4 104 5492 0 5455 2 0 2 2 0 8 0 amappl3 96 29489 0 29439 2 0 2 2 0 8 0 amappl2 88 11621 0 11555 3 1 2 3 0 8 0 amappl1 80 239810 0 239184 29 14 15 19 0 8 0 amappl 88 53582 0 53354 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 10410 0 10148 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10410 0 10148 2 0 2 2 0 8 0 vmmpekpl 168 71106 0 71024 4 0 4 4 0 8 0 vmmpepl 168 989200 0 986149 341 187 154 155 0 357 6 vmsppl 272 10409 0 10148 19 1 18 18 0 8 0 rwobjpl 24 240468 0 232414 53 3 50 50 0 8 0 pdppl 4096 20826 0 20532 930 630 300 300 0 8 6 pvpl 32 3897513 0 3876229 498 289 209 303 0 265 18 pmappl 216 10409 0 10148 15 0 15 15 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2497 0 1423 32 1 31 32 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e809530) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4463 vmmioctl(a00,c0205602,ffff80002e809530,1,ffff800021664008) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd8074cfb2e8,c0205602,ffff80002e809530,1,fffffd807f7d7660,ffff800021664008) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806a75f4c8,c0205602,ffff80002e809530,ffff800021664008) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021664008,ffff80002e809648,ffff80002e8096a0) at sys_ioctl+0x49e syscall(ffff80002e809710) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52756cecfc0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff80002e809530) at vm_run+0x302 sys/arch/amd64/amd64/vmm.c:4463 vmmioctl(a00,c0205602,ffff80002e809530,1,ffff800021664008) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd8074cfb2e8,c0205602,ffff80002e809530,1,fffffd807f7d7660,ffff800021664008) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806a75f4c8,c0205602,ffff80002e809530,ffff800021664008) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021664008,ffff80002e809648,ffff80002e8096a0) at sys_ioctl+0x49e syscall(ffff80002e809710) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52756cecfc0, count: -8