z_|aR#6uJ,Tm!,hq0iL{ǫהzF0H/n)d,aWfGM>>foJ-zo;9u '='M@n X7}:^A3{MiWq^eR^%Hqdfu0ΩV@j']eWՇ_Xo8pDMcI½9&:GIKQxV#)z|δkernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e419540) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4462 vmmioctl(a00,c0205602,ffff80002e419540,3,ffff8000fffe47f0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd806e1bfbb0,c0205602,ffff80002e419540,3,fffffd807f7d77e0,ffff8000fffe47f0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807490a300,c0205602,ffff80002e419540,ffff8000fffe47f0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000fffe47f0,ffff80002e419658,ffff80002e4196b0) at sys_ioctl+0x4a2 syscall(ffff80002e419720) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e419720) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7157193d2c0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002c94de38 rbp 0xffff80002e4192a0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x31656c69662f2e r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x30ba71c87ae1122c r11 0x4380b6fa86a2c73f r12 0xffffffff8293e210 dt_prov_static r13 0x246 r14 0xffff80002c94d800 r15 0xffff80002e419540 rip 0xffffffff81a61440 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e4190f6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.1) pid=378471 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffe4550,0xffff8000fffe4aa0 process=0xffff8000fffe2160 user=0xffff80002e414000, vmspace=0xfffffd807473d5e0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 41058 172342 46522 0 2 0 syz-executor.3 41058 437356 46522 0 2 0x4000000 syz-executor.3 88028 472461 45198 0 2 0 syz-executor.4 88028 13510 45198 0 3 0x4000080 fsleep syz-executor.4 43209 440897 21901 0 2 0 syz-executor.2 43209 209612 21901 0 3 0x4000080 fsleep syz-executor.2 43209 256690 21901 0 3 0x4000080 fsleep syz-executor.2 11171 254341 42229 0 2 0 syz-executor.1 *11171 378471 42229 0 7 0x4000000 syz-executor.1 43440 403582 20626 0 2 0 syz-executor.0 43440 408358 20626 0 3 0x4000080 fsleep syz-executor.0 66518 123612 63001 0 2 0 syz-executor.6 66518 414196 63001 0 3 0x4000080 fsleep syz-executor.6 30990 315933 47494 0 2 0 syz-executor.7 30990 65798 47494 0 3 0x4000080 fsleep syz-executor.7 91745 54338 904 0 2 0 syz-executor.5 91745 251860 904 0 3 0x4000080 kqpoll syz-executor.5 91745 22355 904 0 3 0x4000080 fsleep syz-executor.5 45198 482661 30387 0 3 0x82 nanoslp syz-executor.4 21901 79566 30387 0 3 0x82 nanoslp syz-executor.2 904 474523 30387 0 3 0x82 nanoslp syz-executor.5 42229 154727 30387 0 3 0x82 nanoslp syz-executor.1 63001 260349 30387 0 3 0x82 nanoslp syz-executor.6 46522 303028 30387 0 3 0x82 nanoslp syz-executor.3 47494 267593 30387 0 3 0x82 nanoslp syz-executor.7 20626 183311 30387 0 3 0x82 nanoslp syz-executor.0 65963 319265 0 0 3 0x14200 bored sosplice 86112 464760 0 0 3 0x14280 nfsidl nfsio 80125 313992 0 0 3 0x14280 nfsidl nfsio 13830 166552 0 0 3 0x14280 nfsidl nfsio 24696 38765 0 0 3 0x14280 nfsidl nfsio 66542 517024 0 0 3 0x14280 nfsidl nfsio 24023 290919 0 0 3 0x14280 nfsidl nfsio 575 442650 0 0 3 0x14280 nfsidl nfsio 92822 313712 0 0 3 0x14280 nfsidl nfsio 80110 71571 0 0 3 0x14280 nfsidl nfsio 26824 333442 0 0 3 0x14280 nfsidl nfsio 2118 255442 0 0 3 0x14280 nfsidl nfsio 73064 364897 0 0 3 0x14280 nfsidl nfsio 66176 315008 0 0 3 0x14280 nfsidl nfsio 89092 172712 0 0 3 0x14280 nfsidl nfsio 16836 241630 0 0 3 0x14280 nfsidl nfsio 3045 361159 0 0 3 0x14280 nfsidl nfsio 89539 251770 0 0 3 0x14280 nfsidl nfsio 2980 126471 0 0 3 0x14280 nfsidl nfsio 85272 480769 0 0 3 0x14280 nfsidl nfsio 61703 107957 0 0 3 0x14280 nfsidl nfsio 30387 440839 78468 0 3 0x82 thrsleep syz-fuzzer 30387 366910 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 286562 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 466392 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 260401 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 471352 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 280986 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 460770 78468 0 3 0x4000082 thrsleep syz-fuzzer 30387 224982 78468 0 3 0x4000082 kqread syz-fuzzer 30387 309290 78468 0 3 0x4000082 thrsleep syz-fuzzer 78468 41059 37273 0 3 0x10008a sigsusp ksh 37273 415823 33585 0 3 0x9a kqread sshd 83688 324493 1 0 3 0x100083 ttyin getty 33585 306879 1 0 3 0x88 kqread sshd 80991 5102 74570 74 3 0x1100092 bpf pflogd 74570 175319 1 0 3 0x80 netio pflogd 42524 503907 1214 73 3 0x1100090 kqread syslogd 1214 155855 1 0 3 0x100082 netio syslogd 4279 289308 1 0 3 0x100080 kqread resolvd 22462 321536 48198 77 3 0x100092 kqread dhcpleased 30228 190085 48198 77 3 0x100092 kqread dhcpleased 48198 143966 1 0 3 0x80 kqread dhcpleased 20525 365388 0 0 3 0x14200 bored smr 97950 399172 0 0 2 0x14200 zerothread 79182 6897 0 0 3 0x14200 aiodoned aiodoned 10131 267708 0 0 3 0x14200 syncer update 82287 333897 0 0 3 0x14200 cleaner cleaner 33097 511129 0 0 3 0x14200 reaper reaper 77322 380738 0 0 3 0x14200 pgdaemon pagedaemon 47654 475186 0 0 3 0x14200 bored viomb 61656 106843 0 0 3 0x40014200 acpi0 acpi0 5918 231820 0 0 7 0x40014200 idle1 97042 245605 0 0 3 0x14200 bored softnet 93266 197666 0 0 3 0x14200 bored softnet 9597 209866 0 0 3 0x14200 bored softnet 88886 410926 0 0 3 0x14200 bored softnet 3004 245296 0 0 3 0x14200 bored systqmp 2146 15054 0 0 3 0x14200 bored systq 67485 294633 0 0 3 0x40014200 bored softclock 60229 496282 0 0 3 0x40014200 idle0 1 257514 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 11171 (syz-executor.1) thread 0xffff8000fffe47f0 (378471) exclusive rwlock vcpu r = 0 (0xffff80002c94dbb0) #0 witness_lock+0x44d #1 vm_run+0x2e0 sys/arch/amd64/amd64/vmm.c:4429 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #5 sys_ioctl+0x4a2 #6 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10200 6562K 7300K 78643K 17147 0 pcb 13 12K 14K 78643K 620 0 rtable 276 15K 16K 78643K 1300 0 ifaddr 103 21K 22K 78643K 611 0 sysctl 2 0K 0K 78643K 4 0 counters 56 35K 35K 78643K 132 0 ioctlops 0 0K 4K 78643K 2452 0 iov 0 0K 16K 78643K 401 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1399 87K 88K 78643K 3658 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 38 0 VM map 2 1K 1K 78643K 2 0 sem 28 3K 3K 78643K 482 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 89K 78643K 4201 0 sigio 0 0K 0K 78643K 62 0 proc 71 91K 140K 78643K 1151 0 subproc 104 6K 6K 78643K 325 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 268 0 in_multi 100 6K 6K 78643K 425 0 ether_multi 1 0K 0K 78643K 19 0 mrt 2 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 2K 78643K 1544 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 363 371K 371K 78643K 24756 0 UVM aobj 87 8K 8K 78643K 88 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 86 0 NDP 14 0K 1K 78643K 110 0 temp 140 4736K 4812K 78643K 38647 0 kqueue 12 18K 24K 78643K 314 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 204 0 201 2 1 1 2 0 8 0 rtentry 112 353 0 241 5 1 4 4 0 8 0 unpcb 136 2296 0 2281 19 18 1 7 0 8 0 syncache 296 11 0 11 4 4 0 1 0 8 0 tcpqe 32 62 0 62 2 2 0 1 0 8 0 tcpcb 736 984 0 971 37 35 2 9 0 8 0 arp 120 58 0 38 1 0 1 1 0 8 0 inpcb 312 3420 0 3411 40 37 3 11 0 8 2 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 9 0 9 1 1 0 1 0 8 0 nd6 48 77 0 51 1 0 1 1 0 8 0 pkpcb 40 17 0 17 3 3 0 1 0 8 0 kcovpl 48 25 0 17 1 0 1 1 0 8 0 ppxss 1248 18 0 18 3 3 0 1 0 8 0 pffrag 232 10 0 10 2 2 0 1 0 482 0 pffrnode 88 10 0 10 2 2 0 1 0 8 0 pffrent 40 40 0 40 2 2 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 95 0 81 2 0 2 2 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 44 0 42 1 0 1 1 0 8 0 pfstkey 112 50 0 48 1 0 1 1 0 8 0 pfstate 336 45 0 43 3 2 1 3 0 8 0 pfrule 1360 213 0 182 5 2 3 3 0 8 0 art_heap8 4096 7 0 6 4 3 1 3 0 8 0 art_heap4 256 1463 0 994 41 11 30 30 0 8 0 art_table 32 1470 0 1000 4 0 4 4 0 8 0 art_node 16 351 0 253 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 476 0 450 1 0 1 1 0 8 0 shmpl 112 85 0 1 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6905 0 5456 91 0 91 91 0 8 0 ffsino 272 6905 0 5456 98 0 98 98 0 8 0 nchpl 144 13182 0 11530 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 53230 0 53230 4 3 1 2 0 8 1 percpumem 16 78 0 38 1 0 1 1 0 8 0 vcpupl 2048 85 0 0 11 0 11 11 0 8 0 vmpool 560 120 0 35 7 0 7 7 0 8 0 pfiaddrpl 120 55 0 32 1 0 1 1 0 8 0 kstatmem 264 104 0 76 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 42184 0 42184 13 12 1 7 0 8 1 plimitpl 152 495 0 480 1 0 1 1 0 8 0 sigapl 424 4492 0 4423 9 1 8 8 0 8 0 futexpl 64 38613 0 38606 2 1 1 1 0 8 0 knotepl 120 421 0 0 9 0 9 9 0 8 0 kqueuepl 216 893 0 884 15 12 3 5 0 8 2 pipepl 336 959 0 931 29 23 6 8 0 8 3 fdescpl 496 4453 0 4422 5 1 4 5 0 8 0 filepl 152 29818 0 29574 58 42 16 18 0 8 5 lockfpl 104 1093 0 1090 1 0 1 1 0 8 0 lockfspl 48 344 0 341 1 0 1 1 0 8 0 sessionpl 144 41 0 24 1 0 1 1 0 8 0 pgrppl 48 182 0 165 1 0 1 1 0 8 0 ucredpl 96 3159 0 3146 1 0 1 1 0 8 0 zombiepl 144 4423 0 4423 2 1 1 1 0 8 1 processpl 1064 4492 0 4423 5 0 5 5 0 8 0 procpl 672 10928 0 10840 16 7 9 9 0 8 1 srpgc 96 28 0 28 9 9 0 1 0 8 0 sosppl 168 15 0 15 5 5 0 1 0 8 0 sockpl 480 5944 0 5917 95 86 9 26 0 8 5 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 1 2 3 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 260 0 0 23 1 22 23 0 8 0 mtagpl 96 389 0 0 8 0 8 8 0 8 0 mbufpl 256 812 0 0 40 0 40 40 0 8 0 bufpl 288 10069 0 3740 453 0 453 453 0 8 0 anonpl 24 843427 0 825165 158 39 119 131 0 186 0 amapchunkpl 152 71053 0 70216 63 29 34 44 0 158 0 amappl16 200 11684 0 11137 76 44 32 42 0 8 3 amappl15 192 593 0 590 1 0 1 1 0 8 0 amappl14 184 1040 0 1032 1 0 1 1 0 8 0 amappl13 176 579 0 575 1 0 1 1 0 8 0 amappl12 168 114 0 112 2 1 1 1 0 8 0 amappl11 160 641 0 618 1 0 1 1 0 8 0 amappl10 152 661 0 653 1 0 1 1 0 8 0 amappl9 144 637 0 634 1 0 1 1 0 8 0 amappl8 136 1882 0 1801 3 0 3 3 0 8 0 amappl7 128 1172 0 1154 1 0 1 1 0 8 0 amappl6 120 457 0 439 2 1 1 2 0 8 0 amappl5 112 3382 0 3363 1 0 1 1 0 8 0 amappl4 104 2638 0 2599 3 1 2 2 0 8 0 amappl3 96 12506 0 12452 2 0 2 2 0 8 0 amappl2 88 5244 0 5176 3 1 2 3 0 8 0 amappl1 80 106312 0 105597 23 8 15 20 0 8 0 amappl 88 23901 0 23683 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 87 0 1 2 0 2 2 0 8 0 uaddrrnd 24 4573 0 4457 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4573 0 4457 1 0 1 1 0 8 0 vmmpekpl 168 34809 0 34730 4 0 4 4 0 8 0 vmmpepl 168 434310 0 431212 176 40 136 136 0 357 1 vmsppl 368 4572 0 4457 12 1 11 11 0 8 0 rwobjpl 56 109528 0 101840 117 7 110 112 0 8 0 pdppl 4096 9153 0 8999 395 241 154 154 0 8 0 pvpl 32 1787772 0 1765878 318 131 187 243 0 265 3 pmappl 248 4572 0 4457 9 1 8 8 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1300 0 362 27 0 27 27 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e419540) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4462 vmmioctl(a00,c0205602,ffff80002e419540,3,ffff8000fffe47f0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:656 VOP_IOCTL(fffffd806e1bfbb0,c0205602,ffff80002e419540,3,fffffd807f7d77e0,ffff8000fffe47f0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd807490a300,c0205602,ffff80002e419540,ffff8000fffe47f0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000fffe47f0,ffff80002e419658,ffff80002e4196b0) at sys_ioctl+0x4a2 syscall(ffff80002e419720) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e419720) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7157193d2c0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020cd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020cd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5