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(ffff800024a21040) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800024a21040,1,ffff80002808cd30) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806efbd6c0,c0205602,ffff800024a21040,1,fffffd807f7d78f0,ffff80002808cd30) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e5876a8,c0205602,ffff800024a21040,ffff80002808cd30) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002808cd30,ffff800024a21158,ffff800024a211b0) at sys_ioctl+0x49e syscall(ffff800024a21220) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4075dad3340, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800029a96620 rbp 0xffff800024a20d90 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x26ae928294f31395 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x8994e1b1227631ac r11 0xeae0afd57417973a r12 0xffff800029a963a0 r13 0xffff800029a96350 r14 0xffff800029a96000 r15 0xffff800024a21040 rip 0xffffffff8218e220 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800024a20be6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.4) pid=261575 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000231e0fd0,0xffffffff829e82d0 process=0xffff800026617388 user=0xffff800024a1c000, vmspace=0xfffffd8066ee1330 estcpu=30, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 48251 430273 41474 0 3 0x80 fsleep syz-executor.4 *48251 261575 41474 0 7 0x4000000 syz-executor.4 8239 83635 96486 0 3 0x80 fsleep syz-executor.2 8239 141062 96486 0 3 0x4000080 pipewr syz-executor.2 8239 484605 96486 0 3 0x4000080 fsleep syz-executor.2 21347 472244 62510 0 2 0x2 syz-executor.1 26740 402712 1 0 3 0x100083 ttyin getty 79254 8162 62510 0 3 0x82 nanoslp syz-executor.6 96486 509534 62510 0 3 0x82 nanoslp syz-executor.2 96780 117479 62510 0 3 0x82 nanoslp syz-executor.3 24330 46703 0 0 3 0x14200 acct acct 62691 257162 62510 0 3 0x82 nanoslp syz-executor.0 91454 418559 62510 0 2 0x2 syz-executor.5 67439 189710 62510 0 3 0x82 nanoslp syz-executor.7 41474 67153 62510 0 3 0x82 nanoslp syz-executor.4 48358 144773 0 0 3 0x14200 bored sosplice 62510 131029 90301 0 3 0x82 thrsleep syz-fuzzer 62510 2165 90301 0 3 0x4000082 nanoslp syz-fuzzer 62510 363849 90301 0 3 0x4000082 thrsleep syz-fuzzer 62510 126614 90301 0 3 0x4000082 kqread syz-fuzzer 62510 156272 90301 0 3 0x4000082 thrsleep syz-fuzzer 62510 364495 90301 0 3 0x4000082 thrsleep syz-fuzzer 62510 292082 90301 0 3 0x4000082 thrsleep syz-fuzzer 62510 212662 90301 0 3 0x4000082 thrsleep syz-fuzzer 62510 231134 90301 0 3 0x4000082 thrsleep syz-fuzzer 90301 444673 89504 0 3 0x10008a sigsusp ksh 89504 509100 66606 0 3 0x9a kqread sshd 66606 368219 1 0 3 0x88 kqread sshd 46952 163338 17598 73 3 0x1100090 kqread syslogd 17598 24653 1 0 3 0x100082 netio syslogd 82307 426718 1 0 3 0x100080 kqread resolvd 1184 270295 64072 77 3 0x100092 kqread dhcpleased 38769 158013 64072 77 3 0x100092 kqread dhcpleased 64072 292175 1 0 3 0x80 kqread dhcpleased 91438 477315 0 0 3 0x14200 bored smr 58797 85468 0 0 2 0x14200 zerothread 51629 351844 0 0 3 0x14200 aiodoned aiodoned 24772 465040 0 0 3 0x14200 syncer update 66858 132640 0 0 3 0x14200 cleaner cleaner 14791 79868 0 0 3 0x14200 reaper reaper 28100 391361 0 0 3 0x14200 pgdaemon pagedaemon 39343 295516 0 0 3 0x14200 bored viomb 16993 191047 0 0 3 0x40014200 acpi0 acpi0 32656 337407 0 0 3 0x14200 bored softnet 69021 3064 0 0 3 0x14200 bored softnet 30685 481633 0 0 3 0x14200 bored softnet 52912 424662 0 0 3 0x14200 bored softnet 52656 383355 0 0 3 0x14200 bored systqmp 92977 382673 0 0 3 0x14200 bored systq 31616 382957 0 0 3 0x40014200 bored softclock 93816 520801 0 0 3 0x40014200 idle0 1 153341 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 10208 6506K 7736K 78643K 47492 0 pcb 13 18K 22K 78643K 8841 0 rtable 231 15K 21K 78643K 6225 0 ifaddr 109 25K 26K 78643K 2569 0 sysctl 3 1K 3K 78643K 75 0 counters 28 17K 17K 78643K 227 0 ioctlops 0 0K 4K 78643K 14447 0 iov 1 0K 40K 78643K 2279 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1565 98K 98K 78643K 12764 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 151 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 3807 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 81K 78643K 24437 0 sigio 0 0K 0K 78643K 208 0 proc 61 59K 83K 78643K 2839 0 subproc 104 6K 7K 78643K 819 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 660 0 in_multi 95 6K 7K 78643K 1053 0 ether_multi 1 0K 0K 78643K 107 0 mrt 1 0K 0K 78643K 464 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 187 837K 837K 78643K 187 0 exec 0 0K 2K 78643K 3977 0 pfkey data 0 0K 0K 78643K 56 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 550 1574K 1575K 78643K 130966 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 1595 0 NDP 15 0K 2K 78643K 359 0 temp 731 5898K 7000K 78643K 316614 0 kqueue 12 18K 26K 78643K 1398 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 931 0 928 6 5 1 3 0 8 0 rtentry 112 1212 0 1111 6 2 4 4 0 8 0 unpcb 144 9158 0 9145 110 106 4 7 0 8 3 syncache 296 90 0 90 27 27 0 1 0 8 0 tcpqe 32 188 88 188 8 8 0 1 0 8 0 tcpcb 736 12946 0 12931 376 369 7 26 0 8 4 arp 88 132 0 114 1 0 1 1 0 8 0 ipq 40 4 0 4 3 3 0 1 0 8 0 ipqe 40 16 0 16 3 3 0 1 0 8 0 inpcb 320 30058 0 30043 361 356 5 18 0 8 3 ip6q 72 367 0 367 5 5 0 1 0 8 0 ip6af 40 751 0 751 5 5 0 1 0 8 0 nd6 48 215 0 191 1 0 1 1 0 8 0 pkpcb 40 86 0 86 12 12 0 1 0 8 0 kcovpl 48 63 0 55 1 0 1 1 0 8 0 ppxss 1160 95 0 95 21 20 1 1 0 8 1 pfstscr 40 85 0 85 5 5 0 1 0 8 0 pfosfp 40 8121 0 8119 2 1 1 1 0 8 0 pfosfpen 112 8121 0 8117 167 166 1 70 0 8 0 pfrktable 1344 1339 0 1339 16 15 1 2 0 8 1 pftag 88 30 0 18 2 1 1 1 0 8 0 pfqueue 264 14 0 14 8 8 0 1 0 8 0 pfstitem 24 6 0 6 3 3 0 1 0 8 0 pfstkey 120 160 0 160 5 5 0 1 0 8 0 pfstate 336 82 19 82 5 5 0 1 0 8 0 pfrule 1360 719 0 719 19 18 1 4 0 8 1 rttmr 136 145 0 145 7 7 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3891 0 3449 60 30 30 31 0 8 0 art_table 32 3892 0 3449 5 1 4 4 0 8 0 art_node 16 1097 0 1010 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semapl 112 3805 0 3795 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 35141 0 33631 95 0 95 95 0 8 0 ffsino 240 35141 0 33631 90 0 90 90 0 8 0 nchpl 144 67903 0 66257 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 236927 0 236926 11 10 1 2 0 8 0 vcpupl 2048 338 0 0 43 0 43 43 0 8 0 vmpool 536 384 0 46 23 0 23 23 0 8 0 pfiaddrpl 120 406 0 406 14 13 1 1 0 8 1 kstatmem 264 428 0 398 6 3 3 3 0 8 0 scsiplug 72 23 0 23 6 6 0 1 0 8 0 scxspl 216 196175 0 196175 34 33 1 8 0 8 1 plimitpl 152 1991 0 1975 1 0 1 1 0 8 0 sigapl 424 24646 0 24600 8 1 7 8 0 8 0 futexpl 64 253031 0 253028 9 8 1 1 0 8 0 knotepl 120 305325 0 305245 119 115 4 15 0 8 0 kqueuepl 184 3983 0 3975 62 60 2 4 0 8 1 pipepl 288 3341 0 3312 75 72 3 7 0 8 0 fdescpl 432 24605 0 24582 5 1 4 4 0 8 0 filepl 120 165907 0 165670 231 219 12 18 0 8 4 lockfpl 104 5857 0 5855 11 10 1 2 0 8 0 lockfspl 48 1615 0 1613 1 0 1 1 0 8 0 sessionpl 144 90 0 74 1 0 1 1 0 8 0 pgrppl 48 134 0 118 1 0 1 1 0 8 0 ucredpl 104 14993 0 14983 1 0 1 1 0 8 0 zombiepl 144 24605 0 24600 4 3 1 1 0 8 0 processpl 1000 24646 0 24600 12 5 7 9 0 8 0 procpl 672 61316 0 61259 26 19 7 9 0 8 0 sosppl 168 132 0 131 21 20 1 1 0 8 0 sockpl 456 40284 0 40250 800 786 14 40 0 8 8 mcl64k 65536 765 0 765 51 50 1 1 0 8 1 mcl16k 16384 275 0 275 51 51 0 1 0 8 0 mcl12k 12288 687 0 687 48 47 1 1 0 8 1 mcl9k 9216 304 0 304 60 59 1 1 0 8 1 mcl8k 8192 2197 0 2197 38 37 1 1 0 8 1 mcl4k 4096 2714 0 2714 26 25 1 1 0 8 1 mcl2k2 2112 161 0 161 54 54 0 1 0 8 0 mcl2k 2048 117837 0 117771 70 60 10 19 0 8 0 mtagpl 96 3589 0 3085 39 25 14 15 0 8 0 mbufpl 256 352713 0 351960 190 138 52 61 0 8 0 bufpl 288 39319 0 32912 458 0 458 458 0 8 0 anonpl 24 5142499 0 5121483 378 227 151 178 0 188 0 amapchunkpl 152 385843 0 385196 120 91 29 41 0 158 0 amappl16 200 104000 0 103053 220 165 55 74 0 8 0 amappl15 192 3228 0 3223 1 0 1 1 0 8 0 amappl14 184 794 0 791 1 0 1 1 0 8 0 amappl13 176 3116 0 3115 1 0 1 1 0 8 0 amappl12 168 2845 0 2843 2 1 1 1 0 8 0 amappl11 160 1039 0 1024 1 0 1 1 0 8 0 amappl10 152 6689 0 6684 1 0 1 1 0 8 0 amappl9 144 3358 0 3355 1 0 1 1 0 8 0 amappl8 136 5754 0 5653 5 1 4 4 0 8 0 amappl7 128 4374 0 4362 1 0 1 1 0 8 0 amappl6 120 3436 0 3420 2 1 1 2 0 8 0 amappl5 112 27458 0 27444 1 0 1 1 0 8 0 amappl4 104 3543 0 3511 2 0 2 2 0 8 0 amappl3 96 73575 0 73535 2 0 2 2 0 8 0 amappl2 88 30887 0 30825 3 1 2 3 0 8 0 amappl1 80 565798 0 565243 31 16 15 19 0 8 1 amappl 88 129037 0 128805 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 24989 0 24628 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 24989 0 24628 3 0 3 3 0 8 0 vmmpekpl 168 154128 0 154038 5 0 5 5 0 8 0 vmmpepl 168 2383127 0 2379629 466 283 183 211 0 357 0 vmsppl 272 24988 0 24628 28 3 25 25 0 8 0 rwobjpl 24 589566 0 581523 56 4 52 52 0 8 0 pdppl 4096 49984 0 49594 1540 1138 402 402 0 8 12 pvpl 32 9595221 0 9575700 610 413 197 247 0 265 0 pmappl 216 24988 0 24628 23 2 21 21 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 3233 0 2008 36 0 36 36 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800024a21040) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800024a21040,1,ffff80002808cd30) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806efbd6c0,c0205602,ffff800024a21040,1,fffffd807f7d78f0,ffff80002808cd30) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e5876a8,c0205602,ffff800024a21040,ffff80002808cd30) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002808cd30,ffff800024a21158,ffff800024a211b0) at sys_ioctl+0x49e syscall(ffff800024a21220) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4075dad3340, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800024a21040) at vm_run+0x213 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800024a21040,1,ffff80002808cd30) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806efbd6c0,c0205602,ffff800024a21040,1,fffffd807f7d78f0,ffff80002808cd30) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e5876a8,c0205602,ffff800024a21040,ffff80002808cd30) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002808cd30,ffff800024a21158,ffff800024a211b0) at sys_ioctl+0x49e syscall(ffff800024a21220) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4075dad3340, count: -8