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(ffff80002608a510) at vm_run+0x308 sys/arch/amd64/amd64/vmm.c:4485 vmmioctl(a00,c0205602,ffff80002608a510,1,ffff80002e37e548) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:661 VOP_IOCTL(fffffd806e44fbb0,c0205602,ffff80002608a510,1,fffffd807f7d7540,ffff80002e37e548) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805c846008,c0205602,ffff80002608a510,ffff80002e37e548) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002e37e548,ffff80002608a628,ffff80002608a680) at sys_ioctl+0x4a2 syscall(ffff80002608a6f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002608a6f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e591e89670, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002608fe38 rbp 0xffff80002608a270 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xfffffffffffffffa r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xe72fb158c9ca53d2 r11 0x2c95ca564a51e5d5 r12 0xffffffff82996538 dt_prov_static r13 0x246 r14 0xffff80002608f800 r15 0xffff80002608a510 rip 0xffffffff818ac000 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002608a0c6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.4) pid=480236 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff80002e37e7e8,0xffffffff829f7b30 process=0xffff80002873b620 user=0xffff800026085000, vmspace=0xfffffd8070917308 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94440 437974 36209 0 2 0 syz-executor.7 94440 480302 36209 0 3 0x4000080 fsleep syz-executor.7 66636 370776 14757 0 7 0 syz-executor.4 *66636 480236 14757 0 7 0x4000000 syz-executor.4 85901 107655 67499 0 2 0 syz-executor.1 85901 8938 67499 0 3 0x4000080 kqread syz-executor.1 19799 384604 75060 0 2 0 syz-executor.3 19799 333861 75060 0 3 0x4000080 fsleep syz-executor.3 82233 270166 64870 0 2 0 syz-executor.0 82233 419614 64870 0 3 0x4000080 fsleep syz-executor.0 47780 224550 81977 0 2 0 syz-executor.5 47780 303024 81977 0 3 0x4000080 fsleep syz-executor.5 13151 364097 8913 0 2 0 syz-executor.2 13151 398571 8913 0 2 0x4000000 syz-executor.2 13151 248262 8913 0 3 0x4000080 fsleep syz-executor.2 77943 495880 39426 0 2 0x2 syz-executor.6 75060 252751 39426 0 3 0x82 nanoslp syz-executor.3 11390 332961 1 0 3 0x100083 ttyopn getty 14757 92958 39426 0 3 0x82 nanoslp syz-executor.4 81977 206333 39426 0 3 0x82 nanoslp syz-executor.5 86074 43236 0 0 3 0x14280 nfsidl nfsio 16067 335031 0 0 3 0x14280 nfsidl nfsio 80115 312296 0 0 3 0x14280 nfsidl nfsio 72785 180258 0 0 3 0x14280 nfsidl nfsio 19362 112015 0 0 3 0x14280 nfsidl nfsio 51823 289201 0 0 3 0x14280 nfsidl nfsio 98639 86664 0 0 3 0x14280 nfsidl nfsio 81404 148095 0 0 3 0x14280 nfsidl nfsio 2752 241818 0 0 3 0x14280 nfsidl nfsio 75212 96424 0 0 3 0x14280 nfsidl nfsio 7237 182084 0 0 3 0x14280 nfsidl nfsio 29835 45162 0 0 3 0x14280 nfsidl nfsio 93492 42486 0 0 3 0x14280 nfsidl nfsio 68551 345574 0 0 3 0x14280 nfsidl nfsio 38864 6831 0 0 3 0x14280 nfsidl nfsio 98144 400863 0 0 3 0x14280 nfsidl nfsio 82385 19450 0 0 3 0x14280 nfsidl nfsio 13418 305899 0 0 3 0x14280 nfsidl nfsio 89019 295272 0 0 3 0x14280 nfsidl nfsio 99051 81822 0 0 3 0x14280 nfsidl nfsio 55013 71220 0 0 3 0x14200 bored sosplice 36209 6104 39426 0 3 0x82 nanoslp syz-executor.7 8913 95575 39426 0 3 0x82 nanoslp syz-executor.2 67499 3956 39426 0 3 0x82 nanoslp syz-executor.1 64870 326563 39426 0 2 0x2 syz-executor.0 39426 307278 13411 0 3 0x82 thrsleep syz-fuzzer 39426 360895 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 15356 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 79141 13411 0 3 0x4000082 kqread syz-fuzzer 39426 8325 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 312572 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 276878 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 379607 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 55711 13411 0 3 0x4000082 thrsleep syz-fuzzer 39426 432234 13411 0 3 0x4000082 thrsleep syz-fuzzer 13411 34387 64152 0 3 0x10008a sigsusp ksh 64152 81635 18052 0 3 0x9a kqread sshd 18052 277885 1 0 3 0x88 kqread sshd 30244 479199 84418 74 3 0x1100092 bpf pflogd 84418 346846 1 0 3 0x80 netio pflogd 63141 204540 8217 73 3 0x1100090 kqread syslogd 8217 139253 1 0 3 0x100082 netio syslogd 47990 233822 1 0 3 0x100080 kqread resolvd 16747 416720 2431 77 3 0x100092 kqread dhcpleased 22441 502641 2431 77 3 0x100092 kqread dhcpleased 2431 303179 1 0 3 0x80 kqread dhcpleased 50664 153557 0 0 3 0x14200 bored smr 97564 264774 0 0 2 0x14200 zerothread 30747 35849 0 0 3 0x14200 aiodoned aiodoned 79817 333069 0 0 3 0x14200 syncer update 52844 351550 0 0 3 0x14200 cleaner cleaner 23268 465009 0 0 3 0x14200 reaper reaper 83474 183931 0 0 3 0x14200 pgdaemon pagedaemon 66628 443581 0 0 3 0x14200 bored viomb 54140 413126 0 0 3 0x40014200 acpi0 acpi0 2757 415963 0 0 3 0x40014200 idle1 676 185119 0 0 3 0x14200 bored softnet 71194 274473 0 0 3 0x14200 bored softnet 96627 71810 0 0 3 0x14200 bored softnet 74541 171799 0 0 3 0x14200 bored softnet 62474 14742 0 0 3 0x14200 bored systqmp 40027 138690 0 0 3 0x14200 bored systq 86818 502296 0 0 3 0x40014200 bored softclock 17365 504442 0 0 3 0x40014200 idle0 1 408261 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 6874K 7523K 78643K 23780 0 pcb 13 10K 12K 78643K 673 0 rtable 199 8K 11K 78643K 919 0 ifaddr 86 18K 21K 78643K 475 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 178 0 ioctlops 0 0K 4K 78643K 3073 0 iov 0 0K 16K 78643K 245 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1403 88K 88K 78643K 5248 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 42 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 229 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 9564 0 sigio 0 0K 0K 78643K 32 0 proc 71 91K 140K 78643K 1172 0 subproc 104 6K 6K 78643K 226 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 375 0 in_multi 84 5K 7K 78643K 366 0 ether_multi 1 0K 0K 78643K 44 0 mrt 1 0K 0K 78643K 38 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 2K 78643K 1156 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 319 288K 288K 78643K 48316 0 UVM aobj 60 3K 3K 78643K 67 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 270 0 NDP 13 0K 2K 78643K 114 0 temp 225 4912K 70260K 78643K 85005 0 kqueue 14 22K 26K 78643K 895 0 SYN cache 2 8K 16K 78643K 3 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 165 0 162 1 0 1 1 0 8 0 rtentry 112 268 0 181 4 0 4 4 0 8 0 unpcb 136 5198 0 5179 18 15 3 9 0 8 2 syncache 296 114 0 114 10 10 0 1 0 8 0 tcpqe 32 63 0 63 6 6 0 1 0 8 0 tcpcb 736 1577 0 1570 17 13 4 5 0 8 3 arp 120 39 0 27 1 0 1 1 0 8 0 inpcb 312 3428 0 3421 10 6 4 6 0 8 3 nd6 48 60 0 39 1 0 1 1 0 8 0 pkpcb 40 18 0 18 5 5 0 1 0 8 0 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1248 35 0 35 6 6 0 1 0 8 0 pfstscr 40 22 0 22 4 4 0 1 0 8 0 pffrag 232 23 0 23 3 2 1 1 0 482 1 pffrnode 88 21 0 21 3 2 1 1 0 8 1 pffrent 40 43 0 43 3 2 1 1 0 8 1 pfosfp 40 1445 0 1020 5 0 5 5 0 8 0 pfosfpen 112 1445 0 717 21 0 21 21 0 8 0 pfrktable 1344 51 0 51 2 2 0 1 0 8 0 pftag 88 22 0 15 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 47 0 45 1 0 1 1 0 8 0 pfstkey 112 77 0 75 2 1 1 2 0 8 0 pfstate 336 59 0 57 4 3 1 4 0 8 0 pfrule 1360 200 0 192 4 3 1 2 0 8 0 rttmr 64 16 0 16 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1325 0 891 37 9 28 31 0 8 0 art_table 32 1326 0 891 4 0 4 4 0 8 0 art_node 16 267 0 190 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 11 2 1 1 1 0 8 0 semapl 112 227 0 217 1 0 1 1 0 8 0 shmpl 112 64 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13277 0 11809 92 0 92 92 0 8 0 ffsino 272 13277 0 11809 99 0 99 99 0 8 0 nchpl 144 24303 0 22655 63 0 63 63 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 64504 0 64504 2 1 1 2 0 8 1 percpumem 16 101 0 61 1 0 1 1 0 8 0 vcpupl 2048 16 0 0 2 0 2 2 0 8 0 vmpool 560 27 0 11 2 0 2 2 0 8 0 pfiaddrpl 120 16 0 16 2 2 0 1 0 8 0 kstatmem 264 148 0 122 2 0 2 2 0 8 0 scsiplug 72 15 0 15 2 2 0 1 0 8 0 scxspl 216 75667 0 75667 17 15 2 8 0 8 2 plimitpl 152 332 0 317 1 0 1 1 0 8 0 sigapl 424 9874 0 9805 9 1 8 8 0 8 0 futexpl 64 52254 0 52249 1 0 1 1 0 8 0 knotepl 120 472 0 0 11 0 11 11 0 8 0 kqueuepl 216 1427 0 1417 9 5 4 5 0 8 3 pipepl 336 733 0 705 13 10 3 8 0 8 0 fdescpl 496 9836 0 9806 5 1 4 5 0 8 0 filepl 152 33837 0 33525 36 20 16 19 0 8 3 lockfpl 104 1031 0 1029 1 0 1 1 0 8 0 lockfspl 48 437 0 435 1 0 1 1 0 8 0 sessionpl 144 35 0 18 1 0 1 1 0 8 0 pgrppl 48 48 0 31 1 0 1 1 0 8 0 ucredpl 96 3308 0 3295 1 0 1 1 0 8 0 zombiepl 144 9806 0 9805 2 1 1 1 0 8 0 processpl 1064 9874 0 9805 5 0 5 5 0 8 0 procpl 672 20810 0 20724 14 6 8 9 0 8 0 srpgc 96 12 0 12 3 3 0 1 0 8 0 sosppl 168 106 0 106 9 9 0 1 0 8 0 sockpl 480 8821 0 8784 102 89 13 35 0 8 7 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 49 0 0 6 3 3 5 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 325 0 0 18 0 18 18 0 8 0 mtagpl 96 802 0 0 19 0 19 19 0 8 0 mbufpl 256 1244 0 0 68 0 68 68 0 8 0 bufpl 288 16438 0 10103 453 0 453 453 0 8 0 anonpl 24 1693874 0 1682636 170 93 77 92 0 186 0 amapchunkpl 152 140143 0 139492 62 36 26 33 0 158 0 amappl16 200 25871 0 25584 91 75 16 27 0 8 0 amappl15 192 1059 0 1057 1 0 1 1 0 8 0 amappl14 184 761 0 755 1 0 1 1 0 8 0 amappl13 176 683 0 677 1 0 1 1 0 8 0 amappl12 168 3146 0 3141 1 0 1 1 0 8 0 amappl11 160 94 0 75 1 0 1 1 0 8 0 amappl10 152 327 0 321 1 0 1 1 0 8 0 amappl9 144 2159 0 2152 1 0 1 1 0 8 0 amappl8 136 3183 0 3090 4 0 4 4 0 8 0 amappl7 128 2449 0 2435 1 0 1 1 0 8 0 amappl6 120 1945 0 1919 2 1 1 2 0 8 0 amappl5 112 6963 0 6945 1 0 1 1 0 8 0 amappl4 104 1374 0 1343 2 0 2 2 0 8 0 amappl3 96 29166 0 29105 2 0 2 2 0 8 0 amappl2 88 12894 0 12826 4 2 2 3 0 8 0 amappl1 80 219669 0 218974 20 4 16 20 0 8 0 amappl 88 47533 0 47340 5 0 5 5 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 66 0 7 2 0 2 2 0 8 0 uaddrrnd 24 9863 0 9817 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9863 0 9817 1 0 1 1 0 8 0 vmmpekpl 168 53793 0 53732 4 0 4 4 0 8 0 vmmpepl 168 914370 0 911880 188 78 110 117 0 357 1 vmsppl 368 9862 0 9817 6 1 5 5 0 8 0 rwobjpl 56 210139 0 202761 121 16 105 107 0 8 0 pdppl 4096 19733 0 19650 312 227 85 86 0 8 2 pvpl 32 3786453 0 3770337 397 257 140 258 0 265 0 pmappl 248 9862 0 9817 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1157 0 278 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff80002608a510) at vm_run+0x308 sys/arch/amd64/amd64/vmm.c:4485 vmmioctl(a00,c0205602,ffff80002608a510,1,ffff80002e37e548) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:661 VOP_IOCTL(fffffd806e44fbb0,c0205602,ffff80002608a510,1,fffffd807f7d7540,ffff80002e37e548) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd805c846008,c0205602,ffff80002608a510,ffff80002e37e548) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff80002e37e548,ffff80002608a628,ffff80002608a680) at sys_ioctl+0x4a2 syscall(ffff80002608a6f0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002608a6f0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e591e89670, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020cd8ff0) 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: 0x7f7ffffdeff0, count: -3