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(ffff800027bb2690) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800027bb2690,1,ffff8000ffff57a8) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd807b0e83d0,c0205602,ffff800027bb2690,1,fffffd807f7d77e0,ffff8000ffff57a8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806831f2f8,c0205602,ffff800027bb2690,ffff8000ffff57a8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff57a8,ffff800027bb27a8,ffff800027bb2800) at sys_ioctl+0x4a2 syscall(ffff800027bb2870) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027bb2870) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdad2ab850a0, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff800022cade38 rbp 0xffff800027bb2400 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffa r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x85cd96dd0b807446 r11 0x9ea104089f6570ad r12 0xffffffff827ade70 dt_prov_static r13 0x246 r14 0xffff800022cad800 r15 0xffff800027bb2690 rip 0xffffffff814131b0 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800027bb2256 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.3) pid=101899 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021236a80,0xffff8000ffff4fd8 process=0xffff8000211f1900 user=0xffff800027bad000, vmspace=0xfffffd806eef6cf8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 66821 338596 38078 0 2 0 syz-executor.1 7462 325700 38716 0 2 0 syz-executor.2 9168 408428 46173 0 7 0 syz-executor.3 * 9168 101899 46173 0 7 0x4000000 syz-executor.3 6441 181416 16109 0 2 0x480 syz-executor.0 6441 452030 16109 0 3 0x4000080 fsleep syz-executor.0 6441 78253 16109 0 3 0x4000080 fsleep syz-executor.0 54043 152571 0 0 3 0x14280 nfsidl nfsio 66753 196359 0 0 3 0x14280 nfsidl nfsio 578 295998 0 0 3 0x14280 nfsidl nfsio 61162 495737 0 0 3 0x14280 nfsidl nfsio 77606 250653 0 0 3 0x14280 nfsidl nfsio 77818 300820 0 0 3 0x14280 nfsidl nfsio 29344 298677 0 0 3 0x14280 nfsidl nfsio 23660 287302 0 0 3 0x14280 nfsidl nfsio 4502 140830 0 0 3 0x14280 nfsidl nfsio 35507 36609 0 0 3 0x14280 nfsidl nfsio 62464 305775 0 0 3 0x14280 nfsidl nfsio 70740 82365 0 0 3 0x14280 nfsidl nfsio 20891 479938 0 0 3 0x14280 nfsidl nfsio 90 9313 0 0 3 0x14280 nfsidl nfsio 18732 423880 0 0 3 0x14280 nfsidl nfsio 71045 266727 0 0 3 0x14280 nfsidl nfsio 20017 378993 0 0 3 0x14280 nfsidl nfsio 52300 30765 0 0 3 0x14280 nfsidl nfsio 39724 273014 0 0 3 0x14280 nfsidl nfsio 20775 113067 0 0 3 0x14280 nfsidl nfsio 96185 395547 0 0 3 0x14200 acct acct 20108 11033 1 0 3 0x100083 ttyin getty 38078 414775 78165 0 2 0x2 syz-executor.1 59543 435954 0 0 3 0x14200 bored sosplice 46173 193614 78165 0 3 0x82 nanoslp syz-executor.3 38716 166844 78165 0 3 0x82 nanoslp syz-executor.2 16109 277783 78165 0 3 0x82 nanoslp syz-executor.0 78165 440279 5958 0 3 0x82 thrsleep syz-fuzzer 78165 205020 5958 0 3 0x4000082 nanoslp syz-fuzzer 78165 445891 5958 0 2 0x4000482 syz-fuzzer 78165 250069 5958 0 3 0x4000082 thrsleep syz-fuzzer 78165 209371 5958 0 3 0x4000082 thrsleep syz-fuzzer 78165 308703 5958 0 3 0x4000082 thrsleep syz-fuzzer 78165 63999 5958 0 3 0x4000082 thrsleep syz-fuzzer 78165 63418 5958 0 2 0x4000082 syz-fuzzer 5958 380999 32320 0 3 0x10008a sigsusp ksh 32320 201689 51500 0 3 0x9a poll sshd 51500 129201 1 0 3 0x88 poll sshd 89499 482793 10893 74 3 0x100092 bpf pflogd 10893 438294 1 0 3 0x80 netio pflogd 52143 252859 48712 73 3 0x100090 kqread syslogd 48712 466915 1 0 3 0x100082 netio syslogd 53640 127377 1 0 3 0x100080 kqread resolvd 21211 142322 39087 77 3 0x100092 kqread dhcpleased 92389 413098 39087 77 3 0x100092 kqread dhcpleased 39087 214137 1 0 3 0x80 kqread dhcpleased 79659 403907 0 0 3 0x14200 bored smr 34625 378208 0 0 2 0x14200 zerothread 85854 136988 0 0 3 0x14200 aiodoned aiodoned 17914 491811 0 0 3 0x14200 syncer update 4313 97261 0 0 3 0x14200 cleaner cleaner 74544 6540 0 0 3 0x14200 reaper reaper 33066 133500 0 0 3 0x14200 pgdaemon pagedaemon 88621 249709 0 0 3 0x14200 bored viomb 23939 275735 0 0 3 0x40014200 acpi0 acpi0 68622 325501 0 0 3 0x40014200 idle1 12368 256319 0 0 3 0x14200 bored softnet 38220 387496 0 0 3 0x14200 bored systqmp 22524 97778 0 0 3 0x14200 bored systq 48410 77197 0 0 3 0x40014200 bored softclock 64175 40468 0 0 3 0x40014200 idle0 1 384819 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 9168 (syz-executor.3) thread 0xffff8000ffff57a8 (101899) exclusive rwlock vcpu r = 0 (0xffff800022cadbb0) #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 10208 6670K 7466K 78643K 29265 0 pcb 13 13K 14K 78643K 170 0 rtable 150 4K 6K 78643K 337 0 ifaddr 59 13K 14K 78643K 181 0 counters 48 34K 35K 78643K 82 0 ioctlops 0 0K 4K 78643K 6073 0 iov 0 0K 16K 78643K 240 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1361 86K 86K 78643K 5618 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 10 33K 49K 78643K 4113 0 sigio 0 0K 0K 78643K 40 0 proc 70 87K 111K 78643K 496 0 subproc 52 3K 3K 78643K 65 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 190 0 in_multi 55 3K 3K 78643K 106 0 ether_multi 1 0K 0K 78643K 17 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 229 1023K 1023K 78643K 229 0 exec 0 0K 2K 78643K 1997 0 pfkey data 0 0K 1K 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 300 183K 184K 78643K 54163 0 UVM aobj 49 2K 2K 78643K 58 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 109 0 NDP 8 0K 1K 78643K 37 0 temp 98 4201K 4271K 78643K 19055 0 kqueue 12 16K 21K 78643K 119 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 121 0 118 2 1 1 2 0 8 0 rtentry 112 82 0 16 2 0 2 2 0 8 0 unpcb 136 1866 0 1849 21 20 1 6 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 18 0 18 1 1 0 1 0 8 0 tcpcb 736 2444 0 2440 68 66 2 13 0 8 1 arp 120 12 0 2 1 0 1 1 0 8 0 inpcb 304 4307 0 4300 70 69 1 11 0 8 0 nd6 48 17 0 5 1 0 1 1 0 8 0 pkpcb 40 9 0 9 3 3 0 1 0 8 0 kcovpl 48 5 0 1 1 0 1 1 0 8 0 ppxss 1248 3 0 3 1 1 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 4 0 4 1 1 0 1 0 482 0 pffrnode 88 4 0 4 1 1 0 1 0 8 0 pffrent 40 95 0 95 1 1 0 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 23 0 23 2 2 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfstitem 24 31 0 29 1 0 1 1 0 8 0 pfstkey 112 39 0 37 1 0 1 1 0 8 0 pfstate 320 35 0 33 2 1 1 2 0 8 0 pfrule 1360 183 0 175 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 320 0 44 18 0 18 18 0 8 0 art_table 32 321 0 44 3 0 3 3 0 8 0 art_node 16 81 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 11 0 3 1 0 1 1 0 8 0 shmpl 112 55 0 9 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5975 0 4557 89 0 89 89 0 8 0 ffsino 272 5975 0 4557 95 0 95 95 0 8 0 nchpl 144 11046 0 9447 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 38885 0 38885 2 1 1 1 0 8 1 percpumem 16 53 0 17 1 0 1 1 0 8 0 vcpupl 2048 9 0 0 2 0 2 2 0 8 0 vmpool 560 9 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 4 1 1 0 1 0 8 0 scxspl 216 31206 0 31206 11 10 1 8 0 8 1 plimitpl 152 227 0 216 1 0 1 1 0 8 0 sigapl 424 4371 0 4312 7 0 7 7 0 8 0 futexpl 64 31242 0 31240 2 1 1 1 0 8 0 knotepl 112 81 0 0 3 0 3 3 0 8 0 kqueuepl 216 692 0 685 16 15 1 4 0 8 0 pipepl 336 481 0 464 18 16 2 7 0 8 0 fdescpl 496 4335 0 4312 4 1 3 4 0 8 0 filepl 152 27361 0 27204 58 50 8 14 0 8 1 lockfpl 104 793 0 791 3 2 1 2 0 8 0 lockfspl 48 269 0 267 1 0 1 1 0 8 0 sessionpl 144 22 0 9 1 0 1 1 0 8 0 pgrppl 48 22 0 9 1 0 1 1 0 8 0 ucredpl 96 1634 0 1622 1 0 1 1 0 8 0 zombiepl 144 4312 0 4312 2 1 1 1 0 8 1 processpl 1064 4371 0 4312 4 0 4 4 0 8 0 procpl 672 12087 0 12018 10 3 7 8 0 8 1 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 480 6306 0 6279 152 147 5 21 0 8 1 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 19 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 1 2 3 0 8 0 mcl4k 4096 23 0 0 3 1 2 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 241 0 0 22 0 22 22 0 8 0 mtagpl 96 1073 0 0 25 0 25 25 0 8 0 mbufpl 256 2371 0 0 142 0 142 142 0 8 0 bufpl 288 8280 0 1935 454 0 454 454 0 8 0 anonpl 24 1172937 0 1155140 157 46 111 125 0 186 0 amapchunkpl 152 129479 0 128720 41 9 32 34 0 158 1 amappl16 200 10014 0 9493 52 24 28 39 0 8 0 amappl15 192 1233 0 1229 1 0 1 1 0 8 0 amappl14 184 968 0 964 1 0 1 1 0 8 0 amappl13 176 47 0 46 1 0 1 1 0 8 0 amappl12 168 16 0 13 1 0 1 1 0 8 0 amappl11 160 47 0 32 1 0 1 1 0 8 0 amappl10 152 1062 0 1053 1 0 1 1 0 8 0 amappl9 144 2282 0 2276 1 0 1 1 0 8 0 amappl8 136 437 0 384 2 0 2 2 0 8 0 amappl7 128 80 0 70 1 0 1 1 0 8 0 amappl6 120 1943 0 1924 1 0 1 1 0 8 0 amappl5 112 4369 0 4348 1 0 1 1 0 8 0 amappl4 104 1612 0 1586 1 0 1 1 0 8 0 amappl3 96 320 0 302 1 0 1 1 0 8 0 amappl2 88 505 0 461 12 10 2 2 0 8 1 amappl1 80 80336 0 79844 16 5 11 13 0 8 0 amappl 88 53754 0 53548 8 2 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 57 0 9 1 0 1 1 0 8 0 uaddrrnd 24 4344 0 4312 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4344 0 4312 1 0 1 1 0 8 0 vmmpekpl 168 34389 0 34349 3 0 3 3 0 8 0 vmmpepl 168 387498 0 385389 153 57 96 128 0 357 2 vmsppl 368 4343 0 4312 3 0 3 3 0 8 0 rwobjpl 56 100013 0 92644 107 2 105 105 0 8 0 pdppl 4096 8696 0 8633 88 25 63 63 0 8 0 pvpl 32 1948820 0 1927247 253 71 182 197 0 265 2 pmappl 248 4343 0 4312 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1020 0 113 27 0 27 27 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800027bb2690) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff800027bb2690,1,ffff8000ffff57a8) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd807b0e83d0,c0205602,ffff800027bb2690,1,fffffd807f7d77e0,ffff8000ffff57a8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806831f2f8,c0205602,ffff800027bb2690,ffff8000ffff57a8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff57a8,ffff800027bb27a8,ffff800027bb2800) at sys_ioctl+0x4a2 syscall(ffff800027bb2870) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027bb2870) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdad2ab850a0, 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 end of kernel end trace frame: 0x7f7ffffbb590, count: -3