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(ffff800022166b90) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022166b90,41,ffff8000212fdce0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806e1bfd80,c0205602,ffff800022166b90,41,fffffd807f7d74e0,ffff8000212fdce0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068446c88,c0205602,ffff800022166b90,ffff8000212fdce0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff8000212fdce0,ffff800022166ca8,ffff800022166cf0) at sys_ioctl+0x4a2 syscall(ffff800022166d70) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022166d70) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e1a64cf460, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80002e497640 rbp 0xffff8000221668e0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xffffffffffff8001 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0xb39510340c49c5 r11 0xc7b0f3612bae6114 r12 0xffff80002e4973a0 r13 0 r14 0xffff80002e497000 r15 0xffffffff82924ff0 cpu_info_full_primary+0x1ff0 rip 0xffffffff82078e70 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800022166726 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.7) pid=196845 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000212fda40,0xffff8000212fc2b0 process=0xffff800027c3d908 user=0xffff800022161000, vmspace=0xfffffd805aadb1a0 estcpu=32, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35739 181073 26077 0 2 0 syz-executor.1 5102 484997 42029 0 2 0 syz-executor.3 5102 171531 42029 0 2 0x4000000 syz-executor.3 5102 297230 42029 0 2 0x4000000 syz-executor.3 5102 156459 42029 0 2 0x4000000 syz-executor.3 5102 22897 42029 0 2 0x4000000 syz-executor.3 5102 441749 42029 0 2 0x4000000 syz-executor.3 90589 269827 30101 0 2 0 syz-executor.2 90589 311705 30101 0 3 0x4000080 fsleep syz-executor.2 66125 25200 54567 0 2 0 syz-executor.4 66125 7245 54567 0 3 0x4000080 fsleep syz-executor.4 24073 424063 82950 0 2 0 syz-executor.7 *24073 196845 82950 0 7 0x4000000 syz-executor.7 95620 422322 58110 0 2 0 syz-executor.6 95620 493345 58110 0 3 0x4000080 fsleep syz-executor.6 84862 106453 30915 0 2 0 syz-executor.5 84862 498853 30915 0 3 0x4000080 fsleep syz-executor.5 15979 439238 39782 0 2 0 syz-executor.0 15979 36256 39782 0 3 0x4000080 fsleep syz-executor.0 15979 468398 39782 0 3 0x4000080 fsleep syz-executor.0 15979 441925 39782 0 3 0x4000080 fsleep syz-executor.0 42029 467974 40921 0 3 0x82 nanoslp syz-executor.3 82950 206208 40921 0 3 0x82 nanoslp syz-executor.7 30915 393759 40921 0 3 0x82 nanoslp syz-executor.5 54567 484721 40921 0 3 0x82 nanoslp syz-executor.4 30101 90242 40921 0 3 0x82 nanoslp syz-executor.2 26077 112510 40921 0 3 0x82 nanoslp syz-executor.1 58110 432328 40921 0 3 0x82 nanoslp syz-executor.6 94716 161504 0 0 3 0x14200 acct acct 39782 43424 40921 0 3 0x82 nanoslp syz-executor.0 538 384774 1 0 3 0x100083 ttyin getty 99088 126656 0 0 3 0x14280 nfsidl nfsio 56500 162209 0 0 3 0x14280 nfsidl nfsio 8467 489530 0 0 3 0x14280 nfsidl nfsio 13068 130873 0 0 3 0x14280 nfsidl nfsio 24002 516605 0 0 3 0x14280 nfsidl nfsio 47371 330927 0 0 3 0x14280 nfsidl nfsio 81458 17346 0 0 3 0x14280 nfsidl nfsio 3160 323569 0 0 3 0x14280 nfsidl nfsio 15579 159924 0 0 3 0x14280 nfsidl nfsio 28183 321570 0 0 3 0x14280 nfsidl nfsio 91957 383761 0 0 3 0x14280 nfsidl nfsio 40001 38786 0 0 3 0x14280 nfsidl nfsio 52763 237364 0 0 3 0x14280 nfsidl nfsio 4420 469194 0 0 3 0x14280 nfsidl nfsio 16885 444831 0 0 3 0x14280 nfsidl nfsio 84889 79854 0 0 3 0x14280 nfsidl nfsio 21636 240147 0 0 3 0x14280 nfsidl nfsio 34409 279386 0 0 3 0x14280 nfsidl nfsio 37001 72989 0 0 3 0x14280 nfsidl nfsio 71254 499967 0 0 3 0x14280 nfsidl nfsio 22177 472849 0 0 3 0x14200 bored sosplice 40921 186618 65764 0 3 0x82 wait syz-fuzzer 40921 395719 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 75140 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 382355 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 351141 65764 0 3 0x4000082 kqread syz-fuzzer 40921 461661 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 425924 65764 0 3 0x4000082 wait syz-fuzzer 40921 166318 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 299599 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 462288 65764 0 3 0x4000082 wait syz-fuzzer 40921 218772 65764 0 3 0x4000082 wait syz-fuzzer 40921 242983 65764 0 3 0x4000082 thrsleep syz-fuzzer 40921 172812 65764 0 3 0x4000082 wait syz-fuzzer 40921 63978 65764 0 3 0x4000082 wait syz-fuzzer 40921 13497 65764 0 3 0x4000082 wait syz-fuzzer 40921 424216 65764 0 3 0x4000082 wait syz-fuzzer 65764 26993 65926 0 3 0x10008a sigsusp ksh 65926 341753 91924 0 3 0x9a kqread sshd 91924 42676 1 0 3 0x88 kqread sshd 57465 184838 95864 74 3 0x1100092 bpf pflogd 95864 219322 1 0 3 0x80 netio pflogd 79951 229499 30126 73 3 0x1100090 kqread syslogd 30126 11417 1 0 3 0x100082 netio syslogd 58670 240256 1 0 3 0x100080 kqread resolvd 77517 279949 96804 77 3 0x100092 kqread dhcpleased 67250 233400 96804 77 3 0x100092 kqread dhcpleased 96804 22818 1 0 3 0x80 kqread dhcpleased 72865 308356 0 0 3 0x14200 bored smr 74511 291735 0 0 2 0x14200 zerothread 44120 472517 0 0 3 0x14200 aiodoned aiodoned 13052 310474 0 0 3 0x14200 syncer update 76876 317539 0 0 3 0x14200 cleaner cleaner 5754 204749 0 0 3 0x14200 reaper reaper 13087 12158 0 0 3 0x14200 pgdaemon pagedaemon 25377 105814 0 0 3 0x14200 bored viomb 94428 423840 0 0 3 0x40014200 acpi0 acpi0 83562 239572 0 0 7 0x40014200 idle1 47366 247763 0 0 3 0x14200 bored softnet 17074 438813 0 0 3 0x14200 bored softnet 10919 417667 0 0 3 0x14200 bored softnet 53546 218705 0 0 3 0x14200 bored softnet 72910 478344 0 0 3 0x14200 bored systqmp 25923 244727 0 0 3 0x14200 bored systq 67204 359382 0 0 3 0x40014200 bored softclock 63416 457563 0 0 3 0x40014200 idle0 1 201174 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 24073 (syz-executor.7) thread 0xffff8000212fdce0 (196845) exclusive rwlock vcpu r = 0 (0xffff80002e4973b0) #0 witness_lock+0x44d #1 vm_run+0x100 sys/arch/amd64/amd64/vmm.c:4536 #2 vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 #3 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #4 vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 #5 sys_ioctl+0x4a2 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10248 6782K 7517K 78643K 156686 0 pcb 13 18K 22K 78643K 6415 0 rtable 237 26K 28K 78643K 7586 0 ifaddr 113 30K 34K 78643K 6770 0 sysctl 2 0K 2K 78643K 312 0 counters 50 34K 35K 78643K 622 0 ioctlops 0 0K 8K 78643K 28939 0 iov 0 0K 24K 78643K 9115 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1570 98K 99K 78643K 36860 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 269 0 VM map 2 1K 1K 78643K 2 0 sem 19 28K 48K 78643K 864 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 85K 78643K 42080 0 sigio 0 0K 0K 78643K 746 0 proc 73 91K 116K 78643K 4278 0 subproc 104 6K 6K 78643K 1333 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1048 0 in_multi 70 4K 7K 78643K 1598 0 ether_multi 1 0K 0K 78643K 83 0 mrt 1 0K 0K 78643K 106 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 2K 78643K 6300 0 pfkey data 0 0K 0K 78643K 5 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 8 62K 62K 78643K 8 0 UVM amap 1816 7682K 7699K 78643K 244389 0 UVM aobj 131 4K 4K 78643K 163 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1026 0 NDP 14 0K 2K 78643K 542 0 temp 137 4726K 70263K 78643K 473905 0 kqueue 12 18K 26K 78643K 1564 0 SYN cache 2 4688K 4696K 78643K 4 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 3026 0 3023 28 27 1 3 0 8 0 rtentry 112 2049 0 1973 6 2 4 5 0 8 0 unpcb 144 34377 0 34360 309 305 4 10 0 8 3 syncache 296 133 0 133 34 33 1 1 0 8 1 tcpqe 32 64 0 64 16 16 0 1 0 8 0 tcpcb 736 19353 0 19349 374 369 5 20 0 8 4 arp 120 522 0 508 4 3 1 3 0 8 0 inpcb 320 55423 0 55416 449 445 4 22 0 8 3 ip6q 72 5 0 5 2 2 0 1 0 8 0 ip6af 40 10 0 10 2 2 0 1 0 8 0 nd6 48 350 0 335 1 0 1 1 0 8 0 pkpcb 40 128 0 128 11 10 1 1 0 8 1 kcovpl 48 102 0 94 1 0 1 1 0 8 0 ppxss 1256 111 0 111 27 26 1 1 0 8 1 pfstscr 40 73 0 73 2 2 0 1 0 8 0 pffrag 232 2183 0 2181 73 72 1 56 0 482 0 pffrnode 88 46 0 44 11 10 1 1 0 8 0 pffrent 40 2685 0 2683 22 21 1 10 0 8 0 pfosfp 40 1435 0 1011 5 0 5 5 0 8 0 pfosfpen 112 1435 0 717 21 0 21 21 0 8 0 pfrktable 1344 437 0 417 3 1 2 2 0 8 0 pfanchor 1280 2205 0 2191 3 1 2 2 0 8 0 pftag 88 28 0 21 2 1 1 1 0 8 0 pfstitem 24 1805 0 1802 6 5 1 6 0 8 0 pfstkey 120 1877 0 1874 28 27 1 28 0 8 0 pfstate 336 1838 0 1835 81 80 1 77 0 8 0 pfsrctr 152 1 0 1 1 1 0 1 0 8 0 pfrule 1360 8449 0 6970 125 1 124 124 0 8 0 rttmr 136 34 0 34 11 11 0 1 0 8 0 art_heap8 4096 36 0 35 3 2 1 3 0 8 0 art_heap4 256 8511 0 8173 101 71 30 40 0 8 3 art_table 32 8547 0 8208 7 3 4 6 0 8 0 art_node 16 2030 0 1966 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 10 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 831 0 814 1 0 1 1 0 8 0 shmpl 112 160 0 32 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 50788 0 49147 104 0 104 104 0 8 0 ffsino 272 50788 0 49147 111 0 111 111 0 8 0 nchpl 144 108911 0 107265 63 0 63 63 0 8 0 uvmvnodes 80 8414 0 0 172 0 172 172 0 8 0 vnodes 216 8414 0 0 468 0 468 468 0 8 0 namei 1024 380271 0 380271 8 7 1 2 0 8 1 percpumem 16 323 0 286 1 0 1 1 0 8 0 vcpupl 2048 513 0 1 65 0 65 65 0 8 0 vmpool 568 517 0 5 37 0 37 37 0 8 0 pfiaddrpl 120 1516 0 1481 2 0 2 2 0 8 0 kstatmem 264 600 0 572 5 2 3 3 0 8 0 scsiplug 72 25 0 25 7 7 0 1 0 8 0 scxspl 216 300789 0 300789 44 43 1 8 0 8 1 plimitpl 152 2838 0 2823 1 0 1 1 0 8 0 sigapl 424 42314 0 42244 9 1 8 8 0 8 0 futexpl 64 410124 0 410117 4 3 1 1 0 8 0 knotepl 120 1495 0 0 10 1 9 9 0 8 0 kqueuepl 216 4455 0 4447 85 84 1 6 0 8 0 pipepl 320 5872 0 5844 165 162 3 8 0 8 0 fdescpl 496 42189 0 42158 9 5 4 5 0 8 0 filepl 152 301422 0 301179 417 402 15 23 0 8 5 lockfpl 104 7124 0 7122 11 10 1 2 0 8 0 lockfspl 48 2529 0 2527 1 0 1 1 0 8 0 sessionpl 144 119 0 102 1 0 1 1 0 8 0 pgrppl 48 243 0 226 1 0 1 1 0 8 0 ucredpl 104 22421 0 22403 1 0 1 1 0 8 0 zombiepl 144 42244 0 42244 4 3 1 1 0 8 1 processpl 1064 42314 0 42244 5 0 5 5 0 8 0 procpl 672 117658 0 117560 35 26 9 10 0 8 0 srpgc 96 140 0 140 30 29 1 1 0 8 1 sosppl 168 141 0 141 29 29 0 1 0 8 0 sockpl 488 93081 0 93053 1589 1577 12 38 0 8 8 mcl64k 65536 50 0 0 3 0 3 3 0 8 0 mcl16k 16384 47 0 0 4 2 2 3 0 8 0 mcl12k 12288 41 0 0 3 1 2 2 0 8 0 mcl9k 9216 97 0 0 6 4 2 6 0 8 0 mcl8k 8192 89 0 0 7 4 3 5 0 8 0 mcl4k 4096 74 0 0 4 1 3 3 0 8 0 mcl2k2 2112 18 0 0 2 0 2 2 0 8 0 mcl2k 2048 1751 0 0 155 120 35 151 0 8 0 mtagpl 96 2910 0 0 46 0 46 46 0 8 0 mbufpl 256 6979 0 0 354 1 353 353 0 8 0 bufpl 288 67981 0 59566 602 0 602 602 0 8 0 anonpl 24 7890472 0 7866280 439 267 172 174 0 186 15 amapchunkpl 152 708733 0 707875 213 174 39 69 0 158 0 amappl16 200 108290 0 106957 284 201 83 84 0 8 10 amappl15 192 7893 0 7882 1 0 1 1 0 8 0 amappl14 184 5693 0 5683 1 0 1 1 0 8 0 amappl13 176 6454 0 6452 1 0 1 1 0 8 0 amappl12 168 4654 0 4646 1 0 1 1 0 8 0 amappl11 160 1713 0 1695 1 0 1 1 0 8 0 amappl10 152 5184 0 5173 1 0 1 1 0 8 0 amappl9 144 4485 0 4477 1 0 1 1 0 8 0 amappl8 136 12968 0 12746 8 0 8 8 0 8 0 amappl7 128 10560 0 10536 2 1 1 2 0 8 0 amappl6 120 5065 0 5034 2 1 1 2 0 8 0 amappl5 112 40407 0 40385 1 0 1 1 0 8 0 amappl4 104 9575 0 9529 7 5 2 2 0 8 0 amappl3 96 132497 0 132433 2 0 2 2 0 8 0 amappl2 88 9228 0 9175 6 4 2 2 0 8 0 amappl1 80 1039287 0 1038575 20 4 16 20 0 8 1 amappl 88 240734 0 240067 16 0 16 16 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 162 0 32 3 0 3 3 0 8 0 uaddrrnd 24 42707 0 42164 4 0 4 4 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 42707 0 42164 4 0 4 4 0 8 0 vmmpekpl 168 272741 0 272609 7 0 7 7 0 8 0 vmmpepl 168 4099301 0 4094944 552 347 205 223 0 357 0 vmsppl 368 42706 0 42164 50 0 50 50 0 8 0 rwobjpl 56 992737 0 981136 213 46 167 167 0 8 3 pdppl 4096 85421 0 84840 1955 1374 581 583 0 8 0 pvpl 32 15246182 0 15223517 663 442 221 249 0 265 22 pmappl 248 42706 0 42164 34 0 34 34 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 4139 0 2060 60 0 60 60 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff800022166b90) at vm_run+0x215 sys/arch/amd64/amd64/vmm.c:4562 vmmioctl(a00,c0205602,ffff800022166b90,41,ffff8000212fdce0) at vmmioctl+0x192 sys/arch/amd64/amd64/vmm.c:685 VOP_IOCTL(fffffd806e1bfd80,c0205602,ffff800022166b90,41,fffffd807f7d74e0,ffff8000212fdce0) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8068446c88,c0205602,ffff800022166b90,ffff8000212fdce0) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:528 sys_ioctl(ffff8000212fdce0,ffff800022166ca8,ffff800022166cf0) at sys_ioctl+0x4a2 syscall(ffff800022166d70) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800022166d70) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e1a64cf460, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5