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 end trace frame: 0x0, count: -1 ddb{0}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80003c433c18 rbp 0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0x100000001 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0 r11 0 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81f1820b done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003c4b13c8 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor) tid=296488 pid=26855 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000383b2fb8,0xffff8000383b2d30 process=0xffff80003c42f518 user=0xffff80003c4ac000, vmspace=0xfffffd806c8d8018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 52603 445770 29232 0 2 0 syz-executor 52603 491609 29232 0 2 0x4000000 syz-executor 26855 274977 19794 0 7 0 syz-executor *26855 296488 19794 0 7 0x4000000 syz-executor 86886 383982 34195 0 3 0x80 nanoslp syz-executor 86886 427433 34195 0 3 0x4000080 fsleep syz-executor 86886 237992 34195 0 3 0x4000080 fsleep syz-executor 86886 309401 34195 0 3 0x4000080 fsleep syz-executor 52959 418399 3586 0 3 0x80 nanoslp syz-executor 52959 145975 3586 0 3 0x4000080 ttyout syz-executor 52959 294799 3586 0 3 0x4000080 fsleep syz-executor 24745 336615 34868 0 3 0x80 nanoslp syz-executor 24745 294125 34868 0 3 0x4000080 msgwait syz-executor 24745 282554 34868 0 3 0x4000080 fsleep syz-executor 34868 302566 16313 0 3 0x82 nanoslp syz-executor 38337 432236 1 0 3 0x80 nanoslp init 3586 322077 16313 0 3 0x82 nanoslp syz-executor 19794 399820 16313 0 3 0x82 nanoslp syz-executor 51953 11876 0 0 3 0x14280 nfsidl nfsio 83345 258631 0 0 3 0x14280 nfsidl nfsio 82604 440421 0 0 3 0x14280 nfsidl nfsio 81350 62446 0 0 3 0x14280 nfsidl nfsio 75147 430330 0 0 3 0x14280 nfsidl nfsio 53595 33368 0 0 3 0x14280 nfsidl nfsio 32143 488149 0 0 3 0x14280 nfsidl nfsio 22232 432232 0 0 3 0x14280 nfsidl nfsio 64666 294470 0 0 3 0x14280 nfsidl nfsio 18160 372941 0 0 3 0x14280 nfsidl nfsio 59701 341068 0 0 3 0x14280 nfsidl nfsio 87082 359381 0 0 3 0x14280 nfsidl nfsio 8578 335240 0 0 3 0x14280 nfsidl nfsio 72473 77250 0 0 3 0x14280 nfsidl nfsio 4706 482245 0 0 3 0x14280 nfsidl nfsio 86316 39510 0 0 3 0x14280 nfsidl nfsio 96871 15341 0 0 3 0x14280 nfsidl nfsio 76339 312877 0 0 3 0x14280 nfsidl nfsio 33995 3592 0 0 3 0x14280 nfsidl nfsio 45307 118190 0 0 3 0x14280 nfsidl nfsio 87650 520431 26075 0 3 0x100082 sbwait arp 26075 344957 23830 0 3 0x10008a sigsusp sh 31823 162052 16313 0 3 0x82 nanoslp syz-executor 29232 173729 16313 0 3 0x82 nanoslp syz-executor 23830 16587 16313 0 3 0x82 wait syz-executor 34195 18098 16313 0 3 0x82 nanoslp syz-executor 79030 265580 16313 0 3 0x82 wait syz-executor 16313 515550 66595 0 3 0x82 kqread syz-executor 66595 236834 19117 0 3 0x10008a sigsusp ksh 19117 199556 40957 0 3 0x98 kqread sshd-session 40957 176530 30723 0 3 0x92 kqread sshd-session 30723 429411 1 0 3 0x88 kqread sshd 70652 150847 27448 74 3 0x1100092 bpf pflogd 27448 521839 1 0 3 0x80 sbwait pflogd 22130 235034 30790 73 3 0x1100090 kqread syslogd 30790 105004 1 0 3 0x100082 sbwait syslogd 54616 126451 1 0 3 0x100080 kqread resolvd 88433 81311 74368 77 3 0x100092 kqread dhcpleased 68972 27120 74368 77 3 0x100092 kqread dhcpleased 74368 479804 1 0 3 0x80 kqread dhcpleased 65863 214640 0 0 3 0x14200 bored smr 92010 443972 0 0 3 0x14200 pgzero zerothread 97957 91463 0 0 3 0x14200 aiodoned aiodoned 67235 505165 0 0 3 0x14200 syncer update 64553 246691 0 0 3 0x14200 cleaner cleaner 27392 120307 0 0 3 0x14200 reaper reaper 22305 488279 0 0 3 0x14200 pgdaemon pagedaemon 33422 202038 0 0 3 0x14200 bored viomb 85154 351813 0 0 3 0x40014200 acpi0 acpi0 82791 341289 0 0 3 0x40014200 idle1 20922 511645 0 0 3 0x14200 bored softnet1 45573 399411 0 0 3 0x14200 bored softnet0 77708 65071 0 0 3 0x14200 bored systqmp 19828 397621 0 0 3 0x14200 bored systq 20360 39028 0 0 3 0x14200 tmoslp softclockmp 52712 407688 0 0 3 0x40014200 tmoslp softclock 37047 131659 0 0 3 0x40014200 idle0 1 454298 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 26855 (syz-executor) thread 0xffff8000383b27f0 (296488) exclusive rwlock vcpu r = 0 (0xffff80003c433970) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_run+0xa2 sys/arch/amd64/amd64/vmm_machdep.c:-1 #3 vmmioctl+0x337 sys/dev/vmm/vmm.c:254 #4 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #5 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:531 #6 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #7 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #7 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11099 12128K 12503K 166960K 14734 0 pcb 18 13K 29K 166960K 393 0 rtable 220 12K 12K 166960K 662 0 pf 33 17K 18K 166960K 195 0 ifaddr 38 7K 8K 166960K 137 0 ifgroup 50 2K 2K 166960K 259 0 sysctl 4 1K 9K 166960K 21 0 counters 74 37K 38K 166960K 404 0 ioctlops 0 0K 4K 166960K 1945 0 iov 0 0K 16K 166960K 111 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1536 96K 97K 166960K 2969 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 57 0 dirhash 12 2K 2K 166960K 42 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 93K 166960K 1542 0 sigio 0 0K 0K 166960K 17 0 proc 64 99K 180K 166960K 775 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 210 0 in_multi 78 5K 7K 166960K 178 0 ether_multi 1 0K 0K 166960K 11 0 mrt 3 0K 0K 166960K 42 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 565 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 254 142K 162K 166960K 16569 0 UVM aobj 42 16K 16K 166960K 46 0 pinsyscall 44 88K 107K 166960K 2817 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 123 0 NDP 12 0K 1K 166960K 99 0 temp 79 9088K 9153K 166960K 84165 0 kqueue 15 24K 29K 166960K 348 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 222 0 216 3 1 2 2 0 8 1 rtentry 176 171 0 86 5 0 5 5 0 8 0 unpcb 144 1258 0 1238 15 9 6 6 0 8 5 syncache 336 10 0 10 3 2 1 1 0 8 1 tcpcb 736 710 0 703 16 9 7 7 0 8 6 arp 136 26 0 11 1 0 1 1 0 8 0 inpcb 328 1986 0 1975 19 10 9 10 0 8 8 nd6 152 33 0 13 1 0 1 1 0 8 0 pkpcb 40 9 0 9 4 3 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1192 140 0 137 2 1 1 1 0 8 0 pppxif 1576 10 0 10 3 2 1 1 0 8 1 pffrag 232 10 0 2 1 0 1 1 0 482 0 pffrnode 88 9 0 2 1 0 1 1 0 8 0 pffrent 40 45 0 37 1 0 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 pfstitem 24 81 0 29 1 0 1 1 0 8 0 pfstkey 128 81 0 29 2 0 2 2 0 8 0 pfstate 448 81 0 29 7 0 7 7 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 rttmr 136 5 0 5 4 4 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 729 0 357 30 3 27 27 0 8 1 art_table 40 732 0 357 5 0 5 5 0 8 0 art_node 32 170 0 96 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 3 3 0 1 0 8 0 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 36 0 4 1 0 1 1 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 4543 0 3088 93 0 93 93 0 8 0 ffsino 296 4543 0 3088 114 0 114 114 0 8 0 nchpl 144 6617 0 4909 64 0 64 64 0 8 0 rtmask 32 18 0 17 4 3 1 1 0 8 0 vnodes 216 5503 0 0 306 0 306 306 0 8 0 namei 1024 23265 0 23265 2 1 1 1 0 8 1 percpumem 16 217 0 165 1 0 1 1 0 8 0 vcpupl 3968 7 0 0 1 0 1 1 0 8 0 vmpool 848 7 0 0 1 0 1 1 0 8 0 kstatmem 264 158 0 132 5 2 3 3 0 8 1 scsiplug 72 8 0 8 2 2 0 1 0 8 0 scxspl 216 43118 0 43118 15 10 5 8 1 8 5 plimitpl 152 521 0 505 1 0 1 1 0 8 0 sigapl 424 1889 0 1820 9 0 9 9 0 8 0 knotepl 120 572 0 0 17 0 17 17 0 8 0 kqueuepl 224 830 0 818 7 4 3 5 0 8 2 pipepl 344 291 0 264 9 6 3 9 0 8 0 fdescpl 528 1847 0 1814 3 0 3 3 0 8 0 filepl 160 13232 0 12995 27 7 20 20 0 8 7 lockfpl 104 1097 0 1095 5 4 1 2 0 8 0 lockfspl 48 396 0 394 1 0 1 1 0 8 0 sessionpl 144 33 0 25 1 0 1 1 0 8 0 pgrppl 48 65 0 49 1 0 1 1 0 8 0 ucredpl 104 2054 0 2040 1 0 1 1 0 8 0 zombiepl 144 2493 0 2491 1 0 1 1 0 8 0 processpl 1232 1889 0 1820 6 0 6 6 0 8 0 procpl 664 4361 0 4283 8 0 8 8 0 8 0 sosppl 176 16 0 16 3 2 1 1 0 8 1 sockpl 752 3582 0 3544 44 32 12 24 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 288 0 0 17 0 17 17 0 8 0 bufpl 280 16613 0 10484 439 0 439 439 0 8 0 anonpl 32 11773 0 0 95 0 95 95 0 246 0 amapchunkpl 152 67305 0 66729 50 18 32 36 0 158 7 amappl16 200 6093 0 6057 55 33 22 27 0 8 11 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 461 0 459 1 0 1 1 0 8 0 amappl13 176 149 0 137 1 0 1 1 0 8 0 amappl12 168 2113 0 2082 2 0 2 2 0 8 0 amappl11 160 7 0 6 1 0 1 1 0 8 0 amappl10 152 81 0 67 1 0 1 1 0 8 0 amappl9 144 264 0 263 2 1 1 1 0 8 0 amappl8 136 126 0 123 1 0 1 1 0 8 0 amappl7 128 165 0 151 1 0 1 1 0 8 0 amappl6 120 208 0 205 1 0 1 1 0 8 0 amappl5 112 108 0 97 1 0 1 1 0 8 0 amappl4 104 335 0 316 1 0 1 1 0 8 0 amappl3 96 11217 0 11101 4 0 4 4 0 8 0 amappl2 88 643 0 580 2 0 2 2 0 8 0 amappl1 80 18215 0 17603 19 2 17 17 0 8 1 amappl 88 15502 0 15318 5 0 5 5 0 92 0 uvmvnodes 80 150 0 0 4 0 4 4 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 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 254 0 254 2 2 0 1 0 8 0 dma64 64 8 0 8 3 2 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 45 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1847 0 1814 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1847 0 1814 1 0 1 1 0 8 0 vmmpekpl 168 16748 0 16697 3 0 3 3 0 8 0 vmmpepl 168 126426 0 124436 117 13 104 110 0 357 4 vmsppl 488 1846 0 1814 5 0 5 5 0 8 0 rwobjpl 80 36376 0 35221 35 3 32 33 0 8 0 pdppl 4096 3715 0 3635 115 33 82 85 0 8 2 pvpl 32 18619 0 0 150 0 150 150 0 265 0 pmappl 256 1853 0 1814 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 320 0 53 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299adff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x70cd2dd5a820, count: -3