kernel: protection fault trap, code=0 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e375a00) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4297 vmmioctl(a00,c0205602,ffff80002e375a00,1,ffff800021143a48) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806e9dbad0,c0205602,ffff80002e375a00,1,fffffd807f7d8720,ffff800021143a48) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067fad4d8,c0205602,ffff80002e375a00,ffff800021143a48) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021143a48,ffff80002e375b18,ffff80002e375b70) at sys_ioctl+0x4a2 syscall(ffff80002e375be0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e375be0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac4b6b63060, count: -8 ddb{1}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002e3ad638 rbp 0xffff80002e375770 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x40000000000 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xc7d5c037e4dfc65b r11 0x8599f17e0d137682 r12 0xffffffff8298aa98 dt_prov_static r13 0x246 r14 0xffff80002e3ad000 r15 0xffff80002e375a00 rip 0xffffffff81840af0 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80002e3755c6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{1}> show proc PROC (syz-executor.3) pid=116843 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021142fc8,0xffff800021193cf0 process=0xffff80002e3e9d38 user=0xffff80002e370000, vmspace=0xfffffd8008732e60 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 29900 44529 34159 0 2 0 syz-executor.3 *29900 116843 34159 0 7 0x4000000 syz-executor.3 37917 188869 3277 0 2 0 syz-executor.5 66167 1424 74904 0 2 0 syz-executor.0 66167 196266 74904 0 2 0x4000000 syz-executor.0 44221 445347 37148 0 2 0 syz-executor.1 44221 398188 37148 0 3 0x4000080 fsleep syz-executor.1 81975 487127 44184 0 2 0 syz-executor.7 81975 183305 44184 0 2 0x4000000 syz-executor.7 2720 433750 81288 0 7 0 syz-executor.6 2720 150194 81288 0 3 0x4000080 rest syz-executor.6 2720 72306 81288 0 3 0x4000080 bell syz-executor.6 24513 204865 99247 0 2 0 syz-executor.4 87141 47750 8354 0 2 0x2 syz-executor.2 81288 65026 8354 0 3 0x82 nanoslp syz-executor.6 99247 338660 8354 0 3 0x82 nanoslp syz-executor.4 37148 331813 8354 0 3 0x82 nanoslp syz-executor.1 3277 290529 8354 0 3 0x82 nanoslp syz-executor.5 44184 126574 8354 0 3 0x82 nanoslp syz-executor.7 5976 167749 0 0 3 0x14200 acct acct 12393 483412 1 0 3 0x100083 ttyin getty 72782 229693 0 0 3 0x14280 nfsidl nfsio 32071 392455 0 0 3 0x14280 nfsidl nfsio 50692 71115 0 0 3 0x14280 nfsidl nfsio 23715 229058 0 0 3 0x14280 nfsidl nfsio 64621 209709 0 0 3 0x14280 nfsidl nfsio 47292 91884 0 0 3 0x14280 nfsidl nfsio 34159 261028 8354 0 3 0x82 nanoslp syz-executor.3 74322 208754 0 0 3 0x14200 bored sosplice 74904 71198 8354 0 3 0x82 nanoslp syz-executor.0 8354 86376 31697 0 3 0x82 thrsleep syz-fuzzer 8354 259276 31697 0 3 0x4000082 thrsleep syz-fuzzer 8354 27483 31697 0 3 0x4000082 thrsleep syz-fuzzer 8354 11685 31697 0 3 0x4000082 thrsleep syz-fuzzer 8354 189754 31697 0 3 0x4000082 kqread syz-fuzzer 8354 230464 31697 0 3 0x4000082 thrsleep syz-fuzzer 8354 471936 31697 0 3 0x4000082 thrsleep syz-fuzzer 8354 43251 31697 0 3 0x4000082 thrsleep syz-fuzzer 31697 493406 87168 0 3 0x10008a sigsusp ksh 87168 114935 27657 0 3 0x9a kqread sshd 27657 164409 1 0 3 0x88 kqread sshd 66649 364772 92551 74 3 0x1100092 bpf pflogd 92551 4811 1 0 3 0x80 netio pflogd 13688 178737 49185 73 3 0x1100090 kqread syslogd 49185 203329 1 0 3 0x100082 netio syslogd 77841 258868 1 0 3 0x100080 kqread resolvd 84011 145797 9244 77 3 0x100092 kqread dhcpleased 97270 357427 9244 77 3 0x100092 kqread dhcpleased 9244 320540 1 0 3 0x80 kqread dhcpleased 84493 222832 0 0 3 0x14200 bored smr 69319 32256 0 0 2 0x14200 zerothread 61950 78365 0 0 3 0x14200 aiodoned aiodoned 85114 153207 0 0 3 0x14200 syncer update 44234 354476 0 0 3 0x14200 cleaner cleaner 16647 309039 0 0 3 0x14200 reaper reaper 60672 322081 0 0 3 0x14200 pgdaemon pagedaemon 1281 353447 0 0 3 0x14200 bored viomb 15506 98265 0 0 3 0x40014200 acpi0 acpi0 64316 299271 0 0 3 0x40014200 idle1 50104 362604 0 0 3 0x14200 bored softnet 29384 129372 0 0 3 0x14200 bored systqmp 83271 273370 0 0 3 0x14200 bored systq 73778 76230 0 0 3 0x40014200 bored softclock 16392 210467 0 0 3 0x40014200 idle0 1 96834 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 29900 (syz-executor.3) thread 0xffff800021143a48 (116843) exclusive rwlock vcpu r = 0 (0xffff80002e3ad3b0) #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 Process 87141 (syz-executor.2) thread 0xffff8000260bf270 (47750) exclusive rrwlock inode r = 0 (0xfffffd806e20ce78) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3101 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806a8f6c48) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3086 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10209 6521K 6962K 78643K 22367 0 pcb 13 18K 20K 78643K 994 0 rtable 218 12K 17K 78643K 2319 0 ifaddr 99 21K 23K 78643K 723 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 260 0 ioctlops 0 0K 8K 78643K 12029 0 iov 0 0K 20K 78643K 781 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1398 87K 88K 78643K 5344 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 196 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1746 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 81K 78643K 9093 0 sigio 0 0K 0K 78643K 9 0 proc 70 87K 148K 78643K 1814 0 subproc 104 6K 6K 78643K 522 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 471 0 in_multi 82 5K 6K 78643K 594 0 ether_multi 1 0K 0K 78643K 80 0 mrt 1 0K 0K 78643K 74 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 2075 0 pfkey data 0 0K 0K 78643K 6 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 427 288K 297K 78643K 115790 0 UVM aobj 131 8K 8K 78643K 145 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 914 0 NDP 13 0K 2K 78643K 200 0 temp 136 4715K 4791K 78643K 66545 0 kqueue 12 18K 28K 78643K 561 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 557 0 554 8 7 1 3 0 8 0 rtentry 112 675 0 586 4 0 4 4 0 8 0 unpcb 136 4963 0 4948 59 56 3 9 0 8 2 syncache 296 41 0 41 11 11 0 1 0 8 0 tcpqe 32 126 0 126 6 6 0 1 0 8 0 tcpcb 736 3073 0 3062 71 68 3 12 0 8 1 arp 120 137 0 121 1 0 1 1 0 8 0 inpcb 312 8014 0 8002 67 63 4 11 0 8 2 rttmr 72 22 0 22 5 5 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 33 0 33 1 1 0 1 0 8 0 nd6 48 127 0 107 1 0 1 1 0 8 0 pkpcb 40 29 0 29 6 6 0 1 0 8 0 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1248 39 0 39 7 7 0 1 0 8 0 pfstscr 40 160 0 160 6 6 0 1 0 8 0 pffrag 232 18 0 17 1 0 1 1 0 482 0 pffrnode 88 18 0 17 1 0 1 1 0 8 0 pffrent 40 112 0 111 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfrktable 1344 113 0 106 4 3 1 2 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 43 0 41 1 0 1 1 0 8 0 pfstkey 112 213 0 211 1 0 1 1 0 8 0 pfstate 320 129 0 127 3 2 1 3 0 8 0 pfrule 1360 229 0 219 5 4 1 3 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 2294 0 1918 41 14 27 30 0 8 2 art_table 32 2296 0 1919 4 0 4 4 0 8 0 art_node 16 673 0 596 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 11 1 0 1 1 0 8 0 semapl 112 1744 0 1734 1 0 1 1 0 8 0 shmpl 112 142 0 14 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 12776 0 11306 93 0 93 93 0 8 0 ffsino 272 12776 0 11306 99 0 99 99 0 8 0 nchpl 144 24264 0 22640 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 93352 0 93351 6 5 1 2 0 8 0 percpumem 16 142 0 102 1 0 1 1 0 8 0 vcpupl 2048 44 0 0 6 0 6 6 0 8 0 vmpool 560 56 0 12 5 1 4 4 0 8 0 pfiaddrpl 120 58 0 50 2 1 1 1 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 66375 0 66375 17 16 1 8 0 8 1 plimitpl 152 644 0 629 1 0 1 1 0 8 0 sigapl 424 9399 0 9347 8 1 7 8 0 8 0 futexpl 64 75325 0 75324 1 0 1 1 0 8 0 knotepl 120 596 0 0 11 0 11 11 0 8 0 kqueuepl 216 1584 0 1576 30 29 1 5 0 8 0 pipepl 336 1536 0 1508 42 36 6 8 0 8 3 fdescpl 496 9325 0 9295 5 0 5 5 0 8 0 filepl 152 62010 0 61769 87 72 15 24 0 8 5 lockfpl 104 2012 0 2010 4 3 1 2 0 8 0 lockfspl 48 672 0 670 1 0 1 1 0 8 0 sessionpl 144 57 0 40 1 0 1 1 0 8 0 pgrppl 48 155 0 138 1 0 1 1 0 8 0 ucredpl 96 5667 0 5655 1 0 1 1 0 8 0 zombiepl 144 9347 0 9347 3 2 1 1 0 8 1 processpl 1064 9399 0 9347 5 0 5 5 0 8 0 procpl 672 26072 0 26007 17 10 7 9 0 8 0 srpgc 96 56 0 56 9 8 1 1 0 8 1 sosppl 168 45 0 45 9 9 0 1 0 8 0 sockpl 480 13578 0 13548 233 221 12 34 0 8 8 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 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 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 299 0 0 24 1 23 24 0 8 0 mtagpl 96 544 0 0 12 0 12 12 0 8 0 mbufpl 256 881 0 0 49 0 49 49 0 8 0 bufpl 288 14901 0 8565 453 0 453 453 0 8 0 anonpl 24 2548581 0 2531035 183 48 135 149 0 186 0 amapchunkpl 152 277443 0 276608 72 34 38 50 0 158 2 amappl16 200 21924 0 21250 91 54 37 49 0 8 0 amappl15 192 2044 0 2037 1 0 1 1 0 8 0 amappl14 184 1738 0 1735 2 1 1 1 0 8 0 amappl13 176 1803 0 1796 1 0 1 1 0 8 0 amappl12 168 153 0 149 1 0 1 1 0 8 0 amappl11 160 1670 0 1651 1 0 1 1 0 8 0 amappl10 152 1821 0 1810 1 0 1 1 0 8 0 amappl9 144 2202 0 2199 1 0 1 1 0 8 0 amappl8 136 1423 0 1311 4 0 4 4 0 8 0 amappl7 128 279 0 269 1 0 1 1 0 8 0 amappl6 120 2049 0 2021 2 1 1 2 0 8 0 amappl5 112 6498 0 6476 1 0 1 1 0 8 0 amappl4 104 6367 0 6333 2 0 2 2 0 8 0 amappl3 96 2144 0 2129 1 0 1 1 0 8 0 amappl2 88 2869 0 2811 3 1 2 3 0 8 0 amappl1 80 171649 0 171070 24 11 13 19 0 8 0 amappl 88 114563 0 114285 8 0 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 144 0 14 3 0 3 3 0 8 0 uaddrrnd 24 9381 0 9307 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9381 0 9307 1 0 1 1 0 8 0 vmmpekpl 168 73902 0 73851 3 0 3 3 0 8 0 vmmpepl 168 856848 0 854026 231 90 141 145 0 357 7 vmsppl 368 9380 0 9307 7 0 7 7 0 8 0 rwobjpl 56 208263 0 200489 119 8 111 114 0 8 0 pdppl 4096 18769 0 18658 416 303 113 113 0 8 2 pvpl 32 4283779 0 4261894 374 163 211 247 0 265 3 pmappl 248 9380 0 9307 5 0 5 5 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1399 0 497 27 0 27 27 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff829b9ff0) 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: 0x7f7ffffd0510, count: -3 ddb{0}> machine ddbcpu 1 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{1}> trace done_flush() at done_flush+0x38 vm_run(ffff80002e375a00) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4297 vmmioctl(a00,c0205602,ffff80002e375a00,1,ffff800021143a48) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806e9dbad0,c0205602,ffff80002e375a00,1,fffffd807f7d8720,ffff800021143a48) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067fad4d8,c0205602,ffff80002e375a00,ffff800021143a48) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800021143a48,ffff80002e375b18,ffff80002e375b70) at sys_ioctl+0x4a2 syscall(ffff80002e375be0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e375be0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac4b6b63060, count: -8