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(ffff800035be1ca0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035be1ca0,1,ffff8000343aaac0) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807e82e1b0,c0205602,ffff800035be1ca0,1,fffffd807f7d7680,ffff8000343aaac0) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80696cba68,c0205602,ffff800035be1ca0,ffff8000343aaac0) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000343aaac0,ffff800035be1db0,ffff800035be1e00) at sys_ioctl+0x49e syscall(ffff800035be1e70) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe6a2e95e720, count: -8 ddb> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002a695630 rbp 0xffff800035be19f0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x8a8e0fadce22a3d2 r11 0xe5a4af347832351c r12 0xffff80002a6953a8 r13 0xffff800035be1926 r14 0xffff80002a695000 r15 0x246 rip 0xffffffff8121cd3b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800035be1856 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb> show proc PROC (syz-executor.3) tid=145074 pid=6721 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=0xffff80002a61a800,0xffffffff82c6c410 process=0xffff80002a6febe0 user=0xffff800035bdc000, vmspace=0xfffffd80680fdd08 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 6721 236367 54045 0 2 0 syz-executor.3 * 6721 145074 54045 0 7 0x4000000 syz-executor.3 65229 518771 29486 0 2 0 syz-executor.1 65229 71928 29486 0 3 0x4000080 fsleep syz-executor.1 65229 212167 29486 0 3 0x4000080 fsleep syz-executor.1 53133 448940 63993 0 2 0x480 syz-executor.4 53133 67665 63993 0 3 0x4000080 fsleep syz-executor.4 46578 216218 51652 0 2 0 syz-executor.5 46578 313386 51652 0 3 0x4000000 biowait syz-executor.5 46578 54718 51652 0 3 0x4000080 fsleep syz-executor.5 54045 283429 5482 0 3 0x82 nanoslp syz-executor.3 29486 494356 5482 0 2 0x482 syz-executor.1 9417 32263 5482 0 2 0x482 syz-executor.2 63993 31512 5482 0 3 0x82 nanoslp syz-executor.4 79911 451999 5482 0 2 0x482 syz-executor.7 49331 340372 1 0 3 0x100083 ttyin getty 64428 135281 0 0 3 0x14280 nfsidl nfsio 47208 501606 0 0 3 0x14280 nfsidl nfsio 75828 434606 0 0 3 0x14280 nfsidl nfsio 29753 517522 0 0 3 0x14280 nfsidl nfsio 76017 491890 0 0 3 0x14280 nfsidl nfsio 50896 395386 0 0 3 0x14280 nfsidl nfsio 74861 31210 0 0 3 0x14280 nfsidl nfsio 9206 267574 0 0 3 0x14280 nfsidl nfsio 25660 521903 0 0 3 0x14280 nfsidl nfsio 16502 8856 0 0 3 0x14280 nfsidl nfsio 8801 423538 0 0 3 0x14280 nfsidl nfsio 633 234354 0 0 3 0x14280 nfsidl nfsio 50470 322639 0 0 3 0x14280 nfsidl nfsio 59273 405017 0 0 3 0x14280 nfsidl nfsio 58058 451511 0 0 3 0x14280 nfsidl nfsio 55787 334028 0 0 3 0x14280 nfsidl nfsio 58457 454884 0 0 3 0x14280 nfsidl nfsio 33491 303367 0 0 3 0x14280 nfsidl nfsio 91317 456320 0 0 3 0x14280 nfsidl nfsio 41085 479701 0 0 3 0x14280 nfsidl nfsio 98938 63649 0 0 3 0x14200 bored sosplice 46506 478976 5482 0 2 0x482 syz-executor.6 51652 448489 5482 0 3 0x82 nanoslp syz-executor.5 53642 310610 5482 0 2 0x2 syz-executor.0 5482 432081 68637 0 3 0x2000082 thrsleep syz-fuzzer 5482 98446 68637 0 3 0x6000082 nanoslp syz-fuzzer 5482 174796 68637 0 3 0x6000082 wait syz-fuzzer 5482 237660 68637 0 3 0x6000082 thrsleep syz-fuzzer 5482 55002 68637 0 3 0x6000082 wait syz-fuzzer 5482 95613 68637 0 3 0x6000082 wait syz-fuzzer 5482 190423 68637 0 3 0x6000082 wait syz-fuzzer 5482 153699 68637 0 3 0x6000082 thrsleep syz-fuzzer 5482 23866 68637 0 3 0x6000082 wait syz-fuzzer 5482 240414 68637 0 3 0x6000082 thrsleep syz-fuzzer 5482 406639 68637 0 3 0x6000082 wait syz-fuzzer 5482 355266 68637 0 3 0x6000082 wait syz-fuzzer 5482 294365 68637 0 3 0x6000082 wait syz-fuzzer 5482 440781 68637 0 3 0x6000082 kqread syz-fuzzer 68637 449914 30653 0 3 0x10008a sigsusp ksh 30653 364384 21618 0 3 0x9a kqread sshd 21618 348462 1 0 3 0x88 kqread sshd 28093 111393 29431 73 3 0x1100090 kqread syslogd 29431 149070 1 0 3 0x100082 netio syslogd 4518 52205 1 0 3 0x100080 kqread resolvd 61396 369804 67130 77 3 0x100092 kqread dhcpleased 33450 146408 67130 77 3 0x100092 kqread dhcpleased 67130 197377 1 0 3 0x80 kqread dhcpleased 75424 153211 0 0 3 0x14200 bored smr 9405 279517 0 0 2 0x14200 zerothread 27484 100061 0 0 3 0x14200 aiodoned aiodoned 41296 91166 0 0 3 0x14200 syncer update 17102 118857 0 0 3 0x14200 cleaner cleaner 75143 410895 0 0 3 0x14200 reaper reaper 6867 472515 0 0 3 0x14200 pgdaemon pagedaemon 50696 52942 0 0 3 0x14200 bored viomb 9854 197194 0 0 3 0x40014200 acpi0 acpi0 64338 46393 0 0 3 0x14200 bored softnet3 60009 276865 0 0 3 0x14200 bored softnet2 60584 123968 0 0 3 0x14200 bored softnet1 44606 13549 0 0 3 0x14200 bored softnet0 77712 464326 0 0 3 0x14200 bored systqmp 82059 342960 0 0 3 0x14200 bored systq 46272 125514 0 0 2 0x40014200 softclock 82946 442688 0 0 3 0x40014200 idle0 1 373172 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 10174 6412K 7039K 166960K 19132 0 pcb 13 14K 16K 166960K 278 0 rtable 224 14K 15K 166960K 775 0 pf 29 8K 9K 166960K 126 0 ifaddr 40 11K 11K 166960K 123 0 ifgroup 50 2K 2K 166960K 215 0 sysctl 3 0K 0K 166960K 3 0 counters 28 17K 17K 166960K 67 0 ioctlops 0 0K 2K 166960K 337 0 iov 0 0K 18K 166960K 364 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1476 92K 93K 166960K 5112 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 46 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 446 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 73K 166960K 3123 0 sigio 1 0K 0K 166960K 256 0 proc 57 59K 75K 166960K 888 0 subproc 104 6K 6K 166960K 253 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 92 0 in_multi 88 6K 7K 166960K 256 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 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 973 0 pfkey data 0 0K 2K 166960K 7 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 381 249K 258K 166960K 30489 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 83 0 NDP 13 0K 1K 166960K 90 0 temp 74 5920K 6132K 166960K 47098 0 kqueue 12 18K 24K 166960K 216 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 210 0 207 3 2 1 3 0 8 0 rtentry 112 249 0 147 4 0 4 4 0 8 0 unpcb 144 8870 0 8857 32 29 3 12 0 8 2 syncache 312 37 0 37 6 6 0 1 0 8 0 tcpqe 32 382 0 382 7 7 0 1 0 8 0 tcpcb 808 646 0 634 15 10 5 8 0 8 2 arp 88 40 0 24 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 1888 0 1869 29 21 8 13 0 8 5 nd6 104 65 0 41 1 0 1 1 0 8 0 pkpcb 40 4767 0 4767 8 7 1 3 0 8 1 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1160 6 0 6 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1036 0 613 36 9 27 30 0 8 0 art_table 32 1037 0 613 5 1 4 4 0 8 0 art_node 16 245 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 2 2 0 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 444 0 434 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 5477 0 4004 93 0 93 93 0 8 0 ffsino 240 5477 0 4004 87 0 87 87 0 8 0 nchpl 144 9894 0 9397 63 41 22 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 37524 0 37522 3 2 1 3 0 8 0 vcpupl 2048 28 0 0 4 0 4 4 0 8 0 vmpool 664 33 0 5 3 0 3 3 0 8 0 kstatmem 264 100 0 78 2 0 2 2 0 8 0 scxspl 216 31561 0 31560 17 16 1 8 1 8 0 plimitpl 152 356 0 341 1 0 1 1 0 8 0 sigapl 424 3425 0 3360 8 0 8 8 0 8 0 futexpl 64 34761 0 34757 1 0 1 1 0 8 0 knotepl 120 40127 0 40047 12 9 3 11 0 8 0 kqueuepl 184 548 0 539 10 9 1 4 0 8 0 pipepl 288 697 0 669 19 16 3 7 0 8 0 fdescpl 432 3385 0 3360 4 0 4 4 0 8 0 filepl 120 33301 0 33060 53 42 11 23 0 8 3 lockfpl 104 984 0 981 2 1 1 2 0 8 0 lockfspl 48 416 0 413 1 0 1 1 0 8 0 sessionpl 144 35 0 19 1 0 1 1 0 8 0 pgrppl 48 1489 0 1473 1 0 1 1 0 8 0 ucredpl 104 3147 0 3132 1 0 1 1 0 8 0 zombiepl 144 3363 0 3360 1 0 1 1 0 8 0 processpl 1008 3425 0 3360 10 1 9 9 0 8 0 procpl 680 7910 0 7826 11 3 8 9 0 8 0 sosppl 168 13 0 13 2 2 0 1 0 8 0 sockpl 456 15814 0 15779 369 356 13 56 0 8 7 mcl64k 65536 152 0 152 4 3 1 1 0 8 1 mcl16k 16384 100 0 100 6 5 1 1 0 8 1 mcl12k 12288 142 0 142 3 2 1 1 0 8 1 mcl9k 9216 68 0 68 7 6 1 1 0 8 1 mcl8k 8192 374 0 374 4 3 1 1 0 8 1 mcl4k 4096 468 0 468 2 1 1 1 0 8 1 mcl2k2 2112 26 0 26 6 6 0 1 0 8 0 mcl2k 2048 74409 0 74361 31 23 8 16 0 8 1 mtagpl 96 463 0 394 7 5 2 6 0 8 0 mbufpl 256 155588 0 155390 212 192 20 84 0 8 0 bufpl 288 10529 0 4132 458 0 458 458 0 8 0 anonpl 24 354181 0 342370 129 40 89 107 0 188 0 amapchunkpl 152 94661 0 93864 50 14 36 41 0 158 1 amappl16 200 6679 0 6231 69 44 25 37 0 8 0 amappl14 184 175 0 162 2 1 1 2 0 8 0 amappl12 168 4165 0 4138 2 0 2 2 0 8 0 amappl11 160 42 0 31 1 0 1 1 0 8 0 amappl10 152 25 0 16 1 0 1 1 0 8 0 amappl9 144 48 0 47 2 1 1 1 0 8 0 amappl8 136 259 0 185 3 0 3 3 0 8 0 amappl7 128 188 0 164 2 0 2 2 0 8 0 amappl6 120 430 0 420 1 0 1 1 0 8 0 amappl5 112 158 0 150 1 0 1 1 0 8 0 amappl4 104 500 0 479 2 1 1 2 0 8 0 amappl3 96 19982 0 19901 3 0 3 3 0 8 0 amappl2 88 4098 0 4027 3 1 2 3 0 8 0 amappl1 80 20928 0 20418 22 11 11 22 0 8 0 amappl 88 29777 0 29556 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 3418 0 3365 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3418 0 3365 1 0 1 1 0 8 0 vmmpekpl 168 28601 0 28528 4 0 4 4 0 8 0 vmmpepl 168 218618 0 216432 173 57 116 119 0 357 7 vmsppl 368 3417 0 3365 6 0 6 6 0 8 1 rwobjpl 24 59865 0 52334 48 1 47 47 0 8 0 pdppl 4096 6842 0 6758 264 173 91 91 0 8 7 pvpl 32 1037688 0 1020619 362 198 164 333 0 265 0 pmappl 216 3417 0 3365 4 0 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1297 0 469 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800035be1ca0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035be1ca0,1,ffff8000343aaac0) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807e82e1b0,c0205602,ffff800035be1ca0,1,fffffd807f7d7680,ffff8000343aaac0) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80696cba68,c0205602,ffff800035be1ca0,ffff8000343aaac0) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000343aaac0,ffff800035be1db0,ffff800035be1e00) at sys_ioctl+0x49e syscall(ffff800035be1e70) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe6a2e95e720, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace done_flush() at done_flush+0x38 vm_run(ffff800035be1ca0) at vm_run+0x163 vmmioctl(a00,c0205602,ffff800035be1ca0,1,ffff8000343aaac0) at vmmioctl+0x299 sys/dev/vmm/vmm.c:242 VOP_IOCTL(fffffd807e82e1b0,c0205602,ffff800035be1ca0,1,fffffd807f7d7680,ffff8000343aaac0) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80696cba68,c0205602,ffff800035be1ca0,ffff8000343aaac0) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000343aaac0,ffff800035be1db0,ffff800035be1e00) at sys_ioctl+0x49e syscall(ffff800035be1e70) at syscall+0x543 sys/arch/amd64/amd64/trap.c:606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe6a2e95e720, count: -8