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 0xffff80003c412c98 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 0xffffffff81ac42db done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003c3e6ab8 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{0}> show proc PROC (syz-executor) tid=101173 pid=98861 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4922c8,0xffffffff839fd820 process=0xffff80003c52c028 user=0xffff80003c3e2000, vmspace=0xfffffd806c8f1018 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98861 484760 63950 0 7 0 syz-executor *98861 101173 63950 0 7 0x4000000 syz-executor 75103 247437 30196 0 2 0 syz-executor 75103 350782 30196 0 2 0x4000000 syz-executor 95200 123060 88898 0 2 0xc80 syz-executor 95200 27788 88898 0 3 0x4000080 fsleep syz-executor 95200 249091 88898 0 3 0x4000080 fsleep syz-executor 51216 21780 50727 0 2 0 syz-executor 59304 441549 59835 0 2 0xc80 syz-executor 59304 186142 59835 0 3 0x4000080 fsleep syz-executor 59304 312082 59835 0 3 0x4000000 smrbar syz-executor 59304 407323 59835 0 3 0x4000080 fsleep syz-executor 70444 107732 61954 0 2 0x2 syz-executor 78884 328813 0 0 3 0x14200 acct acct 32484 240852 0 0 3 0x14280 nfsidl nfsio 72814 200280 0 0 3 0x14280 nfsidl nfsio 95754 99772 0 0 3 0x14280 nfsidl nfsio 82782 181993 0 0 3 0x14280 nfsidl nfsio 79677 122875 0 0 3 0x14280 nfsidl nfsio 11471 262665 0 0 3 0x14280 nfsidl nfsio 57451 59763 0 0 3 0x14280 nfsidl nfsio 41177 139858 0 0 3 0x14280 nfsidl nfsio 98124 486738 0 0 3 0x14280 nfsidl nfsio 54341 294525 0 0 3 0x14280 nfsidl nfsio 94105 250076 0 0 3 0x14280 nfsidl nfsio 88589 166939 0 0 3 0x14280 nfsidl nfsio 40195 336946 0 0 3 0x14280 nfsidl nfsio 58336 451213 0 0 3 0x14280 nfsidl nfsio 70630 471228 0 0 3 0x14280 nfsidl nfsio 91146 483786 0 0 3 0x14280 nfsidl nfsio 39553 432116 0 0 3 0x14280 nfsidl nfsio 53135 73092 0 0 3 0x14280 nfsidl nfsio 15183 106640 0 0 3 0x14280 nfsidl nfsio 7682 14094 0 0 3 0x14280 nfsidl nfsio 56900 247035 1 0 3 0x100083 ttyopn getty 30196 261840 61954 0 3 0x82 nanoslp syz-executor 88898 452947 61954 0 3 0x82 nanoslp syz-executor 68077 370390 61954 0 3 0x82 piperd syz-executor 63950 115290 61954 0 2 0xc82 syz-executor 59835 453943 61954 0 3 0x82 nanoslp syz-executor 80874 424657 61954 0 2 0x2 syz-executor 50727 352685 61954 0 3 0x82 nanoslp syz-executor 61954 36024 66554 0 2 0x2 syz-executor 66554 413820 12032 0 3 0x10008a sigsusp ksh 12032 484092 41376 0 3 0x98 kqread sshd-session 41376 187935 51030 0 3 0x92 kqread sshd-session 51030 498693 1 0 3 0x88 kqread sshd 69379 46731 29504 74 3 0x1100092 bpf pflogd 29504 88118 1 0 3 0x80 sbwait pflogd 15650 39583 19953 73 3 0x1100090 kqread syslogd 19953 175153 1 0 3 0x100082 sbwait syslogd 19615 77682 1 0 3 0x100080 kqread resolvd 57037 200870 96230 77 3 0x100092 kqread dhcpleased 97536 174920 96230 77 3 0x100092 kqread dhcpleased 96230 511668 1 0 3 0x80 kqread dhcpleased 44824 23632 0 0 3 0x14200 bored smr 16683 453261 0 0 3 0x14200 pgzero zerothread 80580 222721 0 0 3 0x14200 aiodoned aiodoned 30127 202970 0 0 3 0x14200 syncer update 2330 38920 0 0 3 0x14200 cleaner cleaner 22603 205271 0 0 3 0x14200 reaper reaper 80207 213152 0 0 3 0x14200 pgdaemon pagedaemon 33822 403246 0 0 3 0x14200 bored viomb 46446 253777 0 0 3 0x40014200 acpi0 acpi0 79905 318553 0 0 3 0x40014200 idle1 55850 54739 0 0 3 0x14200 bored softnet1 53295 213484 0 0 3 0x14200 bored softnet0 46721 490007 0 0 3 0x14200 bored systqmp 22644 14484 0 0 3 0x14200 bored systq 10292 29969 0 0 3 0x14200 tmoslp softclockmp 83028 469149 0 0 3 0x40014200 tmoslp softclock 22780 412275 0 0 3 0x40014200 idle0 1 492730 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 98861 (syz-executor) thread 0xffff8000377c0fb0 (101173) exclusive rwlock vcpu r = 0 (0xffff80003c4129f0) #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 11064 12155K 13051K 166960K 13065 0 pcb 17 12K 12K 166960K 98 0 rtable 225 9K 11K 166960K 464 0 pf 34 17K 20K 166960K 123 0 ifaddr 36 6K 8K 166960K 88 0 ifgroup 49 2K 2K 166960K 155 0 sysctl 3 1K 9K 166960K 11 0 counters 70 36K 38K 166960K 162 0 ioctlops 0 0K 4K 166960K 1578 0 iov 0 0K 16K 166960K 93 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1363 86K 86K 166960K 2107 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 50K 89K 166960K 684 0 sigio 0 0K 0K 166960K 9 0 proc 75 131K 164K 166960K 609 0 subproc 63 3K 5K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 106 0 in_multi 77 5K 7K 166960K 123 0 ether_multi 1 0K 0K 166960K 5 0 mrt 2 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 492 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 218 142K 170K 166960K 8079 0 UVM aobj 23 16K 16K 166960K 24 0 pinsyscall 40 80K 109K 166960K 1837 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 73 0 NDP 11 0K 1K 166960K 59 0 temp 41 9076K 9204K 166960K 29154 0 kqueue 14 22K 29K 166960K 137 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 79 0 76 1 0 1 1 0 8 0 rtentry 176 134 0 40 7 1 6 6 0 8 0 unpcb 144 427 0 409 4 3 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 146 0 142 2 1 1 2 0 8 0 arp 136 22 0 5 1 0 1 1 0 8 0 inpcb 328 510 0 503 3 1 2 2 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 152 27 0 7 2 0 2 2 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 18 0 11 1 0 1 1 0 8 0 ppxss 1192 34 0 32 5 4 1 1 0 8 0 pppxif 1576 7 0 7 2 1 1 1 0 8 1 pffrag 232 7 0 2 2 1 1 1 0 482 0 pffrnode 88 7 0 2 2 1 1 1 0 8 0 pffrent 40 10 0 4 2 1 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 64 0 29 1 0 1 1 0 8 0 pfstkey 128 66 0 31 2 0 2 2 0 8 0 pfstate 448 65 0 30 6 0 6 6 0 8 0 pfrule 1360 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 544 0 150 30 1 29 30 0 8 1 art_table 40 548 0 150 5 0 5 5 0 8 0 art_node 32 134 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2774 0 1305 93 0 93 93 0 8 0 ffsino 296 2774 0 1305 114 0 114 114 0 8 0 nchpl 144 3688 0 1978 64 0 64 64 0 8 0 rtmask 32 4 0 4 3 2 1 1 0 8 1 vnodes 216 3266 0 0 182 0 182 182 0 8 0 namei 1024 12947 0 12947 5 4 1 2 0 8 1 percpumem 16 96 0 46 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 88 0 64 4 2 2 3 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 25029 0 25029 11 10 1 8 1 8 1 plimitpl 152 213 0 197 1 0 1 1 0 8 0 sigapl 424 1000 0 934 8 0 8 8 0 8 0 knotepl 120 551 0 0 17 0 17 17 0 8 0 kqueuepl 224 269 0 256 6 5 1 5 0 8 0 pipepl 344 249 0 222 7 4 3 6 0 8 0 fdescpl 528 963 0 934 3 0 3 3 0 8 0 filepl 160 5987 0 5781 24 12 12 15 0 8 2 lockfpl 104 268 0 266 1 0 1 1 0 8 0 lockfspl 48 91 0 89 1 0 1 1 0 8 0 sessionpl 144 34 0 25 1 0 1 1 0 8 0 pgrppl 48 61 0 44 1 0 1 1 0 8 0 ucredpl 104 919 0 906 1 0 1 1 0 8 0 zombiepl 144 988 0 988 2 1 1 1 0 8 1 processpl 1232 1000 0 934 6 0 6 6 0 8 0 procpl 664 1974 0 1901 9 2 7 8 0 8 0 sosppl 176 3 0 3 2 2 0 1 0 8 0 sockpl 752 1035 0 1007 14 10 4 11 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 128 0 0 16 0 16 16 0 8 0 mcl2k 2048 31 0 0 4 0 4 4 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 1803 0 0 113 0 113 113 0 8 0 bufpl 280 10261 0 4131 439 0 439 439 0 8 0 anonpl 32 12780 0 0 103 0 103 103 0 246 0 amapchunkpl 152 26660 0 26205 44 22 22 32 0 158 3 amappl16 200 3895 0 3864 50 42 8 27 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 429 0 428 2 1 1 1 0 8 0 amappl13 176 139 0 127 1 0 1 1 0 8 0 amappl12 168 1228 0 1201 2 0 2 2 0 8 0 amappl11 160 12 0 12 2 2 0 1 0 8 0 amappl10 152 66 0 51 1 0 1 1 0 8 0 amappl9 144 262 0 261 1 0 1 1 0 8 0 amappl8 136 103 0 100 1 0 1 1 0 8 0 amappl7 128 166 0 153 1 0 1 1 0 8 0 amappl6 120 157 0 156 2 1 1 1 0 8 0 amappl5 112 99 0 89 1 0 1 1 0 8 0 amappl4 104 298 0 279 1 0 1 1 0 8 0 amappl3 96 5075 0 4975 6 3 3 4 0 8 0 amappl2 88 533 0 473 2 0 2 2 0 8 0 amappl1 80 12037 0 11443 18 4 14 17 0 8 0 amappl 88 7236 0 7087 5 0 5 5 0 92 0 uvmvnodes 80 117 0 0 3 0 3 3 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 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 23 0 1 1 0 1 1 0 8 0 uaddrrnd 24 963 0 934 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 963 0 934 1 0 1 1 0 8 0 vmmpekpl 168 10184 0 10136 3 0 3 3 0 8 0 vmmpepl 168 69488 0 67698 123 28 95 110 0 357 0 vmsppl 488 962 0 934 5 0 5 5 0 8 1 rwobjpl 80 22032 0 20983 34 4 30 32 0 8 0 pdppl 4096 1947 0 1875 121 45 76 83 0 8 4 pvpl 32 20969 0 0 169 0 169 169 0 265 0 pmappl 256 969 0 934 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 409 0 56 11 0 11 11 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(ffff8000299bdff0) 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: 0x7770e0718530, count: -3