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 0xffff80003c3eac98 rbp 0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x100000001 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0 r11 0 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81f1820b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003c3d9128 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor) tid=407246 pid=92164 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffefa08,0xffff8000fffef780 process=0xffff80002a391358 user=0xffff80003c3d4000, vmspace=0xfffffd800d07f020 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11143 142240 19663 0 7 0 syz-executor 74099 382334 6742 0 2 0x2 ifconfig 92164 333519 66266 0 2 0 syz-executor *92164 407246 66266 0 7 0x4000000 syz-executor 92164 340867 66266 0 2 0x4000000 syz-executor 6742 460528 20608 0 3 0x10008a sigsusp sh 67902 231089 1 0 3 0x82 nanoslp getty 60159 233453 10728 0 2 0 syz-executor 60159 321030 10728 0 3 0x4000080 fsleep syz-executor 20608 411588 98680 0 3 0x82 wait syz-executor 40503 55942 30398 0 2 0 syz-executor 40503 329312 30398 0 2 0x4000000 syz-executor 40503 469233 30398 0 3 0x4000080 fsleep syz-executor 9030 244201 64729 0 2 0 syz-executor 9030 10251 64729 0 3 0x4000080 fsleep syz-executor 9030 33937 64729 0 3 0x4000080 fsleep syz-executor 61702 111093 937 0 3 0x80 nanoslp syz-executor 61702 162336 937 0 3 0x4000080 kqread syz-executor 61702 278360 937 0 3 0x4000080 wsevent_read syz-executor 61702 508180 937 0 3 0x4000080 fsleep syz-executor 36980 451598 53551 0 2 0 syz-executor 36980 52284 53551 0 3 0x4000080 ttyopn syz-executor 36980 516443 53551 0 3 0x4000080 ttyopn syz-executor 36980 281638 53551 0 2 0x4000000 syz-executor 19663 385239 98680 0 3 0x82 nanoslp syz-executor 30398 416552 98680 0 3 0x82 nanoslp syz-executor 64729 77254 98680 0 3 0x82 nanoslp syz-executor 66266 474922 98680 0 3 0x82 nanoslp syz-executor 937 442080 98680 0 3 0x82 nanoslp syz-executor 53551 440542 98680 0 3 0x82 nanoslp syz-executor 10728 289196 98680 0 3 0x82 nanoslp syz-executor 98680 18568 45487 0 3 0x82 kqread syz-executor 45487 177336 73819 0 3 0x10008a sigsusp ksh 73819 131066 63890 0 3 0x98 kqread sshd-session 63890 187398 45383 0 3 0x92 kqread sshd-session 45383 519578 1 0 3 0x88 kqread sshd 71667 496090 84848 74 3 0x1100092 bpf pflogd 84848 456204 1 0 3 0x80 sbwait pflogd 53940 237716 53489 73 3 0x1100090 kqread syslogd 53489 378864 1 0 3 0x100082 sbwait syslogd 97899 506319 1 0 3 0x100080 kqread resolvd 14520 159291 4876 77 3 0x100092 kqread dhcpleased 85915 66020 4876 77 3 0x100092 kqread dhcpleased 4876 80940 1 0 3 0x80 kqread dhcpleased 48661 31415 0 0 3 0x14200 bored smr 18734 323952 0 0 2 0x14200 zerothread 37716 422790 0 0 3 0x14200 aiodoned aiodoned 12740 432964 0 0 3 0x14200 syncer update 71632 96622 0 0 3 0x14200 cleaner cleaner 26153 28529 0 0 3 0x14200 reaper reaper 89348 185804 0 0 3 0x14200 pgdaemon pagedaemon 94168 225825 0 0 3 0x14200 bored viomb 33749 164932 0 0 3 0x40014200 acpi0 acpi0 68374 142976 0 0 3 0x40014200 idle1 70548 499947 0 0 3 0x14200 bored softnet1 39885 392385 0 0 3 0x14200 bored softnet0 19590 411221 0 0 3 0x14200 bored systqmp 46173 367885 0 0 3 0x14200 bored systq 41329 276093 0 0 3 0x14200 tmoslp softclockmp 11212 378703 0 0 3 0x40014200 tmoslp softclock 58143 106700 0 0 3 0x40014200 idle0 1 297021 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 92164 (syz-executor) thread 0xffff8000fffeed10 (407246) exclusive rwlock vcpu r = 0 (0xffff80003c3ea9f0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_run+0xa2 sys/arch/amd64/amd64/vmm_machdep.c:-1 #3 vmmioctl+0x337 sys/dev/vmm/vmm.c:254 #4 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #5 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 #6 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #7 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #7 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11108 12199K 14113K 166960K 16656 0 pcb 18 16K 24K 166960K 712 0 rtable 225 14K 15K 166960K 914 0 pf 37 18K 81K 166960K 337 0 ifaddr 39 7K 9K 166960K 204 0 ifgroup 52 2K 3K 166960K 394 0 sysctl 4 1K 9K 166960K 46 0 counters 70 37K 38K 166960K 516 0 ioctlops 0 0K 5K 166960K 2292 0 iov 0 0K 28K 166960K 191 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1505 95K 95K 166960K 4120 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 111 0 dirhash 12 2K 3K 166960K 78 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 240K 166960K 2758 0 sigio 0 0K 0K 166960K 53 0 proc 82 132K 164K 166960K 980 0 subproc 72 4K 4K 166960K 127 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 563 0 in_multi 72 5K 7K 166960K 246 0 ether_multi 1 0K 0K 166960K 20 0 mrt 3 0K 0K 166960K 52 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 913 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 153K 174K 166960K 27099 0 UVM aobj 91 81K 81K 166960K 96 0 pinsyscall 44 88K 104K 166960K 4171 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 261 0 NDP 12 0K 2K 166960K 152 0 temp 81 9088K 9200K 166960K 122243 0 kqueue 16 26K 30K 166960K 569 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 250 0 247 2 1 1 2 0 8 0 rtentry 176 264 0 188 6 0 6 6 0 8 0 unpcb 144 2103 0 2078 13 10 3 5 0 8 0 syncache 336 17 0 17 3 3 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 1010 0 1004 21 16 5 7 0 8 4 arp 136 54 0 39 1 0 1 1 0 8 0 inpcb 328 3653 0 3642 27 17 10 10 0 8 8 nd6 152 44 0 30 2 1 1 2 0 8 0 pkpcb 40 78 0 78 6 5 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 2 0 1 0 8 0 ppxss 1192 183 0 183 2 1 1 1 0 8 1 pppxif 1576 12 0 12 6 6 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 21 0 14 1 0 1 1 0 482 0 pffrnode 88 19 0 12 1 0 1 1 0 8 0 pffrent 40 36 0 29 1 0 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 181 0 115 1 0 1 1 0 8 0 pfstkey 128 189 0 123 4 0 4 4 0 8 0 pfstate 448 185 0 120 12 0 12 12 0 8 0 pfrule 1360 26 0 19 2 1 1 2 0 8 0 rttmr 136 7 0 7 5 5 0 1 0 8 0 art_heap8 4096 6 0 1 5 0 5 5 0 8 0 art_heap4 256 1134 0 796 38 7 31 33 0 8 0 art_table 40 1140 0 797 6 0 6 6 0 8 0 art_node 32 261 0 196 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 18 1 0 1 1 0 8 0 semupl 112 5 0 5 3 3 0 1 0 8 0 semapl 112 104 0 94 1 0 1 1 0 8 0 shmpl 112 53 0 4 2 0 2 2 0 8 0 dirhash 1024 61 0 44 3 0 3 3 0 8 0 dino2pl 256 6958 0 5484 93 0 93 93 0 8 0 ffsino 296 6958 0 5484 114 0 114 114 0 8 0 nchpl 144 10719 0 8992 65 0 65 65 0 8 0 rtmask 32 32 0 32 3 2 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 38751 0 38751 3 2 1 2 0 8 1 percpumem 16 273 0 223 1 0 1 1 0 8 0 vcpupl 3968 40 0 1 5 0 5 5 0 8 0 vmpool 848 40 0 1 5 0 5 5 0 8 0 kstatmem 264 254 0 226 4 1 3 3 0 8 1 scsiplug 72 12 0 12 5 4 1 1 0 8 1 scxspl 216 78015 0 78015 11 10 1 8 1 8 1 plimitpl 152 850 0 832 1 0 1 1 0 8 0 sigapl 424 3084 0 3035 7 1 6 7 0 8 0 knotepl 120 584 0 0 17 0 17 17 0 8 0 kqueuepl 224 986 0 972 11 10 1 5 0 8 0 pipepl 344 527 0 500 12 9 3 9 0 8 0 fdescpl 528 3060 0 3027 3 0 3 3 0 8 0 filepl 160 21861 0 21625 28 11 17 17 0 8 5 lockfpl 104 1097 0 1093 2 0 2 2 0 8 1 lockfspl 48 479 0 475 1 0 1 1 0 8 0 sessionpl 144 43 0 35 1 0 1 1 0 8 0 pgrppl 48 99 0 83 1 0 1 1 0 8 0 ucredpl 104 3134 0 3119 1 0 1 1 0 8 0 zombiepl 144 3035 0 3035 1 0 1 1 0 8 1 processpl 1232 3084 0 3035 5 1 4 5 0 8 0 procpl 664 7563 0 7501 6 0 6 6 0 8 0 sosppl 176 50 0 50 3 2 1 1 0 8 1 sockpl 752 6287 0 6247 38 25 13 18 0 8 6 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 130 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 45 0 0 6 0 6 6 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 1802 0 0 113 0 113 113 0 8 0 bufpl 280 31921 0 25792 440 1 439 439 0 8 0 anonpl 32 11743 0 0 95 0 95 95 0 246 0 amapchunkpl 152 91660 0 91018 50 25 25 32 0 158 0 amappl16 200 9635 0 9602 53 39 14 25 0 8 7 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 535 0 533 1 0 1 1 0 8 0 amappl13 176 195 0 183 1 0 1 1 0 8 0 amappl12 168 3343 0 3312 2 0 2 2 0 8 0 amappl10 152 63 0 48 1 0 1 1 0 8 0 amappl9 144 276 0 275 1 0 1 1 0 8 0 amappl8 136 121 0 117 1 0 1 1 0 8 0 amappl7 128 185 0 172 1 0 1 1 0 8 0 amappl6 120 204 0 200 1 0 1 1 0 8 0 amappl5 112 147 0 136 1 0 1 1 0 8 0 amappl4 104 453 0 430 1 0 1 1 0 8 0 amappl3 96 18995 0 18873 4 0 4 4 0 8 0 amappl2 88 782 0 718 2 0 2 2 0 8 0 amappl1 80 27326 0 26711 22 7 15 17 0 8 0 amappl 88 25714 0 25538 5 0 5 5 0 92 0 uvmvnodes 80 187 0 0 4 0 4 4 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 259 0 259 6 6 0 1 0 8 0 dma64 64 8 0 8 3 3 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 95 0 5 2 0 2 2 0 8 0 uaddrrnd 24 3060 0 3027 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3060 0 3027 1 0 1 1 0 8 0 vmmpekpl 168 27504 0 27455 3 0 3 3 0 8 0 vmmpepl 168 204903 0 202918 133 33 100 115 0 357 3 vmsppl 488 3059 0 3027 5 0 5 5 0 8 0 rwobjpl 80 55664 0 54408 39 6 33 36 0 8 0 pdppl 4096 6207 0 6095 175 63 112 112 0 8 0 pvpl 32 19622 0 0 158 0 158 158 0 265 0 pmappl 256 3099 0 3028 5 0 5 5 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 509 0 101 12 0 12 12 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+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299adff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_cmp8(ffffffff83abc350,ffffffff83abc350) at __sanitizer_cov_trace_cmp8+0x4 kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_cmp8(ffffffff83abc350,ffffffff83abc350) at __sanitizer_cov_trace_cmp8+0x4 sys/dev/kcov.c:212 futex_wake(ffff80002eb9f4e8,5404d2f89a0,7fffffff,80,ffff800039bd3b70) at futex_wake+0x2fe sys/kern/sys_futex.c:-1 sys_futex(ffff80002eb9f4e8,ffff800039bd3c20,ffff800039bd3b70) at sys_futex+0x1d9 sys/kern/sys_futex.c:158 syscall(ffff800039bd3c20) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039bd3c20) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e80c42004d0, count: -8