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 end trace frame: 0x0, count: -1 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800033f41cc0 rbp 0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffc r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0 r11 0 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81a5a25b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003251a578 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.7) tid=90385 pid=49613 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000ffff27d8,0xffff800033f3e080 process=0xffff8000ffffa800 user=0xffff800032515000, vmspace=0xfffffd8060db91c0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74629 453323 64795 0 2 0x8000000 syz-executor.4 27129 462941 50484 0 2 0x8000000 syz-executor.5 82294 364576 45281 0 2 0x8000000 syz-executor.0 82294 451192 45281 0 3 0xc000080 fsleep syz-executor.0 49613 198794 87752 0 2 0x8000000 syz-executor.7 *49613 90385 87752 0 7 0xc000000 syz-executor.7 92047 195221 19030 0 2 0x18100002 arp 50274 187527 45853 0 2 0x8000000 syz-executor.3 50274 458588 45853 0 3 0xc000080 fsleep syz-executor.3 50274 190826 45853 0 3 0xc000080 fsleep syz-executor.3 19030 198335 59677 0 3 0x810008a sigsusp sh 67723 354347 19447 0 2 0x9000010 syz-executor.2 67723 144226 19447 0 3 0xd000090 fsleep syz-executor.2 59677 329708 37709 0 3 0x8000082 wait syz-executor.6 83217 341596 1 0 3 0x8000080 nanoslp syz-executor.1 83217 196151 1 0 3 0xc000080 kqread syz-executor.1 64795 26160 37709 0 3 0x8000082 nanoslp syz-executor.4 45853 369161 37709 0 3 0x8000082 nanoslp syz-executor.3 9312 117321 0 0 3 0x14200 acct acct 50484 35102 37709 0 3 0x8000082 nanoslp syz-executor.5 45281 271030 37709 0 3 0x8000082 nanoslp syz-executor.0 19447 366111 37709 0 3 0x8000082 nanoslp syz-executor.2 60682 220456 1 0 3 0x18100083 ttyin getty 87752 190170 37709 0 3 0x8000082 nanoslp syz-executor.7 26657 285918 0 0 3 0x14200 bored sosplice 37709 61537 12914 0 3 0x1a000082 thrsleep syz-fuzzer 37709 523271 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 206856 12914 0 3 0x1e000082 wait syz-fuzzer 37709 348063 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 515107 12914 0 3 0x1e000082 wait syz-fuzzer 37709 489415 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 35773 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 468714 12914 0 3 0x1e000082 wait syz-fuzzer 37709 476953 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 375137 12914 0 3 0x1e000082 wait syz-fuzzer 37709 30469 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 65350 12914 0 3 0x1e000082 thrsleep syz-fuzzer 37709 4472 12914 0 3 0x1e000082 kqread syz-fuzzer 37709 323429 12914 0 3 0x1e000082 wait syz-fuzzer 37709 433401 12914 0 3 0x1e000082 wait syz-fuzzer 37709 109636 12914 0 3 0x1e000082 wait syz-fuzzer 12914 439198 34892 0 3 0x810008a sigsusp ksh 34892 408447 63684 0 3 0x1800009a kqread sshd 63684 428390 1 0 3 0x18000088 kqread sshd 20895 57391 25564 74 3 0x19100092 bpf pflogd 25564 412505 1 0 3 0x18000080 sbwait pflogd 15057 279450 93567 73 2 0x19100010 syslogd 93567 288688 1 0 3 0x18100082 sbwait syslogd 70053 499796 1 0 3 0x18100080 kqread resolvd 20586 211885 0 0 3 0x14200 bored smr 90560 181990 0 0 2 0x14200 zerothread 23979 217155 0 0 3 0x14200 aiodoned aiodoned 38871 511348 0 0 3 0x14200 syncer update 4186 361085 0 0 3 0x14200 cleaner cleaner 68221 249348 0 0 3 0x14200 reaper reaper 52087 344607 0 0 3 0x14200 pgdaemon pagedaemon 62578 249726 0 0 3 0x14200 bored viomb 33517 77212 0 0 3 0x40014200 acpi0 acpi0 57147 188886 0 0 7 0x40014200 idle1 427 465663 0 0 3 0x14200 bored softnet3 23305 112131 0 0 3 0x14200 bored softnet2 53606 66813 0 0 3 0x14200 bored softnet1 11914 466727 0 0 2 0x14200 softnet0 54639 87001 0 0 3 0x14200 bored systqmp 4176 308370 0 0 3 0x14200 bored systq 96559 235090 0 0 3 0x14200 tmoslp softclockmp 86375 277003 0 0 3 0x40014200 tmoslp softclock 45183 3680 0 0 3 0x40014200 idle0 1 201668 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 49613 (syz-executor.7) thread 0xffff80002a148a48 (90385) exclusive rwlock vcpu r = 0 (0xffff800033f41a28) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 vm_run+0x77 #2 vmmioctl+0x281 sys/dev/vmm/vmm.c:242 #3 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 #5 sys_ioctl+0x4a9 #6 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 15057 (syslogd) thread 0xffff8000ffffd200 (279450) exclusive rrwlock inode r = 0 (0xfffffd806e7ad0a0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2904 #6 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10217 6518K 9162K 166960K 17281 0 pcb 18 18K 20K 166960K 1263 0 rtable 206 15K 16K 166960K 1930 0 pf 34 9K 10K 166960K 246 0 ifaddr 42 15K 16K 166960K 248 0 ifgroup 59 2K 2K 166960K 392 0 sysctl 4 1K 3K 166960K 24 0 counters 66 36K 37K 166960K 248 0 ioctlops 0 0K 4K 166960K 2243 0 iov 0 0K 22K 166960K 589 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1698 107K 107K 166960K 6356 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 114 0 VM map 2 1K 1K 166960K 2 0 sem 20 1K 1K 166960K 97 0 dirhash 12 2K 3K 166960K 192 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 85K 166960K 6371 0 sigio 0 0K 0K 166960K 222 0 proc 67 79K 128K 166960K 1938 0 subproc 104 6K 7K 166960K 525 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1067 0 in_multi 79 5K 7K 166960K 747 0 ether_multi 1 0K 0K 166960K 55 0 mrt 5 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 1930 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 305 282K 285K 166960K 60723 0 UVM aobj 17 2K 2K 166960K 17 0 pinsyscall 37 74K 108K 166960K 8425 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 420 0 NDP 13 0K 2K 166960K 183 0 temp 79 6816K 6944K 166960K 172260 0 kqueue 7 12K 26K 166960K 1002 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 817 0 815 6 5 1 3 0 8 0 rtentry 112 607 0 519 4 0 4 4 0 8 0 unpcb 144 5893 0 5883 38 37 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 1 1 1 1 0 1 0 8 0 tcpqe 32 9 73 9 1 1 0 1 0 8 0 tcpcb 808 2607 0 2602 76 73 3 14 0 8 2 arp 120 117 0 106 1 0 1 1 0 8 0 inpcb 392 10153 0 10144 157 152 5 20 0 8 3 nd6 136 136 0 116 1 0 1 1 0 8 0 pkpcb 40 52 0 52 14 14 0 1 0 8 0 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1168 25 0 25 14 14 0 1 0 8 0 pffrag 232 119 0 118 6 5 1 1 0 482 0 pffrnode 88 118 0 117 6 5 1 1 0 8 0 pffrent 40 3217 0 3216 6 5 1 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 pfstitem 24 473 0 418 1 0 1 1 0 8 0 pfstkey 128 473 0 418 5 2 3 3 0 8 0 pfstate 376 473 0 418 13 5 8 8 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 5 0 3 3 1 2 3 0 8 0 art_heap4 256 2015 0 1631 43 16 27 29 0 8 0 art_table 32 2020 0 1634 4 0 4 4 0 8 0 art_node 16 586 0 506 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 4 1 0 1 1 0 8 0 semapl 112 91 0 73 1 0 1 1 0 8 0 shmpl 112 14 0 0 1 0 1 1 0 8 0 dirhash 1024 137 0 120 3 0 3 3 0 8 0 dino2pl 256 13091 0 11513 99 0 99 99 0 8 0 ffsino 272 13091 0 11513 106 0 106 106 0 8 0 nchpl 144 22442 0 20697 67 0 67 67 0 8 0 uvmvnodes 80 10149 0 0 208 0 208 208 0 8 0 vnodes 216 10149 0 0 564 0 564 564 0 8 0 namei 1024 84491 0 84491 10 9 1 2 0 8 1 percpumem 16 138 0 91 1 0 1 1 0 8 0 vcpupl 3904 29 0 0 4 0 4 4 0 8 0 vmpool 696 41 0 12 4 1 3 3 0 8 0 kstatmem 264 208 0 182 3 0 3 3 0 8 0 scsiplug 72 10 0 10 10 10 0 1 0 8 0 scxspl 216 128620 0 128620 20 19 1 8 1 8 1 plimitpl 152 1611 0 1596 1 0 1 1 0 8 0 sigapl 424 6653 0 6605 9 2 7 8 0 8 0 futexpl 64 90063 0 90059 7 6 1 1 0 8 0 knotepl 120 941 0 0 18 0 18 18 0 8 0 kqueuepl 216 2045 0 2039 25 24 1 7 0 8 0 pipepl 320 1250 0 1222 25 22 3 8 0 8 0 fdescpl 496 6609 0 6581 8 4 4 5 0 8 0 filepl 152 55000 0 54772 83 71 12 20 0 8 0 lockfpl 104 2307 0 2306 4 3 1 2 0 8 0 lockfspl 48 712 0 711 1 0 1 1 0 8 0 sessionpl 144 64 0 48 1 0 1 1 0 8 0 pgrppl 48 244 0 228 1 0 1 1 0 8 0 ucredpl 104 10709 0 10696 1 0 1 1 0 8 0 zombiepl 144 6605 0 6605 2 1 1 1 0 8 1 processpl 1136 6653 0 6605 5 1 4 5 0 8 0 procpl 656 15973 0 15904 15 7 8 9 0 8 0 srpgc 96 33 0 33 10 10 0 1 0 8 0 sosppl 168 148 0 148 21 20 1 1 0 8 1 sockpl 664 17038 0 17017 148 142 6 17 0 8 3 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 554 0 0 39 8 31 39 0 8 0 mtagpl 96 86 0 0 2 0 2 2 0 8 0 mbufpl 256 1225 0 0 64 0 64 64 0 8 0 bufpl 280 21415 0 11266 726 0 726 726 0 8 0 anonpl 24 856954 0 851028 184 119 65 91 0 186 0 amapchunkpl 152 197838 0 197174 126 86 40 42 0 158 7 amappl16 200 18308 0 18176 107 91 16 33 0 8 0 amappl15 192 14 0 14 2 2 0 1 0 8 0 amappl14 184 283 0 272 2 1 1 2 0 8 0 amappl13 176 65 0 65 1 1 0 1 0 8 0 amappl12 168 7818 0 7785 3 1 2 2 0 8 0 amappl11 160 60 0 52 1 0 1 1 0 8 0 amappl10 152 79 0 70 1 0 1 1 0 8 0 amappl9 144 153 0 153 3 3 0 1 0 8 0 amappl8 136 244 0 197 3 0 3 3 0 8 0 amappl7 128 59 0 44 1 0 1 1 0 8 0 amappl6 120 821 0 803 2 1 1 2 0 8 0 amappl5 112 310 0 298 1 0 1 1 0 8 0 amappl4 104 823 0 785 3 1 2 3 0 8 0 amappl3 96 37309 0 37230 3 0 3 3 0 8 0 amappl2 88 7109 0 7048 4 2 2 4 0 8 0 amappl1 80 30855 0 30371 23 11 12 23 0 8 0 amappl 88 59485 0 59284 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 16 0 0 1 0 1 1 0 8 0 uaddrrnd 24 6650 0 6593 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6650 0 6593 1 0 1 1 0 8 0 vmmpekpl 168 51728 0 51665 4 0 4 4 0 8 0 vmmpepl 168 406732 0 404870 176 83 93 120 0 357 0 vmsppl 440 6649 0 6593 10 3 7 7 0 8 0 rwobjpl 56 108492 0 97243 180 20 160 162 0 8 1 pdppl 4096 13307 0 13215 298 206 92 93 0 8 0 pvpl 32 49070 0 0 397 1 396 396 0 265 0 pmappl 248 6649 0 6593 4 0 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 762 0 330 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5