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(ffff80002af26930) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4297 vmmioctl(a00,c0205602,ffff80002af26930,1,ffff8000ffff2a88) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd807eac0ad0,c0205602,ffff80002af26930,1,fffffd807f7d85a0,ffff8000ffff2a88) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805b4643a0,c0205602,ffff80002af26930,ffff8000ffff2a88) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff2a88,ffff80002af26a48,ffff80002af26aa0) at sys_ioctl+0x4a2 syscall(ffff80002af26b10) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002af26b10) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7817bff8810, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002468a638 rbp 0xffff80002af266a0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x8000000000 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x657e0fe73976cff9 r11 0xc268a0905d8a09ba r12 0xffffffff8291cf90 dt_prov_static r13 0x246 r14 0xffff80002468a000 r15 0xffff80002af26930 rip 0xffffffff81cda6d0 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002af264f6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.0) pid=324391 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff22a8,0xffff8000ffff3cf8 process=0xffff8000fffecc90 user=0xffff80002af21000, vmspace=0xfffffd8066d55310 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45951 296974 93692 0 2 0 syz-executor.6 52998 447763 60021 0 2 0 syz-executor.0 *52998 324391 60021 0 7 0x4000000 syz-executor.0 37857 516078 13980 0 2 0 syz-executor.4 37857 65364 13980 0 2 0x4000000 syz-executor.4 57414 220766 43354 0 2 0 syz-executor.2 57414 73155 43354 0 2 0x4000000 syz-executor.2 2278 282156 92091 0 2 0 syz-executor.5 2278 518311 92091 0 3 0x4000080 fsleep syz-executor.5 49491 355560 93376 0 2 0 syz-executor.1 49491 323746 93376 0 3 0x4000080 fsleep syz-executor.1 14294 166228 37876 0 3 0x80 nanoslp syz-executor.3 14294 372938 37876 0 3 0x4000080 netio syz-executor.3 14294 144183 37876 0 3 0x4000080 fsleep syz-executor.3 93376 410792 9445 0 3 0x82 nanoslp syz-executor.1 54700 18822 9445 0 2 0x2 syz-executor.7 93692 292587 9445 0 3 0x82 nanoslp syz-executor.6 13980 486509 9445 0 3 0x82 nanoslp syz-executor.4 92091 381704 9445 0 3 0x82 nanoslp syz-executor.5 71931 324115 1 0 3 0x100083 ttyopn getty 43354 7723 9445 0 3 0x82 nanoslp syz-executor.2 66476 498766 0 0 3 0x14200 acct acct 37876 460648 9445 0 3 0x82 nanoslp syz-executor.3 81846 127007 0 0 3 0x14200 bored sosplice 60021 455578 9445 0 3 0x82 nanoslp syz-executor.0 9445 249937 59943 0 3 0x82 thrsleep syz-fuzzer 9445 50166 59943 0 3 0x4000082 thrsleep syz-fuzzer 9445 450095 59943 0 3 0x4000082 thrsleep syz-fuzzer 9445 107215 59943 0 3 0x4000082 thrsleep syz-fuzzer 9445 476205 59943 0 3 0x4000082 thrsleep syz-fuzzer 9445 440498 59943 0 3 0x4000082 thrsleep syz-fuzzer 9445 227627 59943 0 3 0x4000082 kqread syz-fuzzer 9445 285986 59943 0 3 0x4000082 thrsleep syz-fuzzer 59943 69180 95034 0 3 0x10008a sigsusp ksh 95034 37338 19913 0 3 0x9a poll sshd 19913 196133 1 0 3 0x88 poll sshd 60144 414983 86842 74 3 0x100092 bpf pflogd 86842 83074 1 0 3 0x80 netio pflogd 42906 38939 7560 73 3 0x100090 kqread syslogd 7560 382701 1 0 3 0x100082 netio syslogd 72038 490783 1 0 3 0x100080 kqread resolvd 94075 309719 48184 77 3 0x100092 kqread dhcpleased 76844 430712 48184 77 3 0x100092 kqread dhcpleased 48184 67538 1 0 3 0x80 kqread dhcpleased 85467 112858 0 0 3 0x14200 bored smr 73308 486943 0 0 2 0x14200 zerothread 34855 65755 0 0 3 0x14200 aiodoned aiodoned 96666 361333 0 0 3 0x14200 syncer update 61414 520559 0 0 3 0x14200 cleaner cleaner 23946 63700 0 0 3 0x14200 reaper reaper 76308 69749 0 0 3 0x14200 pgdaemon pagedaemon 14110 60711 0 0 3 0x14200 bored viomb 12671 13326 0 0 3 0x40014200 acpi0 acpi0 81541 65107 0 0 7 0x40014200 idle1 46094 177115 0 0 3 0x14200 bored softnet 92593 171934 0 0 3 0x14200 bored systqmp 76257 511418 0 0 3 0x14200 bored systq 81632 16259 0 0 3 0x40014200 bored softclock 48005 285126 0 0 3 0x40014200 idle0 1 96231 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 52998 (syz-executor.0) thread 0xffff8000ffff2a88 (324391) exclusive rwlock vcpu r = 0 (0xffff80002468a3b0) #0 witness_lock+0x44d #1 vm_run+0x2e0 sys/arch/amd64/amd64/vmm.c:4264 #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 10213 6587K 7016K 78643K 25831 0 pcb 13 16K 18K 78643K 2145 0 rtable 290 22K 23K 78643K 3029 0 ifaddr 105 24K 26K 78643K 1555 0 sysctl 3 1K 1K 78643K 3 0 counters 58 35K 36K 78643K 524 0 ioctlops 0 0K 4K 78643K 3349 0 iov 0 0K 32K 78643K 1009 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1341 84K 84K 78643K 7695 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 124 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 931 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 17 61K 89K 78643K 18272 0 sigio 0 0K 0K 78643K 65 0 proc 72 87K 136K 78643K 1532 0 subproc 104 13K 13K 78643K 407 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 643 0 in_multi 89 6K 7K 78643K 1226 0 ether_multi 1 0K 0K 78643K 136 0 mrt 1 0K 0K 78643K 58 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 181 811K 811K 78643K 181 0 exec 0 0K 2K 78643K 2041 0 pfkey data 0 0K 0K 78643K 7 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 494 442K 442K 78643K 225516 0 UVM aobj 131 6K 6K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 704 0 NDP 14 0K 2K 78643K 407 0 temp 155 4731K 4812K 78643K 172799 0 kqueue 10 14K 22K 78643K 450 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 1437 0 1434 12 11 1 3 0 8 0 rtentry 112 805 0 703 4 0 4 4 0 8 0 unpcb 136 5969 0 5954 53 52 1 6 0 8 0 syncache 296 320 0 320 17 16 1 1 0 8 1 tcpqe 32 11 0 11 6 6 0 1 0 8 0 tcpcb 736 8266 0 8258 159 158 1 17 0 8 0 arp 120 79 0 59 1 0 1 1 0 8 0 inpcb 304 25812 0 25801 207 206 1 19 0 8 0 rttmr 72 26 0 26 9 9 0 1 0 8 0 nd6 48 207 0 182 1 0 1 1 0 8 0 pkpcb 40 171 0 171 10 10 0 1 0 8 0 kcovpl 48 31 0 23 1 0 1 1 0 8 0 ppxss 1248 162 0 162 8 8 0 1 0 8 0 pfstscr 40 5 0 5 2 2 0 1 0 8 0 pffrag 232 103 0 102 12 11 1 1 0 482 0 pffrnode 88 103 0 102 12 11 1 1 0 8 0 pffrent 40 1044 0 1043 15 14 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 pfrke_plain 168 25 0 25 2 2 0 1 0 8 0 pfrktable 1344 259 0 232 7 4 3 3 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 81 0 79 1 0 1 1 0 8 0 pfstkey 112 110 0 108 2 1 1 2 0 8 0 pfstate 320 94 0 92 4 3 1 4 0 8 0 pfsrctr 152 33 0 33 1 1 0 1 0 8 0 pfrule 1360 689 0 519 17 2 15 15 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3947 0 3490 42 13 29 31 0 8 0 art_table 32 3948 0 3490 5 1 4 5 0 8 0 art_node 16 799 0 708 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 2 2 1 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 929 0 919 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 24830 0 23358 93 0 93 93 0 8 0 ffsino 272 24830 0 23358 99 0 99 99 0 8 0 nchpl 144 46916 0 45285 63 0 63 63 0 8 0 rtmask 32 8 0 8 1 1 0 1 0 8 0 uvmvnodes 80 6665 0 0 137 0 137 137 0 8 0 vnodes 224 6665 0 0 393 0 393 393 0 8 0 namei 1024 140695 0 140695 10 9 1 2 0 8 1 percpumem 16 274 0 233 1 0 1 1 0 8 0 vcpupl 2048 31 0 0 4 0 4 4 0 8 0 vmpool 560 41 0 10 4 1 3 3 0 8 0 pfiaddrpl 120 163 0 47 6 2 4 4 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 156184 0 156184 23 22 1 8 0 8 1 plimitpl 152 961 0 946 1 0 1 1 0 8 0 sigapl 424 18554 0 18508 8 2 6 8 0 8 0 futexpl 64 141023 0 141020 7 6 1 1 0 8 0 knotepl 112 147 0 0 4 0 4 4 0 8 0 kqueuepl 216 2147 0 2141 45 44 1 6 0 8 0 pipepl 336 2263 0 2235 73 70 3 9 0 8 0 fdescpl 496 18515 0 18485 5 1 4 5 0 8 0 filepl 152 98725 0 98481 157 146 11 22 0 8 0 lockfpl 104 2495 0 2493 4 3 1 2 0 8 0 lockfspl 48 863 0 861 1 0 1 1 0 8 0 sessionpl 144 49 0 32 1 0 1 1 0 8 0 pgrppl 48 145 0 128 1 0 1 1 0 8 0 ucredpl 96 14155 0 14142 1 0 1 1 0 8 0 zombiepl 144 18508 0 18508 2 1 1 1 0 8 1 processpl 1064 18554 0 18508 5 1 4 5 0 8 0 procpl 672 45409 0 45349 26 20 6 10 0 8 0 srpgc 96 12 0 12 6 6 0 1 0 8 0 sosppl 168 58 0 58 9 9 0 1 0 8 0 sockpl 480 33516 0 33487 537 533 4 41 0 8 0 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 12 0 0 2 0 2 2 0 8 0 mcl9k 9216 15 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 383 0 0 23 8 15 23 0 8 0 mtagpl 96 811 0 0 15 0 15 15 0 8 0 mbufpl 256 1667 0 0 91 0 91 91 0 8 0 bufpl 288 31333 0 24667 477 0 477 477 0 8 0 anonpl 24 4980290 0 4956237 355 202 153 182 0 186 0 amapchunkpl 152 562072 0 561143 227 185 42 150 0 158 3 amappl16 200 43825 0 42989 111 61 50 57 0 8 0 amappl15 192 1777 0 1771 1 0 1 1 0 8 0 amappl14 184 3719 0 3714 1 0 1 1 0 8 0 amappl13 176 3242 0 3237 1 0 1 1 0 8 0 amappl12 168 1960 0 1955 2 1 1 1 0 8 0 amappl11 160 3410 0 3391 1 0 1 1 0 8 0 amappl10 152 2140 0 2132 1 0 1 1 0 8 0 amappl9 144 1669 0 1664 1 0 1 1 0 8 0 amappl8 136 3254 0 3122 6 1 5 5 0 8 0 amappl7 128 2135 0 2124 1 0 1 1 0 8 0 amappl6 120 1500 0 1471 2 1 1 2 0 8 0 amappl5 112 19524 0 19503 1 0 1 1 0 8 0 amappl4 104 6659 0 6624 2 0 2 2 0 8 0 amappl3 96 3315 0 3304 1 0 1 1 0 8 0 amappl2 88 5665 0 5614 3 1 2 3 0 8 0 amappl1 80 320327 0 319734 19 5 14 19 0 8 0 amappl 88 224089 0 223781 9 1 8 8 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 18556 0 18495 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18556 0 18495 1 0 1 1 0 8 0 vmmpekpl 168 116351 0 116293 4 0 4 4 0 8 0 vmmpepl 168 1647738 0 1644719 329 191 138 159 0 357 0 vmsppl 368 18555 0 18495 7 1 6 6 0 8 0 rwobjpl 56 381425 0 372695 138 14 124 125 0 8 0 pdppl 4096 37119 0 37021 419 319 100 100 0 8 2 pvpl 32 8462815 0 8437064 608 390 218 279 0 265 0 pmappl 248 18555 0 18495 5 1 4 4 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1533 0 582 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002af26930) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4297 vmmioctl(a00,c0205602,ffff80002af26930,1,ffff8000ffff2a88) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd807eac0ad0,c0205602,ffff80002af26930,1,fffffd807f7d85a0,ffff8000ffff2a88) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805b4643a0,c0205602,ffff80002af26930,ffff8000ffff2a88) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff2a88,ffff80002af26a48,ffff80002af26aa0) at sys_ioctl+0x4a2 syscall(ffff80002af26b10) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002af26b10) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7817bff8810, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) 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(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5