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(ffff800022d4a0e0) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022d4a0e0,1,ffff8000ffff0fc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806e474e58,c0205602,ffff800022d4a0e0,1,fffffd807f7d75b0,ffff8000ffff0fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80719f3be0,c0205602,ffff800022d4a0e0,ffff8000ffff0fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff0fc8,ffff800022d4a1f8,ffff800022d4a240) at sys_ioctl+0x4a2 syscall(ffff800022d4a2c0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022d4a2c0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x293924179b0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002477ce48 rbp 0xffff800022d49e30 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffe r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x7c330d4011a10145 r11 0x2dd119dadcd65e15 r12 0xffff80002477cba0 r13 0xffffffff82933ff0 cpu_info_full_primary+0x1ff0 r14 0xffff80002477c800 r15 0xffff800022d4a0e0 rip 0xffffffff81319b20 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800022d49c86 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.2) pid=129528 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff1268,0xffff8000ffff17b8 process=0xffff8000fffe4c98 user=0xffff800022d45000, vmspace=0xfffffd8065ec52f0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33651 236664 45447 0 2 0 syz-executor.5 33651 409194 45447 0 2 0x4000000 syz-executor.5 14797 114979 30927 0 2 0 syz-executor.2 *14797 129528 30927 0 7 0x4000000 syz-executor.2 75772 50996 82424 0 2 0 syz-executor.6 75772 188557 82424 0 3 0x4000080 fsleep syz-executor.6 14455 302581 40835 0 2 0 syz-executor.0 14455 48522 40835 0 3 0x4000080 fsleep syz-executor.0 8091 395096 73187 0 2 0 syz-executor.1 8091 344205 73187 0 3 0x4000080 fsleep syz-executor.1 8091 117021 73187 0 3 0x4000080 fsleep syz-executor.1 8091 15273 73187 0 3 0x4000080 fsleep syz-executor.1 60787 163128 36523 0 2 0 syz-executor.4 60787 19946 36523 0 3 0x4000080 fsleep syz-executor.4 76845 250088 35104 0 2 0 syz-executor.3 76845 155713 35104 0 3 0x4000080 fsleep syz-executor.3 45447 384829 53535 0 3 0x82 nanoslp syz-executor.5 82424 67303 53535 0 3 0x82 nanoslp syz-executor.6 66414 141931 0 0 3 0x14200 acct acct 40835 345083 53535 0 3 0x82 nanoslp syz-executor.0 88142 327193 53535 0 2 0x2 syz-executor.7 80397 264597 0 0 3 0x14280 nfsidl nfsio 53652 90001 0 0 3 0x14280 nfsidl nfsio 93544 78374 0 0 3 0x14280 nfsidl nfsio 18351 224758 0 0 3 0x14280 nfsidl nfsio 88027 346728 0 0 3 0x14280 nfsidl nfsio 31419 39610 0 0 3 0x14280 nfsidl nfsio 31750 43087 0 0 3 0x14280 nfsidl nfsio 18180 197592 0 0 3 0x14280 nfsidl nfsio 42389 247511 0 0 3 0x14280 nfsidl nfsio 89363 52995 0 0 3 0x14280 nfsidl nfsio 69073 276565 0 0 3 0x14280 nfsidl nfsio 33832 188429 0 0 3 0x14280 nfsidl nfsio 275 445909 0 0 3 0x14280 nfsidl nfsio 55105 435258 0 0 3 0x14280 nfsidl nfsio 59801 153145 0 0 3 0x14280 nfsidl nfsio 50829 434639 0 0 3 0x14280 nfsidl nfsio 77994 365505 0 0 3 0x14280 nfsidl nfsio 19489 89524 0 0 3 0x14280 nfsidl nfsio 41754 213760 0 0 3 0x14280 nfsidl nfsio 66881 15459 0 0 3 0x14280 nfsidl nfsio 36523 138067 53535 0 3 0x82 nanoslp syz-executor.4 73187 188724 53535 0 3 0x82 nanoslp syz-executor.1 22272 470356 1 0 3 0x100083 ttyopn getty 30927 59429 53535 0 3 0x82 nanoslp syz-executor.2 35104 357088 53535 0 3 0x82 nanoslp syz-executor.3 80717 246315 0 0 3 0x14200 bored sosplice 53535 414412 26273 0 3 0x82 wait syz-fuzzer 53535 318778 26273 0 3 0x4000082 nanoslp syz-fuzzer 53535 42435 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 511712 26273 0 3 0x4000082 wait syz-fuzzer 53535 282807 26273 0 3 0x4000082 wait syz-fuzzer 53535 137177 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 374802 26273 0 3 0x4000082 nanoslp syz-fuzzer 53535 309625 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 494756 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 207636 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 454829 26273 0 3 0x4000082 wait syz-fuzzer 53535 111865 26273 0 3 0x4000082 wait syz-fuzzer 53535 166198 26273 0 3 0x4000082 thrsleep syz-fuzzer 53535 22447 26273 0 3 0x4000082 wait syz-fuzzer 53535 411513 26273 0 3 0x4000082 kqread syz-fuzzer 53535 523502 26273 0 3 0x4000082 wait syz-fuzzer 53535 220962 26273 0 3 0x4000082 wait syz-fuzzer 26273 44301 81990 0 3 0x10008a sigsusp ksh 81990 470953 85682 0 3 0x9a kqread sshd 85682 47390 1 0 3 0x88 kqread sshd 36717 188286 31403 74 3 0x1100092 bpf pflogd 31403 471209 1 0 3 0x80 netio pflogd 56438 320779 70380 73 3 0x1100090 kqread syslogd 70380 16784 1 0 3 0x100082 netio syslogd 48330 444407 1 0 3 0x100080 kqread resolvd 41541 299510 7763 77 3 0x100092 kqread dhcpleased 50314 148981 7763 77 3 0x100092 kqread dhcpleased 7763 404769 1 0 3 0x80 kqread dhcpleased 9661 152514 0 0 3 0x14200 bored smr 96689 253367 0 0 2 0x14200 zerothread 68483 233063 0 0 3 0x14200 aiodoned aiodoned 41647 380729 0 0 3 0x14200 syncer update 16992 451957 0 0 3 0x14200 cleaner cleaner 11214 197946 0 0 3 0x14200 reaper reaper 27379 357953 0 0 3 0x14200 pgdaemon pagedaemon 74336 318791 0 0 3 0x14200 bored viomb 58038 240880 0 0 3 0x40014200 acpi0 acpi0 11455 247844 0 0 7 0x40014200 idle1 91372 292001 0 0 3 0x14200 bored softnet 25026 93583 0 0 3 0x14200 bored softnet 93242 381754 0 0 3 0x14200 bored softnet 57390 479628 0 0 3 0x14200 bored softnet 88412 445760 0 0 3 0x14200 bored systqmp 22932 522534 0 0 3 0x14200 bored systq 27895 206031 0 0 3 0x40014200 bored softclock 95466 314197 0 0 3 0x40014200 idle0 1 350711 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 14797 (syz-executor.2) thread 0xffff8000ffff0fc8 (129528) exclusive rwlock vcpu r = 0 (0xffff80002477cbb0) #0 witness_lock+0x44d #1 vm_run+0x100 sys/arch/amd64/amd64/vmm.c:4536 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 #5 sys_ioctl+0x4a2 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 6506K 7291K 78643K 29653 0 pcb 13 16K 18K 78643K 2046 0 rtable 228 10K 14K 78643K 2381 0 ifaddr 101 20K 23K 78643K 1126 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 274 0 ioctlops 0 0K 4K 78643K 3884 0 iov 0 0K 24K 78643K 1363 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1403 88K 88K 78643K 8649 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 140 0 VM map 2 1K 1K 78643K 2 0 sem 10 5K 6K 78643K 84 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 11352 0 sigio 0 0K 0K 78643K 1792 0 proc 71 91K 127K 78643K 2055 0 subproc 104 6K 6K 78643K 567 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 624 0 in_multi 88 5K 6K 78643K 691 0 ether_multi 1 0K 0K 78643K 73 0 mrt 5 0K 0K 78643K 59 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 2K 78643K 2546 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 8 62K 64K 78643K 10 0 UVM amap 469 793K 1320K 78643K 64018 0 UVM aobj 131 8K 8K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 407 0 NDP 15 0K 1K 78643K 216 0 temp 142 4726K 70262K 78643K 91208 0 kqueue 12 18K 26K 78643K 1021 0 SYN cache 2 16K 24K 78643K 3 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 648 0 645 8 7 1 3 0 8 0 rtentry 112 605 0 508 5 1 4 4 0 8 0 unpcb 144 7794 0 7777 96 90 6 9 0 8 5 syncache 296 53 0 53 11 11 0 1 0 8 0 tcpqe 32 536 78 536 1 1 0 1 0 8 0 tcpcb 768 3121 0 3110 144 142 2 15 0 8 0 arp 120 102 0 86 1 0 1 1 0 8 0 inpcb 368 8946 0 8933 177 175 2 16 0 8 0 nd6 48 142 0 120 1 0 1 1 0 8 0 pkpcb 40 16 0 16 4 4 0 1 0 8 0 kcovpl 48 43 0 35 1 0 1 1 0 8 0 ppxss 1256 48 0 48 10 10 0 1 0 8 0 pfstscr 40 126 0 125 3 2 1 1 0 8 0 pffrag 232 70 0 70 6 6 0 1 0 482 0 pffrnode 88 70 0 70 6 6 0 1 0 8 0 pffrent 40 235 0 235 7 7 0 1 0 8 0 pfosfp 40 1433 0 1009 5 0 5 5 0 8 0 pfosfpen 112 1433 0 714 21 0 21 21 0 8 0 pfrktable 1344 97 0 97 4 4 0 1 0 8 0 pfanchor 1280 510 0 53 40 1 39 39 0 8 0 pftag 88 11 0 2 2 1 1 1 0 8 0 pfqueue 264 4 0 4 1 1 0 1 0 8 0 pfstitem 24 157 0 153 1 0 1 1 0 8 0 pfstkey 120 387 0 383 2 0 2 2 0 8 0 pfstate 336 268 0 265 5 3 2 5 0 8 0 pfrule 1360 373 0 366 7 6 1 3 0 8 0 rttmr 136 12 0 12 4 4 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 2654 0 2232 50 20 30 30 0 8 0 art_table 32 2656 0 2233 4 0 4 4 0 8 0 art_node 16 595 0 511 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 12 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 8 0 0 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 16640 0 15189 92 0 92 92 0 8 0 ffsino 272 16640 0 15189 98 0 98 98 0 8 0 nchpl 144 31374 0 29736 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 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 128630 0 128630 5 4 1 2 0 8 1 percpumem 16 149 0 109 1 0 1 1 0 8 0 vcpupl 2048 115 0 0 15 0 15 15 0 8 0 vmpool 568 165 0 50 10 1 9 9 0 8 0 pfiaddrpl 120 29 0 29 4 4 0 1 0 8 0 kstatmem 264 244 0 214 8 5 3 3 0 8 0 scsiplug 72 16 0 16 5 5 0 1 0 8 0 scxspl 216 94581 0 94581 30 29 1 8 0 8 1 plimitpl 152 1845 0 1830 1 0 1 1 0 8 0 sigapl 424 11646 0 11577 11 3 8 8 0 8 0 futexpl 64 113702 0 113695 5 4 1 1 0 8 0 knotepl 120 739 0 0 13 1 12 12 0 8 0 kqueuepl 216 2640 0 2631 45 44 1 5 0 8 0 pipepl 320 2105 0 2076 50 47 3 8 0 8 0 fdescpl 496 11577 0 11547 7 3 4 5 0 8 0 filepl 152 88995 0 88750 163 147 16 21 0 8 5 lockfpl 104 3515 0 3513 10 9 1 2 0 8 0 lockfspl 48 977 0 975 1 0 1 1 0 8 0 sessionpl 144 60 0 43 1 0 1 1 0 8 0 pgrppl 48 95 0 78 1 0 1 1 0 8 0 ucredpl 104 12305 0 12293 1 0 1 1 0 8 0 zombiepl 144 11577 0 11577 1 0 1 1 0 8 1 processpl 1064 11646 0 11577 5 0 5 5 0 8 0 procpl 672 29298 0 29204 19 10 9 10 0 8 0 srpgc 96 80 0 80 19 18 1 1 0 8 1 sosppl 168 79 0 78 12 11 1 1 0 8 0 sockpl 488 17471 0 17438 422 401 21 29 0 8 16 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 348 0 0 38 4 34 38 0 8 0 mtagpl 96 971 0 0 20 0 20 20 0 8 0 mbufpl 256 4061 0 0 239 0 239 239 0 8 0 bufpl 288 20935 0 14606 453 0 453 453 0 8 0 anonpl 24 2254349 0 2234134 315 172 143 161 0 186 1 amapchunkpl 152 365508 0 364494 1498 1388 110 668 0 158 68 amappl16 200 34456 0 33801 175 138 37 48 0 8 1 amappl15 192 1444 0 1437 1 0 1 1 0 8 0 amappl14 184 819 0 813 1 0 1 1 0 8 0 amappl13 176 680 0 676 1 0 1 1 0 8 0 amappl12 168 2606 0 2596 1 0 1 1 0 8 0 amappl11 160 1332 0 1311 4 3 1 2 0 8 0 amappl10 152 1036 0 1035 1 0 1 1 0 8 0 amappl9 144 3257 0 3253 1 0 1 1 0 8 0 amappl8 136 2983 0 2851 6 1 5 5 0 8 0 amappl7 128 1758 0 1733 1 0 1 1 0 8 0 amappl6 120 3180 0 3160 2 1 1 2 0 8 0 amappl5 112 9897 0 9879 1 0 1 1 0 8 0 amappl4 104 3916 0 3880 4 2 2 3 0 8 0 amappl3 96 35788 0 35724 3 1 2 2 0 8 0 amappl2 88 2538 0 2491 4 2 2 2 0 8 0 amappl1 80 282581 0 281863 22 6 16 20 0 8 0 amappl 88 62562 0 62319 8 2 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 11742 0 11597 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11742 0 11597 1 0 1 1 0 8 0 vmmpekpl 168 82886 0 82807 4 0 4 4 0 8 0 vmmpepl 168 1132769 0 1129723 368 222 146 160 0 357 3 vmsppl 368 11741 0 11597 17 3 14 14 0 8 0 rwobjpl 56 275236 0 267325 136 23 113 115 0 8 1 pdppl 4096 23491 0 23309 722 538 184 186 0 8 2 pvpl 32 4449027 0 4427330 519 315 204 244 0 265 1 pmappl 248 11741 0 11597 10 0 10 10 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1946 0 766 34 0 34 34 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800022d4a0e0) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022d4a0e0,1,ffff8000ffff0fc8) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806e474e58,c0205602,ffff800022d4a0e0,1,fffffd807f7d75b0,ffff8000ffff0fc8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80719f3be0,c0205602,ffff800022d4a0e0,ffff8000ffff0fc8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff0fc8,ffff800022d4a1f8,ffff800022d4a240) at sys_ioctl+0x4a2 syscall(ffff800022d4a2c0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022d4a2c0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x293924179b0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175 end trace frame: 0x0, count: -5