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 end trace frame: 0x0, count: -1 ddb{1}> show registers rdi 0x6c14 __ALIGN_SIZE+0x5c14 rsi 0xffff80003c44cb98 rbp 0 rbx 0x756e6547 rdx 0x49656e69 rcx 0x6c65746e rax 0xffffffffb713eb98 r8 0 r9 0x10000 __ALIGN_SIZE+0xf000 r10 0 r11 0 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81c8ecbb done_flush+0x38 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff80003c47ef58 ss 0x10 done_flush+0x38: movl %eax,%dr6 ddb{1}> show proc PROC (syz-executor) tid=486716 pid=69696 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000367ec028,0xffffffff839ccba8 process=0xffff80003c4649c8 user=0xffff80003c47a000, vmspace=0xfffffd806ec1a3e0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28044 481796 47255 0 2 0x101004 sh 69696 318797 95219 0 2 0 syz-executor *69696 486716 95219 0 7 0x4000000 syz-executor 93447 168913 80853 60929 2 0x10 syz-executor 93447 509004 80853 60929 3 0x4000090 fsleep syz-executor 95070 444052 55093 0 2 0 syz-executor 95070 291317 55093 0 3 0x4000080 fsleep syz-executor 95070 169839 55093 0 3 0x4000080 fsleep syz-executor 47255 456292 72363 0 3 0x10008a sigsusp sh 45456 69558 0 0 3 0x14280 nfsidl nfsio 9185 196525 0 0 3 0x14280 nfsidl nfsio 65561 5017 0 0 3 0x14280 nfsidl nfsio 65819 296487 0 0 3 0x14280 nfsidl nfsio 72363 352775 20991 0 3 0x82 wait syz-executor 67849 387737 34910 -1 7 0x10 syz-executor 67849 304266 34910 -1 3 0x4000090 netcon syz-executor 67849 132049 34910 -1 3 0x4000090 fsleep syz-executor 48699 218585 20991 0 2 0x2 syz-executor 34910 503714 20991 0 3 0x82 nanoslp syz-executor 48209 290392 20991 0 3 0x82 wait syz-executor 95219 19510 20991 0 3 0x82 nanoslp syz-executor 22519 179587 20991 0 3 0x82 wait syz-executor 55093 498439 20991 0 3 0x82 nanoslp syz-executor 80853 349557 20991 0 3 0x82 nanoslp syz-executor 20991 345844 30866 0 3 0x82 kqread syz-executor 30866 137214 2113 0 3 0x10008a sigsusp ksh 2113 267719 87563 0 3 0x98 kqread sshd-session 87563 157682 58477 0 3 0x92 kqread sshd-session 45590 96000 1 0 3 0x100083 ttyopn getty 58477 442346 1 0 3 0x88 kqread sshd 44876 393751 50666 74 3 0x1100092 bpf pflogd 50666 426150 1 0 3 0x80 sbwait pflogd 5446 386777 45600 73 3 0x1100090 kqread syslogd 45600 120884 1 0 3 0x100082 sbwait syslogd 5609 453244 1 0 3 0x100080 kqread resolvd 84570 413633 43844 77 3 0x100092 kqread dhcpleased 89242 282736 43844 77 3 0x100092 kqread dhcpleased 43844 369131 1 0 3 0x80 kqread dhcpleased 21720 289321 0 0 3 0x14200 bored smr 52404 234464 0 0 2 0x14200 zerothread 17907 378939 0 0 3 0x14200 aiodoned aiodoned 59103 80944 0 0 3 0x14200 syncer update 96865 72456 0 0 3 0x14200 cleaner cleaner 66266 185415 0 0 3 0x14200 reaper reaper 34005 124463 0 0 3 0x14200 pgdaemon pagedaemon 60174 36233 0 0 3 0x14200 bored viomb 15053 475569 0 0 3 0x40014200 acpi0 acpi0 74958 279216 0 0 3 0x40014200 idle1 12621 274809 0 0 3 0x14200 bored softnet1 93280 48992 0 0 3 0x14200 bored softnet0 35449 313316 0 0 3 0x14200 bored systqmp 71221 22101 0 0 3 0x14200 bored systq 10432 304557 0 0 3 0x14200 tmoslp softclockmp 32360 107960 0 0 3 0x40014200 tmoslp softclock 3710 408139 0 0 3 0x40014200 idle0 1 208109 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 69696 (syz-executor) thread 0xffff8000367ed4e8 (486716) exclusive rwlock vcpu r = 0 (0xffff80003c44c8f0) #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:765 #8 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10226 11179K 12573K 166960K 13692 0 pcb 17 14K 16K 166960K 255 0 rtable 173 7K 9K 166960K 506 0 pf 40 18K 19K 166960K 117 0 ifaddr 36 5K 7K 166960K 88 0 ifgroup 64 2K 2K 166960K 149 0 sysctl 4 1K 9K 166960K 15 0 counters 72 37K 37K 166960K 142 0 ioctlops 0 0K 4K 166960K 1854 0 iov 0 0K 24K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1493 94K 94K 166960K 2425 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 6K 10K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 28 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 1046 0 sigio 0 0K 0K 166960K 19 0 proc 72 115K 180K 166960K 690 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 206 0 in_multi 66 4K 7K 166960K 157 0 ether_multi 1 0K 0K 166960K 13 0 mrt 0 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 1 0K 1K 166960K 581 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 247 161K 183K 166960K 11373 0 UVM aobj 14 10K 10K 166960K 15 0 pinsyscall 44 88K 106K 166960K 2278 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 59 0 NDP 14 0K 2K 166960K 61 0 temp 67 8673K 8738K 166960K 64360 0 kqueue 13 20K 28K 166960K 187 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 97 0 94 1 0 1 1 0 8 0 rtentry 176 150 0 81 6 0 6 6 0 8 0 unpcb 144 586 0 567 5 4 1 4 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 471 0 464 13 7 6 7 0 8 5 arp 136 23 0 11 1 0 1 1 0 8 0 inpcb 328 1214 0 1203 11 4 7 7 0 8 5 nd6 152 34 0 17 2 1 1 2 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1192 23 0 23 2 1 1 1 0 8 1 pppxif 1504 2 0 2 2 2 0 1 0 8 0 pffrag 232 14 0 3 1 0 1 1 0 482 0 pffrnode 88 11 0 2 1 0 1 1 0 8 0 pffrent 40 19 0 7 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 58 0 24 1 0 1 1 0 8 0 pfstkey 128 62 0 28 2 0 2 2 0 8 0 pfstate 448 60 0 26 5 0 5 5 0 8 0 pfrule 1344 152 0 146 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 717 0 399 29 4 25 29 0 8 1 art_table 40 718 0 399 5 0 5 5 0 8 0 art_node 32 149 0 87 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 8 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3299 0 1784 96 0 96 96 0 8 0 ffsino 296 3299 0 1784 118 1 117 118 0 8 0 nchpl 144 4774 0 4197 64 42 22 64 0 8 0 rtmask 32 5 0 5 3 2 1 1 0 8 1 vnodes 216 4059 0 0 226 0 226 226 0 8 0 namei 1024 16999 0 16998 3 2 1 2 0 8 0 percpumem 16 86 0 35 1 0 1 1 0 8 0 vcpupl 3968 4 0 0 1 0 1 1 0 8 0 vmpool 840 4 0 0 1 0 1 1 0 8 0 kstatmem 264 86 0 54 3 0 3 3 0 8 0 scsiplug 72 4 0 4 3 3 0 1 0 8 0 scxspl 216 22995 0 22995 11 10 1 8 1 8 1 plimitpl 152 370 0 352 1 0 1 1 0 8 0 sigapl 424 1363 0 1311 7 1 6 7 0 8 0 knotepl 120 316 0 0 10 0 10 10 0 8 0 kqueuepl 224 335 0 326 3 2 1 3 0 8 0 pipepl 344 273 0 245 7 4 3 6 0 8 0 fdescpl 528 1341 0 1309 3 0 3 3 0 8 0 filepl 160 8634 0 8396 19 4 15 15 0 8 4 lockfpl 104 587 0 580 3 1 2 2 0 8 0 lockfspl 48 274 0 267 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 44 0 27 1 0 1 1 0 8 0 ucredpl 104 1266 0 1251 1 0 1 1 0 8 0 zombiepl 144 1662 0 1660 2 1 1 1 0 8 0 processpl 1232 1363 0 1311 6 1 5 5 0 8 0 procpl 664 2993 0 2935 6 0 6 6 0 8 0 sosppl 176 16 0 16 2 1 1 1 0 8 1 sockpl 752 1926 0 1893 17 7 10 11 0 8 6 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 132 0 0 17 0 17 17 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 63 0 0 2 0 2 2 0 8 0 mbufpl 256 1231 0 0 77 0 77 77 0 8 0 bufpl 280 8641 0 2504 439 0 439 439 0 8 0 anonpl 32 10937 0 0 91 2 89 90 0 246 0 amapchunkpl 152 37518 0 37024 31 5 26 30 0 158 6 amappl16 200 2958 0 2925 38 23 15 25 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 5 0 5 2 2 0 1 0 8 0 amappl13 176 471 0 469 1 0 1 1 0 8 0 amappl12 168 1725 0 1683 3 0 3 3 0 8 0 amappl11 160 8 0 8 1 1 0 1 0 8 0 amappl10 152 47 0 33 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 95 0 94 1 0 1 1 0 8 0 amappl6 120 305 0 290 1 0 1 1 0 8 0 amappl5 112 88 0 77 1 0 1 1 0 8 0 amappl4 104 439 0 409 1 0 1 1 0 8 0 amappl3 96 6605 0 6510 4 1 3 3 0 8 0 amappl2 88 1456 0 1379 2 0 2 2 0 8 0 amappl1 80 13782 0 13185 15 1 14 15 0 8 0 amappl 88 10436 0 10269 5 0 5 5 0 92 0 uvmvnodes 80 129 0 0 3 0 3 3 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 2 1 1 1 0 8 1 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1341 0 1309 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1341 0 1309 1 0 1 1 0 8 0 vmmpekpl 168 12583 0 12530 3 0 3 3 0 8 0 vmmpepl 168 90543 0 88615 115 17 98 106 0 357 5 vmsppl 488 1340 0 1309 6 1 5 5 0 8 0 rwobjpl 80 25112 0 24018 32 4 28 31 0 8 0 pdppl 4096 2698 0 2622 121 43 78 86 0 8 2 pvpl 32 19159 0 0 156 1 155 155 0 265 0 pmappl 256 1344 0 1309 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 60 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff837b2ff0) 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: 0x765ef3219c60, count: -3 ddb{0}> machine ddbcpu 1 Stopped at done_flush+0x38: movl %eax,%dr6 ddb{1}> trace end trace frame: 0x0, count: -1