login: 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(ffff800034233770) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800034233770,1,ffff80002a63ed60) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807591c000,c0205602,ffff800034233770,1,fffffd807f7d78f0,ffff80002a63ed60) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e23dea0,c0205602,ffff800034233770,ffff80002a63ed60) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a63ed60,ffff800034233950,ffff8000342338a0) at sys_ioctl+0x49e syscall(ffff800034233950) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12aea915320, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800034193630 rbp 0xffff8000342334c0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x8000000000000001 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x24e26bfcb732f26d r11 0xa8b5c6653b241938 r12 0xffff8000341933a8 r13 0x246 r14 0xffff800034193000 r15 0xac000400 rip 0xffffffff82274afb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800034233326 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.3) tid=371055 pid=68968 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a63f800,0xffff80002a6a7818 process=0xffff800034373260 user=0xffff80003422e000, vmspace=0xfffffd80619ca2e8 estcpu=36, cpticks=19, pctcpu=0.0, user=0, sys=19, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67208 494854 11376 0 2 0 syz-executor.0 67208 111430 11376 0 3 0x4000080 fsleep syz-executor.0 11404 352603 15052 0 2 0 syz-executor.1 11404 249916 15052 0 3 0x4000080 fsleep syz-executor.1 68968 505626 15257 0 2 0 syz-executor.3 *68968 371055 15257 0 7 0x4000000 syz-executor.3 25181 270618 32645 0 2 0 syz-executor.6 25181 519191 32645 0 3 0x4000080 fsleep syz-executor.6 79497 394354 84682 0 2 0 syz-executor.4 79497 118021 84682 0 2 0x4000000 syz-executor.4 33073 249582 56307 0 2 0 syz-executor.5 33073 161617 56307 0 3 0x4000080 netio syz-executor.5 37464 494799 2111 0 2 0x480 syz-executor.7 37464 211642 2111 0 2 0x4000080 syz-executor.7 37464 239563 2111 0 3 0x4000080 fsleep syz-executor.7 36099 225440 1 0 3 0x100083 ttyin getty 84682 371017 47685 0 2 0x482 syz-executor.4 32645 37133 47685 0 2 0x482 syz-executor.6 2111 130321 47685 0 2 0x482 syz-executor.7 15052 375926 47685 0 2 0x482 syz-executor.1 56307 495400 47685 0 2 0x482 syz-executor.5 11376 300102 47685 0 2 0x482 syz-executor.0 15257 130983 47685 0 2 0x482 syz-executor.3 14555 153828 47685 0 2 0x2 syz-executor.2 64656 129596 0 0 3 0x14280 nfsidl nfsio 57448 447161 0 0 3 0x14280 nfsidl nfsio 16385 157720 0 0 3 0x14280 nfsidl nfsio 65981 110547 0 0 3 0x14280 nfsidl nfsio 48197 399006 0 0 3 0x14280 nfsidl nfsio 12562 214548 0 0 3 0x14280 nfsidl nfsio 64791 351117 0 0 3 0x14280 nfsidl nfsio 69783 136419 0 0 3 0x14280 nfsidl nfsio 89723 376939 0 0 3 0x14280 nfsidl nfsio 85843 242639 0 0 3 0x14280 nfsidl nfsio 4530 281879 0 0 3 0x14280 nfsidl nfsio 27281 383109 0 0 3 0x14280 nfsidl nfsio 87578 290058 0 0 3 0x14280 nfsidl nfsio 45136 330407 0 0 3 0x14280 nfsidl nfsio 14505 80417 0 0 3 0x14280 nfsidl nfsio 62659 505464 0 0 3 0x14280 nfsidl nfsio 81020 344646 0 0 3 0x14280 nfsidl nfsio 38931 129477 0 0 3 0x14280 nfsidl nfsio 81936 244879 0 0 3 0x14280 nfsidl nfsio 49464 417369 0 0 3 0x14280 nfsidl nfsio 79167 129103 0 0 3 0x14200 acct acct 74927 262047 0 0 3 0x14200 bored sosplice 47685 36443 1508 0 3 0x2000082 wait syz-fuzzer 47685 292985 1508 0 2 0x6000002 syz-fuzzer 47685 181890 1508 0 3 0x6000082 wait syz-fuzzer 47685 363459 1508 0 3 0x6000082 thrsleep syz-fuzzer 47685 403889 1508 0 3 0x6000082 wait syz-fuzzer 47685 254321 1508 0 3 0x6000082 thrsleep syz-fuzzer 47685 61445 1508 0 3 0x6000082 wait syz-fuzzer 47685 423559 1508 0 3 0x6000082 wait syz-fuzzer 47685 473413 1508 0 3 0x6000082 kqread syz-fuzzer 47685 464539 1508 0 3 0x6000082 thrsleep syz-fuzzer 47685 402039 1508 0 3 0x6000082 wait syz-fuzzer 47685 63729 1508 0 3 0x6000082 wait syz-fuzzer 47685 74009 1508 0 3 0x6000082 thrsleep syz-fuzzer 47685 267702 1508 0 3 0x6000082 wait syz-fuzzer 1508 333919 27701 0 3 0x10008a sigsusp ksh 27701 316288 11828 0 3 0x9a kqread sshd 11828 353812 1 0 3 0x88 kqread sshd 10078 482133 96003 73 3 0x1100090 kqread syslogd 96003 484797 1 0 3 0x100082 netio syslogd 15573 106610 1 0 3 0x100080 kqread resolvd 9245 473367 68844 77 3 0x100092 kqread dhcpleased 5277 508505 68844 77 3 0x100092 kqread dhcpleased 68844 288517 1 0 3 0x80 kqread dhcpleased 72257 252038 0 0 3 0x14200 bored smr 62120 415938 0 0 2 0x14200 zerothread 58509 513656 0 0 3 0x14200 aiodoned aiodoned 98216 397746 0 0 3 0x14200 syncer update 99264 106870 0 0 3 0x14200 cleaner cleaner 11058 208336 0 0 3 0x14200 reaper reaper 47484 228993 0 0 3 0x14200 pgdaemon pagedaemon 24677 322661 0 0 3 0x14200 bored viomb 69636 501107 0 0 3 0x40014200 acpi0 acpi0 8998 432187 0 0 3 0x14200 bored softnet3 69456 284834 0 0 3 0x14200 bored softnet2 34859 387505 0 0 3 0x14200 bored softnet1 68734 55207 0 0 3 0x14200 bored softnet0 31438 150752 0 0 3 0x14200 bored systqmp 94303 472362 0 0 3 0x14200 bored systq 91870 203314 0 0 2 0x40014200 softclock 2531 462647 0 0 3 0x40014200 idle0 1 159287 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 10179 6421K 6931K 166960K 16141 0 pcb 15 14K 16K 166960K 242 0 rtable 201 14K 17K 166960K 1245 0 pf 33 9K 10K 166960K 142 0 ifaddr 39 10K 12K 166960K 177 0 ifgroup 58 2K 2K 166960K 247 0 sysctl 2 0K 0K 166960K 2 0 counters 32 17K 17K 166960K 78 0 ioctlops 0 0K 2K 166960K 226 0 iov 1 16K 32K 166960K 321 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 88K 166960K 2823 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 95 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 585 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 73K 166960K 3380 0 sigio 0 0K 0K 166960K 35 0 proc 58 59K 100K 166960K 1330 0 subproc 104 6K 6K 166960K 442 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 109 0 in_multi 77 5K 7K 166960K 409 0 ether_multi 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 1191 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 398 324K 325K 166960K 32019 0 UVM aobj 131 4K 4K 166960K 144 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 121 0 NDP 13 0K 1K 166960K 125 0 temp 75 6780K 6860K 166960K 24458 0 kqueue 12 18K 26K 166960K 249 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 154 0 151 1 0 1 1 0 8 0 rtentry 112 420 0 331 4 0 4 4 0 8 0 unpcb 144 2681 0 2666 12 6 6 7 0 8 5 syncache 320 39 0 39 2 1 1 1 0 8 1 tcpqe 32 247 0 247 2 1 1 1 0 8 1 tcpcb 808 1277 0 1264 23 12 11 17 0 8 8 arp 88 74 0 60 1 0 1 1 0 8 0 ipq 40 4 0 4 1 0 1 1 0 8 1 ipqe 40 13 0 13 1 0 1 1 0 8 1 inpcb 344 3010 0 2994 24 13 11 18 0 8 8 nd6 104 102 0 83 1 0 1 1 0 8 0 pkpcb 40 49 0 49 2 1 1 1 0 8 1 kcovpl 48 34 0 26 1 0 1 1 0 8 0 ppxss 1072 6 0 6 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1652 0 1279 48 19 29 29 0 8 2 art_table 32 1653 0 1279 4 0 4 4 0 8 0 art_node 16 416 0 335 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semapl 112 583 0 573 1 0 1 1 0 8 0 shmpl 112 141 0 13 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5383 0 3937 91 0 91 91 0 8 0 ffsino 240 5383 0 3937 86 0 86 86 0 8 0 nchpl 144 9856 0 8198 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 34131 0 34130 3 2 1 3 0 8 0 vcpupl 2048 33 0 0 5 0 5 5 0 8 0 vmpool 664 33 0 0 3 0 3 3 0 8 0 kstatmem 264 118 0 92 2 0 2 2 0 8 0 scxspl 216 37105 0 37105 9 7 2 8 1 8 2 plimitpl 152 341 0 326 1 0 1 1 0 8 0 sigapl 424 3637 0 3571 8 0 8 8 0 8 0 futexpl 64 29849 0 29845 1 0 1 1 0 8 0 knotepl 120 29993 0 29911 10 0 10 10 0 8 7 kqueuepl 184 666 0 658 9 2 7 7 0 8 6 pipepl 288 1126 0 1097 11 4 7 7 0 8 4 fdescpl 432 3597 0 3569 4 0 4 4 0 8 0 filepl 120 20632 0 20385 20 6 14 14 0 8 4 lockfpl 104 1067 0 1065 2 0 2 2 0 8 1 lockfspl 48 405 0 403 1 0 1 1 0 8 0 sessionpl 144 50 0 34 1 0 1 1 0 8 0 pgrppl 48 104 0 88 1 0 1 1 0 8 0 ucredpl 104 2394 0 2383 1 0 1 1 0 8 0 zombiepl 144 3571 0 3571 2 1 1 1 0 8 1 processpl 1072 3637 0 3571 5 0 5 5 0 8 0 procpl 680 8142 0 8055 10 1 9 9 0 8 1 sosppl 168 24 0 24 2 1 1 1 0 8 1 sockpl 488 5899 0 5865 95 83 12 26 0 8 7 mcl64k 65536 123 0 123 2 1 1 1 0 8 1 mcl16k 16384 77 0 77 2 1 1 1 0 8 1 mcl12k 12288 112 0 112 2 1 1 1 0 8 1 mcl9k 9216 45 0 45 2 1 1 1 0 8 1 mcl8k 8192 166 0 166 1 0 1 1 0 8 1 mcl4k 4096 351 0 351 2 1 1 1 0 8 1 mcl2k2 2112 39 0 39 2 1 1 1 0 8 1 mcl2k 2048 75102 0 75051 36 24 12 31 0 8 4 mtagpl 96 615 0 462 7 0 7 7 0 8 3 mbufpl 256 154698 0 154407 74 52 22 60 0 8 1 bufpl 280 9923 0 3531 457 0 457 457 0 8 0 anonpl 24 535654 0 521719 165 19 146 146 0 188 51 amapchunkpl 152 105499 0 104604 74 10 64 64 0 158 26 amappl16 200 9969 0 9575 34 5 29 34 0 8 7 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 227 0 216 2 1 1 2 0 8 0 amappl13 176 23 0 22 1 0 1 1 0 8 0 amappl12 168 4643 0 4613 2 0 2 2 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 55 0 46 1 0 1 1 0 8 0 amappl9 144 181 0 180 1 0 1 1 0 8 0 amappl8 136 372 0 305 3 0 3 3 0 8 0 amappl7 128 235 0 211 2 0 2 2 0 8 0 amappl6 120 643 0 632 1 0 1 1 0 8 0 amappl5 112 187 0 178 1 0 1 1 0 8 0 amappl4 104 610 0 586 2 1 1 2 0 8 0 amappl3 96 20390 0 20294 3 0 3 3 0 8 0 amappl2 88 4245 0 4173 3 1 2 3 0 8 0 amappl1 80 22968 0 22449 22 10 12 22 0 8 0 amappl 88 31217 0 30963 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 143 0 13 3 0 3 3 0 8 0 uaddrrnd 24 3630 0 3569 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3630 0 3569 1 0 1 1 0 8 0 vmmpekpl 168 32324 0 32260 4 0 4 4 0 8 0 vmmpepl 168 241787 0 239510 145 20 125 125 0 357 20 vmsppl 352 3629 0 3569 6 0 6 6 0 8 0 rwobjpl 24 66469 0 58966 46 0 46 46 0 8 0 pdppl 4096 7266 0 7171 296 199 97 97 0 8 2 pvpl 32 1282244 0 1262251 449 174 275 335 0 265 100 pmappl 216 3629 0 3569 4 0 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 697 0 318 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800034233770) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800034233770,1,ffff80002a63ed60) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807591c000,c0205602,ffff800034233770,1,fffffd807f7d78f0,ffff80002a63ed60) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e23dea0,c0205602,ffff800034233770,ffff80002a63ed60) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a63ed60,ffff800034233950,ffff8000342338a0) at sys_ioctl+0x49e syscall(ffff800034233950) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12aea915320, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800034233770) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800034233770,1,ffff80002a63ed60) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807591c000,c0205602,ffff800034233770,1,fffffd807f7d78f0,ffff80002a63ed60) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805e23dea0,c0205602,ffff800034233770,ffff80002a63ed60) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a63ed60,ffff800034233950,ffff8000342338a0) at sys_ioctl+0x49e syscall(ffff800034233950) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12aea915320, count: -8