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(ffff8000212599f0) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff8000212599f0,1,ffff800022caa7e8) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806e57e210,c0205602,ffff8000212599f0,1,fffffd807f7d72a0,ffff800022caa7e8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80085dd998,c0205602,ffff8000212599f0,ffff800022caa7e8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800022caa7e8,ffff800021259b08,ffff800021259b60) at sys_ioctl+0x4a2 syscall(ffff800021259bd0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021259bd0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe4972d55b90, count: -8 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff8000246d9e38 rbp 0xffff800021259760 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x877e585abea967b5 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0x8de0a20d00b58a75 r11 0x20525825db076e9f r12 0xffffffff827ab490 dt_prov_static r13 0x246 r14 0xffff8000246d9800 r15 0xffff8000212599f0 rip 0xffffffff82367120 done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff8000212595b6 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor.3) pid=111459 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff800022caad28,0xffffffff8283f4d0 process=0xffff800027b76590 user=0xffff800021254000, vmspace=0xfffffd8067655308 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57587 114840 43539 0 2 0 syz-executor.3 *57587 111459 43539 0 7 0x4000000 syz-executor.3 24853 128884 13607 0 2 0 syz-executor.2 2977 482693 31133 0 2 0 syz-executor.1 43539 299666 13217 0 3 0x82 nanoslp syz-executor.3 13607 386579 13217 0 3 0x82 nanoslp syz-executor.2 74969 63448 0 0 3 0x14280 nfsidl nfsio 25398 430066 0 0 3 0x14280 nfsidl nfsio 38657 398900 0 0 3 0x14280 nfsidl nfsio 53818 513075 0 0 3 0x14280 nfsidl nfsio 310 348325 0 0 3 0x14280 nfsidl nfsio 35463 91501 0 0 3 0x14280 nfsidl nfsio 6588 396869 0 0 3 0x14280 nfsidl nfsio 48564 327529 0 0 3 0x14280 nfsidl nfsio 47824 474631 0 0 3 0x14280 nfsidl nfsio 65056 389683 0 0 3 0x14280 nfsidl nfsio 94932 33524 0 0 3 0x14280 nfsidl nfsio 4671 509217 0 0 3 0x14280 nfsidl nfsio 36927 141811 0 0 3 0x14280 nfsidl nfsio 36393 378625 0 0 3 0x14280 nfsidl nfsio 50695 355777 0 0 3 0x14280 nfsidl nfsio 86311 31871 0 0 3 0x14280 nfsidl nfsio 69376 371962 0 0 3 0x14280 nfsidl nfsio 68572 13493 0 0 3 0x14280 nfsidl nfsio 75346 514180 0 0 3 0x14280 nfsidl nfsio 83649 512522 0 0 3 0x14280 nfsidl nfsio 31133 32793 13217 0 3 0x82 nanoslp syz-executor.1 14430 231816 13217 0 2 0x2 syz-executor.0 85080 233964 1 0 3 0x100083 ttyin getty 44523 419712 0 0 3 0x14200 acct acct 27297 505722 0 0 3 0x14200 bored sosplice 13217 119626 60632 0 3 0x82 thrsleep syz-fuzzer 13217 290017 60632 0 3 0x4000082 nanoslp syz-fuzzer 13217 39654 60632 0 3 0x4000082 kqread syz-fuzzer 13217 254411 60632 0 3 0x4000082 thrsleep syz-fuzzer 13217 368474 60632 0 3 0x4000082 thrsleep syz-fuzzer 13217 486627 60632 0 3 0x4000082 thrsleep syz-fuzzer 13217 324075 60632 0 3 0x4000082 nanoslp syz-fuzzer 13217 323027 60632 0 3 0x4000082 thrsleep syz-fuzzer 13217 253960 60632 0 3 0x4000082 thrsleep syz-fuzzer 60632 85027 20685 0 3 0x10008a sigsusp ksh 20685 83286 95275 0 3 0x9a poll sshd 95275 26938 1 0 3 0x88 poll sshd 2614 302877 74678 74 3 0x100092 bpf pflogd 74678 485809 1 0 3 0x80 netio pflogd 33006 66855 55085 73 3 0x100090 kqread syslogd 55085 407128 1 0 3 0x100082 netio syslogd 91373 360219 1 0 3 0x100080 kqread resolvd 17685 1150 28606 77 3 0x100092 kqread dhcpleased 60946 245580 28606 77 3 0x100092 kqread dhcpleased 28606 425957 1 0 3 0x80 kqread dhcpleased 80466 400857 0 0 3 0x14200 bored smr 29780 331204 0 0 2 0x14200 zerothread 23142 140130 0 0 3 0x14200 aiodoned aiodoned 42734 520452 0 0 3 0x14200 syncer update 11847 338844 0 0 3 0x14200 cleaner cleaner 26829 511192 0 0 3 0x14200 reaper reaper 23918 456686 0 0 3 0x14200 pgdaemon pagedaemon 50212 136058 0 0 3 0x14200 bored viomb 85054 101886 0 0 3 0x40014200 acpi0 acpi0 76844 502125 0 0 7 0x40014200 idle1 99686 325246 0 0 3 0x14200 bored softnet 56467 304529 0 0 3 0x14200 bored systqmp 22436 1781 0 0 3 0x14200 bored systq 40320 71470 0 0 3 0x40014200 bored softclock 9391 512910 0 0 3 0x40014200 idle0 1 32962 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 57587 (syz-executor.3) thread 0xffff800022caa7e8 (111459) exclusive rwlock vcpu r = 0 (0xffff8000246d9bb0) #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 10204 6564K 10589K 78643K 47899 0 pcb 13 18K 20K 78643K 2143 0 rtable 166 23K 25K 78643K 5969 0 ifaddr 85 22K 24K 78643K 1866 0 sysctl 2 0K 0K 78643K 2 0 counters 48 34K 35K 78643K 354 0 ioctlops 0 0K 4K 78643K 4331 0 iov 0 0K 24K 78643K 1676 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1411 89K 89K 78643K 9895 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 198 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 17605 0 sigio 0 0K 0K 78643K 236 0 proc 72 87K 111K 78643K 2083 0 subproc 52 3K 3K 78643K 583 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1113 0 in_multi 44 2K 3K 78643K 1789 0 ether_multi 1 0K 0K 78643K 203 0 mrt 1 0K 0K 78643K 35 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 265 1182K 1182K 78643K 265 0 exec 0 0K 2K 78643K 3308 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 459 816K 818K 78643K 220423 0 UVM aobj 131 6K 6K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 815 0 NDP 9 0K 1K 78643K 397 0 temp 122 4240K 8295K 78643K 122567 0 kqueue 10 14K 24K 78643K 754 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 1640 0 1637 25 24 1 5 0 8 0 rtentry 112 1169 0 1124 2 0 2 2 0 8 0 unpcb 136 19986 0 19971 173 169 4 9 0 8 3 syncache 296 70 0 70 22 22 0 1 0 8 0 sackhl 24 1 2 1 1 1 0 1 0 8 0 tcpqe 32 30 0 30 14 14 0 1 0 8 0 tcpcb 736 5540 0 5536 181 176 5 14 0 8 4 arp 120 111 0 103 1 0 1 1 0 8 0 inpcb 304 14361 0 14354 234 228 6 16 0 8 5 rttmr 72 5 0 5 2 2 0 1 0 8 0 nd6 48 292 0 283 1 0 1 1 0 8 0 pkpcb 40 185 0 185 9 9 0 1 0 8 0 kcovpl 48 44 0 40 1 0 1 1 0 8 0 pfstscr 40 68 0 68 8 8 0 1 0 8 0 pffrag 232 57 0 55 13 12 1 1 0 482 0 pffrnode 88 57 0 55 13 12 1 1 0 8 0 pffrent 40 951 0 949 15 14 1 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 1216 0 1195 14 12 2 3 0 8 0 pftag 88 50 0 47 2 1 1 1 0 8 0 pfstitem 24 26 0 24 1 0 1 1 0 8 0 pfstkey 112 156 0 154 1 0 1 1 0 8 0 pfstate 320 88 0 86 1 0 1 1 0 8 0 pfsrctr 152 7 0 7 2 2 0 1 0 8 0 pfrule 1360 1917 0 1754 16 2 14 14 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5991 0 5816 38 24 14 18 0 8 0 art_table 32 5992 0 5816 3 1 2 3 0 8 0 art_node 16 1165 0 1127 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 24511 0 23059 92 0 92 92 0 8 0 ffsino 272 24511 0 23059 98 0 98 98 0 8 0 nchpl 144 51662 0 50061 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 204409 0 204409 1 0 1 1 0 8 1 percpumem 16 189 0 153 1 0 1 1 0 8 0 vcpupl 2048 114 0 0 15 0 15 15 0 8 0 vmpool 560 138 0 24 10 1 9 9 0 8 0 pfiaddrpl 120 421 0 374 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 151401 0 151401 32 31 1 8 0 8 1 plimitpl 152 1741 0 1730 1 0 1 1 0 8 0 sigapl 424 17770 0 17712 8 1 7 7 0 8 0 futexpl 64 163905 0 163905 5 4 1 1 0 8 1 knotepl 112 234 0 0 4 0 4 4 0 8 0 kqueuepl 216 4523 0 4515 108 105 3 6 0 8 2 pipepl 336 3294 0 3278 83 81 2 12 0 8 0 fdescpl 496 17712 0 17690 7 4 3 4 0 8 0 filepl 152 140266 0 140115 252 240 12 19 0 8 3 lockfpl 104 5149 0 5147 11 10 1 2 0 8 0 lockfspl 48 1299 0 1297 1 0 1 1 0 8 0 sessionpl 144 63 0 50 1 0 1 1 0 8 0 pgrppl 48 218 0 205 1 0 1 1 0 8 0 ucredpl 96 14686 0 14668 1 0 1 1 0 8 0 zombiepl 144 17712 0 17712 2 1 1 1 0 8 1 processpl 1064 17770 0 17712 7 3 4 5 0 8 0 procpl 672 47865 0 47798 26 19 7 8 0 8 0 srpgc 96 38 0 38 7 7 0 1 0 8 0 sosppl 168 149 0 149 25 25 0 1 0 8 0 sockpl 480 36270 0 36245 835 814 21 37 0 8 17 mcl64k 65536 21 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 18 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 275 0 0 20 1 19 20 0 8 0 mtagpl 96 1001 0 0 11 1 10 10 0 8 0 mbufpl 256 1981 0 0 73 0 73 73 0 8 0 bufpl 288 34807 0 28463 454 0 454 454 0 8 0 anonpl 24 4956399 0 4934747 437 282 155 187 0 186 0 amapchunkpl 152 540402 0 539687 158 124 34 59 0 158 0 amappl16 200 48648 0 47642 179 124 55 66 0 8 0 amappl15 192 1479 0 1478 1 0 1 1 0 8 0 amappl14 184 551 0 549 1 0 1 1 0 8 0 amappl13 176 2372 0 2370 1 0 1 1 0 8 0 amappl12 168 5925 0 5923 3 2 1 1 0 8 0 amappl11 160 1693 0 1674 1 0 1 1 0 8 0 amappl10 152 1974 0 1962 1 0 1 1 0 8 0 amappl9 144 3004 0 3002 1 0 1 1 0 8 0 amappl8 136 2500 0 2400 4 0 4 4 0 8 0 amappl7 128 1420 0 1409 1 0 1 1 0 8 0 amappl6 120 2937 0 2908 1 0 1 1 0 8 0 amappl5 112 12877 0 12853 1 0 1 1 0 8 0 amappl4 104 3737 0 3708 1 0 1 1 0 8 0 amappl3 96 8911 0 8890 1 0 1 1 0 8 0 amappl2 88 7800 0 7747 2 0 2 2 0 8 0 amappl1 80 312968 0 312480 17 6 11 13 0 8 0 amappl 88 218911 0 218666 11 4 7 7 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 17850 0 17714 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17850 0 17714 1 0 1 1 0 8 0 vmmpekpl 168 116148 0 116082 4 0 4 4 0 8 0 vmmpepl 168 1603792 0 1600957 594 429 165 168 0 357 30 vmsppl 368 17849 0 17714 13 0 13 13 0 8 0 rwobjpl 56 382732 0 374722 135 20 115 118 0 8 0 pdppl 4096 35708 0 35542 240 72 168 170 0 8 2 pvpl 32 8395442 0 8375737 689 497 192 314 0 265 0 pmappl 248 17849 0 17714 9 0 9 9 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1344 0 359 29 0 29 29 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace done_flush() at done_flush+0x38 vm_run(ffff8000212599f0) at vm_run+0x304 sys/arch/amd64/amd64/vmm.c:4295 vmmioctl(a00,c0205602,ffff8000212599f0,1,ffff800022caa7e8) at vmmioctl+0x8f sys/arch/amd64/amd64/vmm.c:492 VOP_IOCTL(fffffd806e57e210,c0205602,ffff8000212599f0,1,fffffd807f7d72a0,ffff800022caa7e8) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80085dd998,c0205602,ffff8000212599f0,ffff800022caa7e8) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff800022caa7e8,ffff800021259b08,ffff800021259b60) at sys_ioctl+0x4a2 syscall(ffff800021259bd0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021259bd0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe4972d55b90, 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5