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 0xffff8000fffe3c18 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 0xffffffff8142f92b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003c4515a8 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor) tid=396306 pid=57568 tcnt=2 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=0xffff8000ffffd760,0xffff8000357c1260 process=0xffff8000ffff49a8 user=0xffff80003c44c000, vmspace=0xfffffd807be117c0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98301 482399 57073 0 2 0 syz-executor 98301 306659 57073 0 3 0x4000080 fsleep syz-executor 57568 433193 71466 0 2 0 syz-executor *57568 396306 71466 0 7 0x4000000 syz-executor 74140 137309 96743 0 2 0 syz-executor 74140 439722 96743 0 3 0x4000080 fsleep syz-executor 46231 43029 32156 0 2 0 syz-executor 46231 317478 32156 0 3 0x4000080 fsleep syz-executor 29527 37641 39936 0 2 0 syz-executor 29527 17829 39936 0 2 0x4000000 syz-executor 29527 448012 39936 0 2 0x4000000 syz-executor 71466 480487 86976 0 3 0x82 nanoslp syz-executor 25880 194222 1 0 3 0x100083 ttyin getty 84304 418362 0 0 3 0x14200 acct acct 96743 231178 86976 0 3 0x82 nanoslp syz-executor 40808 118679 0 0 3 0x14280 nfsidl nfsio 59392 25709 0 0 3 0x14280 nfsidl nfsio 71133 260783 0 0 3 0x14280 nfsidl nfsio 92504 83104 0 0 3 0x14280 nfsidl nfsio 22134 426747 0 0 3 0x14280 nfsidl nfsio 13302 278515 0 0 3 0x14280 nfsidl nfsio 1373 298603 0 0 3 0x14280 nfsidl nfsio 23430 254818 0 0 3 0x14280 nfsidl nfsio 94281 514431 0 0 3 0x14280 nfsidl nfsio 35745 289456 0 0 3 0x14280 nfsidl nfsio 45212 448274 0 0 3 0x14280 nfsidl nfsio 84437 342365 0 0 3 0x14280 nfsidl nfsio 62604 387134 0 0 3 0x14280 nfsidl nfsio 40551 233428 0 0 3 0x14280 nfsidl nfsio 72420 307180 0 0 3 0x14280 nfsidl nfsio 74371 192634 0 0 3 0x14280 nfsidl nfsio 42077 511356 0 0 3 0x14280 nfsidl nfsio 48133 510030 0 0 3 0x14280 nfsidl nfsio 93524 435815 0 0 3 0x14280 nfsidl nfsio 73790 259325 0 0 3 0x14280 nfsidl nfsio 67104 304723 63353 0 3 0x100082 sbwait arp 63353 490108 24080 0 3 0x10008a sigsusp sh 32156 320716 86976 0 3 0x82 nanoslp syz-executor 57073 447642 86976 0 3 0x82 nanoslp syz-executor 39936 494617 86976 0 3 0x82 nanoslp syz-executor 24080 102644 86976 0 3 0x82 wait syz-executor 96871 324273 86976 0 3 0x82 nanoslp syz-executor 66006 494949 86976 0 3 0x82 wait syz-executor 86976 476799 79659 0 3 0x82 kqread syz-executor 79659 118417 39876 0 3 0x10008a sigsusp ksh 39876 72492 80092 0 3 0x98 kqread sshd-session 80092 272641 12143 0 3 0x92 kqread sshd-session 12143 444839 1 0 3 0x88 kqread sshd 63766 326987 54229 74 3 0x1100092 bpf pflogd 54229 54150 1 0 3 0x80 sbwait pflogd 95856 118825 42367 73 3 0x1100090 kqread syslogd 42367 513146 1 0 3 0x100082 sbwait syslogd 5707 159244 1 0 3 0x100080 kqread resolvd 6755 452629 97968 77 3 0x100092 kqread dhcpleased 55933 7099 97968 77 3 0x100092 kqread dhcpleased 97968 228139 1 0 3 0x80 kqread dhcpleased 42223 478146 0 0 3 0x14200 bored smr 35839 160867 0 0 2 0x14200 zerothread 40454 123895 0 0 3 0x14200 aiodoned aiodoned 3374 436546 0 0 3 0x14200 syncer update 88787 138928 0 0 3 0x14200 cleaner cleaner 37615 130481 0 0 3 0x14200 reaper reaper 16536 54359 0 0 3 0x14200 pgdaemon pagedaemon 60033 147329 0 0 3 0x14200 bored viomb 26487 291549 0 0 3 0x40014200 acpi0 acpi0 9806 336849 0 0 7 0x40014200 idle1 85812 196286 0 0 3 0x14200 bored softnet1 58399 433495 0 0 3 0x14200 bored softnet0 58998 422715 0 0 3 0x14200 bored systqmp 72212 407930 0 0 3 0x14200 bored systq 92059 150039 0 0 3 0x14200 tmoslp softclockmp 42548 98308 0 0 3 0x40014200 tmoslp softclock 59100 154194 0 0 3 0x40014200 idle0 1 235789 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 57568 (syz-executor) thread 0xffff8000357c0d20 (396306) exclusive rwlock vcpu r = 0 (0xffff8000fffe3970) #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 11107 12305K 13067K 166960K 14258 0 pcb 17 18K 20K 166960K 282 0 rtable 190 11K 11K 166960K 800 0 pf 44 19K 82K 166960K 164 0 ifaddr 37 6K 7K 166960K 114 0 ifgroup 65 2K 3K 166960K 197 0 sysctl 4 1K 9K 166960K 20 0 counters 72 37K 38K 166960K 198 0 ioctlops 0 0K 4K 166960K 1661 0 iov 0 0K 16K 166960K 113 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1488 94K 94K 166960K 2708 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 23 17K 18K 166960K 116 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 244K 166960K 1206 0 sigio 0 0K 0K 166960K 25 0 proc 72 115K 164K 166960K 737 0 subproc 72 4K 4K 166960K 102 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 117 0 in_multi 64 4K 6K 166960K 176 0 ether_multi 1 0K 0K 166960K 18 0 mrt 1 0K 0K 166960K 32 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 813 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 251 163K 188K 166960K 12240 0 UVM aobj 137 16K 16K 166960K 141 0 pinsyscall 45 90K 106K 166960K 2421 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 119 0 NDP 13 0K 1K 166960K 79 0 temp 78 9084K 9150K 166960K 45743 0 kqueue 14 22K 30K 166960K 206 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 169 0 165 3 2 1 2 0 8 0 rtentry 176 273 0 205 5 0 5 5 0 8 0 unpcb 144 961 0 942 8 6 2 5 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 495 0 490 16 12 4 10 0 8 3 arp 136 61 0 47 1 0 1 1 0 8 0 inpcb 328 1614 0 1604 23 16 7 12 0 8 5 nd6 152 36 0 22 1 0 1 1 0 8 0 pkpcb 40 18 0 18 3 2 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1192 45 0 45 1 0 1 1 0 8 1 pppxif 1576 7 0 7 2 1 1 1 0 8 1 pfstscr 40 2 0 2 2 1 1 1 0 8 1 pffrag 232 13 0 6 1 0 1 1 0 482 0 pffrnode 88 10 0 4 1 0 1 1 0 8 0 pffrent 40 121 0 114 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 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 80 0 27 1 0 1 1 0 8 0 pfstkey 128 84 0 31 2 0 2 2 0 8 0 pfstate 448 81 0 29 6 0 6 6 0 8 0 pfrule 1360 27 0 19 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 744 0 458 28 5 23 28 0 8 3 art_table 40 748 0 458 5 0 5 5 0 8 0 art_node 32 271 0 211 2 0 2 2 0 8 0 sysvmsgpl 40 13 0 8 1 0 1 1 0 8 0 semapl 112 104 0 83 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 3692 0 2223 93 0 93 93 0 8 0 ffsino 296 3692 0 2223 114 0 114 114 0 8 0 nchpl 144 5276 0 3559 64 0 64 64 0 8 0 rtmask 32 6 0 6 3 2 1 1 0 8 1 vnodes 216 4625 0 0 257 0 257 257 0 8 0 namei 1024 18861 0 18861 2 1 1 2 0 8 1 percpumem 16 114 0 63 1 0 1 1 0 8 0 vcpupl 3968 6 0 0 1 0 1 1 0 8 0 vmpool 848 6 0 0 1 0 1 1 0 8 0 kstatmem 264 118 0 88 4 1 3 3 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 28398 0 28398 10 8 2 6 1 8 2 plimitpl 152 549 0 531 1 0 1 1 0 8 0 sigapl 424 1522 0 1452 9 1 8 9 0 8 0 knotepl 120 545 0 0 17 0 17 17 0 8 0 kqueuepl 224 486 0 476 7 6 1 5 0 8 0 pipepl 344 341 0 314 9 6 3 9 0 8 0 fdescpl 528 1483 0 1450 3 0 3 3 0 8 0 filepl 160 10196 0 9971 32 14 18 21 0 8 7 lockfpl 104 837 0 834 3 1 2 3 0 8 1 lockfspl 48 382 0 379 2 1 1 2 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 55 0 38 1 0 1 1 0 8 0 ucredpl 104 1237 0 1223 1 0 1 1 0 8 0 zombiepl 144 1454 0 1452 1 0 1 1 0 8 0 processpl 1232 1522 0 1452 6 0 6 6 0 8 0 procpl 664 3122 0 3046 10 3 7 8 0 8 0 sosppl 176 4 0 4 2 2 0 1 0 8 0 sockpl 752 2861 0 2828 47 36 11 30 0 8 7 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 110 0 0 14 0 14 14 0 8 0 mcl2k 2048 59 0 0 7 0 7 7 0 8 0 mtagpl 96 51 0 0 2 0 2 2 0 8 0 mbufpl 256 3325 0 0 208 0 208 208 0 8 0 bufpl 280 10500 0 4370 439 0 439 439 0 8 0 anonpl 32 10562 0 0 85 0 85 85 0 246 0 amapchunkpl 152 41299 0 40775 47 18 29 35 0 158 4 amappl16 200 5315 0 5282 41 27 14 24 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 465 0 463 1 0 1 1 0 8 0 amappl13 176 131 0 117 1 0 1 1 0 8 0 amappl12 168 1744 0 1712 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 65 0 50 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 110 0 107 1 0 1 1 0 8 0 amappl7 128 161 0 147 1 0 1 1 0 8 0 amappl6 120 197 0 193 1 0 1 1 0 8 0 amappl5 112 94 0 83 1 0 1 1 0 8 0 amappl4 104 313 0 292 1 0 1 1 0 8 0 amappl3 96 8369 0 8251 4 0 4 4 0 8 0 amappl2 88 565 0 498 2 0 2 2 0 8 0 amappl1 80 14451 0 13817 17 2 15 17 0 8 0 amappl 88 11276 0 11103 5 0 5 5 0 92 0 uvmvnodes 80 138 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 2 0 2 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 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 140 0 4 3 0 3 3 0 8 0 uaddrrnd 24 1483 0 1450 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1483 0 1450 1 0 1 1 0 8 0 vmmpekpl 168 12780 0 12732 3 0 3 3 0 8 0 vmmpepl 168 100059 0 98034 115 15 100 106 0 357 6 vmsppl 488 1482 0 1450 5 0 5 5 0 8 0 rwobjpl 80 28615 0 27346 38 7 31 33 0 8 1 pdppl 4096 2985 0 2906 112 31 81 85 0 8 2 pvpl 32 17832 0 0 144 0 144 144 0 265 0 pmappl 256 1488 0 1450 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 510 0 58 14 0 14 14 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(ffff8000299bdff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299bdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5