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(ffff800027ce7fc0) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800027ce7fc0,1,ffff8000274e8d28) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd8070c8a3d0,c0205602,ffff800027ce7fc0,1,fffffd807f7d7600,ffff8000274e8d28) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067318b68,c0205602,ffff800027ce7fc0,ffff8000274e8d28) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000274e8d28,ffff800027ce80d8,ffff800027ce8130) at sys_ioctl+0x4a2 syscall(ffff800027ce81a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027ce81a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4771a88d10, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff8000246ac638 rbp 0xffff800027ce7d30 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xe3f868c22e3c4c28 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x398d6da38a385325 r11 0x6ec0a9fb8c260b96 r12 0xffffffff827c3280 dt_prov_static r13 0x246 r14 0xffff8000246ac000 r15 0xffff800027ce7fc0 rip 0xffffffff81a0ea00 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800027ce7b86 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.3) pid=497265 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000274e9508,0xffffffff828a0d78 process=0xffff8000ffff29a8 user=0xffff800027ce3000, vmspace=0xfffffd8070f95e90 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 51278 187800 55098 0 2 0 syz-executor.3 *51278 497265 55098 0 7 0x4000000 syz-executor.3 3084 329692 38081 0 2 0 syz-executor.0 3084 429948 38081 0 3 0x4000080 fsleep syz-executor.0 54106 437290 99779 0 3 0x80 nanoslp syz-executor.1 54106 14887 99779 0 3 0x4000080 fsleep syz-executor.1 38081 177769 4219 0 3 0x82 nanoslp syz-executor.0 43720 504640 1 0 3 0x100083 ttyin getty 55098 327719 4219 0 3 0x82 nanoslp syz-executor.3 99779 421638 4219 0 3 0x82 nanoslp syz-executor.1 99715 200072 0 0 3 0x14200 bored sosplice 4219 233362 13997 0 3 0x82 thrsleep syz-fuzzer 4219 418916 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 7854 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 250847 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 348608 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 129414 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 461476 13997 0 3 0x4000082 thrsleep syz-fuzzer 4219 50353 13997 0 3 0x4000082 kqread syz-fuzzer 13997 223223 66248 0 3 0x10008a sigsusp ksh 66248 161140 59853 0 3 0x9a poll sshd 59853 328698 1 0 3 0x88 poll sshd 27373 160095 91373 74 3 0x100092 bpf pflogd 91373 223640 1 0 3 0x80 netio pflogd 71301 250289 83714 73 3 0x100090 kqread syslogd 83714 140639 1 0 3 0x100082 netio syslogd 87853 121812 1 0 3 0x100080 kqread resolvd 54582 77352 68963 77 3 0x100092 kqread dhcpleased 6812 115620 68963 77 3 0x100092 kqread dhcpleased 68963 366299 1 0 3 0x80 kqread dhcpleased 70811 259660 0 0 3 0x14200 bored smr 3124 81791 0 0 2 0x14200 zerothread 78288 283239 0 0 3 0x14200 aiodoned aiodoned 37629 75126 0 0 3 0x14200 syncer update 12939 2051 0 0 3 0x14200 cleaner cleaner 38929 255666 0 0 3 0x14200 reaper reaper 60646 331547 0 0 3 0x14200 pgdaemon pagedaemon 94979 280746 0 0 3 0x14200 bored viomb 32719 275054 0 0 3 0x40014200 acpi0 acpi0 93165 518828 0 0 7 0x40014200 idle1 40842 378062 0 0 3 0x14200 bored softnet 54455 159481 0 0 3 0x14200 bored systqmp 52900 110 0 0 3 0x14200 bored systq 27539 94874 0 0 3 0x40014200 bored softclock 76088 203836 0 0 3 0x40014200 idle0 1 501573 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 51278 (syz-executor.3) thread 0xffff8000274e8d28 (497265) exclusive rwlock vcpu r = 0 (0xffff8000246ac3b0) #0 witness_lock+0x44d #1 vm_run+0x2e0 sys/arch/amd64/amd64/vmm.c:4262 #2 vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 #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 10206 6497K 7654K 78643K 49756 0 pcb 13 16K 18K 78643K 2508 0 rtable 133 17K 20K 78643K 4231 0 ifaddr 67 22K 26K 78643K 1532 0 sysctl 3 1K 1K 78643K 3 0 counters 46 34K 35K 78643K 554 0 ioctlops 0 0K 8K 78643K 18079 0 iov 0 0K 16K 78643K 1992 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1518 95K 96K 78643K 12208 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 179 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2778 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 18018 0 sigio 0 0K 0K 78643K 184 0 proc 71 87K 111K 78643K 2758 0 subproc 52 3K 3K 78643K 836 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1127 0 in_multi 37 2K 3K 78643K 1497 0 ether_multi 1 0K 0K 78643K 291 0 mrt 1 0K 0K 78643K 83 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 3631 0 pfkey data 0 0K 0K 78643K 4 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 591 1952K 1968K 78643K 228793 0 UVM aobj 131 4K 4K 78643K 135 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1112 0 NDP 9 0K 1K 78643K 435 0 temp 112 4216K 8312K 78643K 173885 0 kqueue 10 14K 24K 78643K 792 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 1408 0 1405 23 22 1 4 0 8 0 rtentry 112 1301 0 1259 2 0 2 2 0 8 0 unpcb 136 11866 0 11851 115 114 1 9 0 8 0 syncache 296 40 0 40 10 10 0 1 0 8 0 tcpqe 32 10 0 10 4 4 0 1 0 8 0 tcpcb 736 5635 0 5631 192 191 1 14 0 8 0 arp 120 209 0 200 1 0 1 1 0 8 0 inpcb 304 16629 0 16622 246 244 2 16 0 8 1 rttmr 72 14 0 14 6 6 0 1 0 8 0 nd6 48 260 0 252 1 0 1 1 0 8 0 pkpcb 40 81 0 81 9 9 0 1 0 8 0 kcovpl 48 64 0 60 1 0 1 1 0 8 0 ppxss 1248 33 0 33 12 11 1 1 0 8 1 pfstscr 40 16 0 16 4 4 0 1 0 8 0 pffrag 232 71 0 70 11 10 1 1 0 482 0 pffrnode 88 65 0 64 11 10 1 1 0 8 0 pffrent 40 511 0 510 12 11 1 1 0 8 0 pfosfp 40 1432 0 1008 5 0 5 5 0 8 0 pfosfpen 112 1432 0 717 21 0 21 21 0 8 0 pfrktable 1344 181 0 171 5 4 1 2 0 8 0 pftag 88 41 0 38 2 1 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 31 0 29 1 0 1 1 0 8 0 pfstkey 112 55 0 53 1 0 1 1 0 8 0 pfstate 320 41 0 39 2 1 1 2 0 8 0 pfrule 1360 561 0 513 7 2 5 5 0 8 0 art_heap8 4096 9 0 8 6 5 1 3 0 8 0 art_heap4 256 4979 0 4778 45 29 16 19 0 8 0 art_table 32 4988 0 4786 5 2 3 3 0 8 0 art_node 16 1230 0 1194 1 0 1 1 0 8 0 sysvmsgpl 40 61 0 21 1 0 1 1 0 8 0 semapl 112 2776 0 2766 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 26664 0 25212 92 0 92 92 0 8 0 ffsino 272 26664 0 25212 98 0 98 98 0 8 0 nchpl 144 50982 0 49381 61 0 61 61 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 189152 0 189152 4 3 1 1 0 8 1 percpumem 16 289 0 254 1 0 1 1 0 8 0 vcpupl 2048 510 0 1 64 0 64 64 0 8 0 vmpool 560 513 0 4 37 0 37 37 0 8 0 pfiaddrpl 120 55 0 44 2 1 1 1 0 8 0 scsiplug 72 11 0 11 4 4 0 1 0 8 0 scxspl 216 144080 0 144080 50 49 1 8 0 8 1 plimitpl 152 1483 0 1472 1 0 1 1 0 8 0 sigapl 424 18103 0 18066 7 2 5 7 0 8 0 futexpl 64 169897 0 169895 4 3 1 1 0 8 0 knotepl 112 268 0 0 4 0 4 4 0 8 0 kqueuepl 216 3948 0 3942 87 86 1 8 0 8 0 pipepl 336 3365 0 3350 104 102 2 10 0 8 0 fdescpl 496 18066 0 18044 6 3 3 4 0 8 0 filepl 152 134262 0 134112 234 226 8 17 0 8 1 lockfpl 104 5717 0 5715 14 13 1 2 0 8 0 lockfspl 48 1494 0 1492 1 0 1 1 0 8 0 sessionpl 144 84 0 71 1 0 1 1 0 8 0 pgrppl 48 143 0 130 1 0 1 1 0 8 0 ucredpl 96 14595 0 14583 1 0 1 1 0 8 0 zombiepl 144 18067 0 18065 3 2 1 1 0 8 0 processpl 1064 18103 0 18065 7 3 4 5 0 8 0 procpl 672 52032 0 51984 14 8 6 8 0 8 0 srpgc 96 66 0 66 16 15 1 1 0 8 1 sosppl 168 155 0 155 23 23 0 1 0 8 0 sockpl 480 30040 0 30015 689 681 8 34 0 8 4 mcl64k 65536 43 0 0 3 0 3 3 0 8 0 mcl16k 16384 19 0 0 3 1 2 3 0 8 0 mcl12k 12288 33 0 0 3 1 2 2 0 8 0 mcl9k 9216 33 0 0 2 0 2 2 0 8 0 mcl8k 8192 41 0 0 4 1 3 3 0 8 0 mcl4k 4096 26 0 0 3 0 3 3 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 398 0 0 20 0 20 20 0 8 0 mtagpl 96 1365 0 0 15 0 15 15 0 8 0 mbufpl 256 7197 0 0 426 0 426 426 0 8 0 bufpl 288 34463 0 28119 454 0 454 454 0 8 0 anonpl 24 5122648 0 5105370 361 226 135 152 0 186 0 amapchunkpl 152 594473 0 593709 205 172 33 50 0 158 0 amappl16 200 48187 0 47449 264 224 40 52 0 8 0 amappl15 192 3860 0 3857 1 0 1 1 0 8 0 amappl14 184 3213 0 3209 1 0 1 1 0 8 0 amappl13 176 2000 0 1998 1 0 1 1 0 8 0 amappl12 168 1825 0 1817 1 0 1 1 0 8 0 amappl11 160 1591 0 1576 1 0 1 1 0 8 0 amappl10 152 3137 0 3124 1 0 1 1 0 8 0 amappl9 144 4813 0 4810 1 0 1 1 0 8 0 amappl8 136 2662 0 2547 5 1 4 4 0 8 0 amappl7 128 1331 0 1318 1 0 1 1 0 8 0 amappl6 120 4792 0 4769 1 0 1 1 0 8 0 amappl5 112 14905 0 14886 1 0 1 1 0 8 0 amappl4 104 7139 0 7109 1 0 1 1 0 8 0 amappl3 96 4713 0 4694 1 0 1 1 0 8 0 amappl2 88 4138 0 4092 4 2 2 2 0 8 0 amappl1 80 328336 0 327836 16 4 12 13 0 8 0 amappl 88 226916 0 226580 9 0 9 9 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 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 18579 0 18048 4 0 4 4 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18579 0 18048 4 0 4 4 0 8 0 vmmpekpl 168 113699 0 113619 5 0 5 5 0 8 0 vmmpepl 168 1664643 0 1661294 515 342 173 179 0 357 10 vmsppl 368 18578 0 18048 49 0 49 49 0 8 0 rwobjpl 56 403249 0 395397 139 25 114 115 0 8 0 pdppl 4096 37166 0 36605 650 87 563 565 0 8 2 pvpl 32 8391480 0 8371899 552 357 195 223 0 265 0 pmappl 248 18578 0 18048 34 0 34 34 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2230 0 423 52 0 52 52 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800027ce7fc0) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800027ce7fc0,1,ffff8000274e8d28) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd8070c8a3d0,c0205602,ffff800027ce7fc0,1,fffffd807f7d7600,ffff8000274e8d28) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067318b68,c0205602,ffff800027ce7fc0,ffff8000274e8d28) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000274e8d28,ffff800027ce80d8,ffff800027ce8130) at sys_ioctl+0x4a2 syscall(ffff800027ce81a0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027ce81a0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4771a88d10, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d38ff0) 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(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5