kernel: protection fault trap, code=0 Stopped at ktrops+0x58: movq 0x8(%r14),%r14 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace ktrops(ffff8000311996f0,deadbeefdeadbeef,0,80000210,fffffd806bcf8108,fffffd807f7d3680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff8000311996f0,deadbeefdeadbeef,0,80000210,fffffd806bcf8108,fffffd807f7d3680) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806bcf8108,4,210,0,ffff8000311996f0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806bcf8108,4,210,0,ffff8000311996f0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff8000311996f0,ffff8000371ad070,ffff8000371acfc0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000371ad070) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371ad070) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33c2a022670, count: -5 ddb{0}> show registers rdi 0xffff8000311996f0 rsi 0xdeadbeefdeadbeef rbp 0xffff8000371acd90 rbx 0xfffffd807f7d3680 rdx 0 rcx 0xffff8000311996f0 rax 0xffffffff83486ff0 cpu_info_full_primary+0x1ff0 r8 0xfffffd806bcf8108 r9 0xfffffd807f7d3680 r10 0x9772fd0cc516ef0f r11 0xa5ea9ffaa8b6b18b r12 0xffff8000311996f0 r13 0xdeadbeefdeadbeef r14 0xdeadbeefdeadbeef r15 0x80000210 __kernel_virt_to_phys+0x210 rip 0xffffffff81f6fd28 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000371acd10 ss 0x10 ktrops+0x58: movq 0x8(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=73297 pid=44879 tcnt=2 stat=onproc flags process=8001000 proc=4080000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000371a76f8 scnt=1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800031198028,0xffff8000371a6f70 process=0xffff80002d771b18 user=0xffff8000371a8000, vmspace=0xfffffd806bd21008 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *44879 73297 51368 0 7 0xc081000 syz-executor 44879 410816 51368 0 3 0xc003000 suspend syz-executor 4554 251745 31387 0 2 0x8000480 syz-executor 4554 210130 31387 0 3 0xc000080 msgwait syz-executor 4554 201216 31387 0 3 0xc000080 fsleep syz-executor 62023 77320 27883 0 2 0x8000000 syz-executor 62023 466410 27883 0 3 0xc000080 sbwait syz-executor 20597 268325 51785 0 2 0x8000000 syz-executor 20597 442803 51785 0 3 0xc000080 fsleep syz-executor 20597 520583 51785 0 3 0xc000080 fsleep syz-executor 63320 212380 54050 0 3 0x8000090 nanoslp syz-executor 63320 302546 54050 0 3 0xc000090 sbwait syz-executor 63320 43914 54050 0 3 0xc000090 kqsel syz-executor 63320 321252 54050 0 3 0xc000090 fsleep syz-executor 31387 121735 42831 0 3 0x8000082 nanoslp syz-executor 25928 152398 42831 0 2 0x8000002 syz-executor 54050 469730 42831 0 3 0x8000082 nanoslp syz-executor 51785 49461 42831 0 3 0x8000082 nanoslp syz-executor 27883 253793 42831 0 2 0x8000482 syz-executor 51368 409474 42831 0 2 0x8000482 syz-executor 50731 146774 42831 0 2 0x8000082 syz-executor 99425 166656 42831 0 2 0x8000002 syz-executor 42831 87671 75277 0 3 0x8000082 kqread syz-executor 75277 352888 56531 0 3 0x810008a sigsusp ksh 56531 154599 16445 0 3 0x18000098 kqread sshd-session 16445 437614 8860 0 3 0x18000092 kqread sshd-session 94391 314614 1 0 3 0x18100083 ttyin getty 8860 84651 1 0 3 0x18000088 kqread sshd 45905 304181 26557 74 3 0x19100092 bpf pflogd 26557 40481 1 0 3 0x18000080 sbwait pflogd 39782 51589 38472 73 7 0x19100010 syslogd 38472 299649 1 0 3 0x18100082 sbwait syslogd 97092 380579 1 0 3 0x18100080 kqread resolvd 7235 348350 6812 77 3 0x18100092 kqread dhcpleased 92603 158924 6812 77 3 0x18100092 kqread dhcpleased 6812 407803 1 0 3 0x18000080 kqread dhcpleased 46138 202813 0 0 3 0x14200 bored smr 12553 277411 0 0 2 0x14200 zerothread 89739 15676 0 0 3 0x14200 aiodoned aiodoned 28721 480749 0 0 3 0x14200 syncer update 46842 43504 0 0 3 0x14200 cleaner cleaner 54892 517871 0 0 3 0x14200 reaper reaper 93902 483240 0 0 3 0x14200 pgdaemon pagedaemon 55051 212077 0 0 3 0x14200 bored viomb 7917 417180 0 0 3 0x40014200 acpi0 acpi0 42853 365107 0 0 3 0x40014200 idle1 24847 87506 0 0 3 0x14200 bored softnet3 78891 82952 0 0 3 0x14200 bored softnet2 84676 319689 0 0 3 0x14200 bored softnet1 18008 357457 0 0 3 0x14200 bored softnet0 80770 46547 0 0 3 0x14200 bored systqmp 29627 447668 0 0 3 0x14200 bored systq 29085 387781 0 0 2 0x14200 softclockmp 51267 179629 0 0 2 0x40014200 softclock 10841 61485 0 0 3 0x40014200 idle0 1 213495 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 44879 (syz-executor) thread 0xffff8000311996f0 (73297) Process 63320 (syz-executor) thread 0xffff800031199c00 (302546) Process 25928 (syz-executor) thread 0xffff800029fd8f38 (152398) Process 99425 (syz-executor) thread 0xffff8000ffff6530 (166656) Process 39782 (syslogd) thread 0xffff8000ffffdbe8 (51589) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10203 10292K 10680K 166960K 11719 0 pcb 19 13K 14K 166960K 95 0 rtable 255 10K 11K 166960K 872 0 pf 35 10K 13K 166960K 85 0 ifaddr 46 15K 15K 166960K 110 0 ifgroup 59 2K 2K 166960K 119 0 sysctl 2 0K 0K 166960K 2 0 counters 66 36K 36K 166960K 96 0 ioctlops 0 0K 4K 166960K 1526 0 iov 2 6K 12K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1373 86K 87K 166960K 1803 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 17 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 93K 166960K 593 0 sigio 0 0K 0K 166960K 5 0 proc 73 91K 152K 166960K 962 0 subproc 104 6K 6K 166960K 299 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 27 0 in_multi 99 7K 7K 166960K 268 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 588 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 233 73K 91K 166960K 6148 0 UVM aobj 10 2K 2K 166960K 12 0 pinsyscall 40 80K 104K 166960K 2062 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 11 0 NDP 13 0K 1K 166960K 74 0 temp 48 6809K 6873K 166960K 9182 0 kqueue 15 24K 28K 166960K 61 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 86 0 83 1 0 1 1 0 8 0 rtentry 112 289 0 176 4 0 4 4 0 8 0 unpcb 144 268 0 240 6 2 4 4 0 8 2 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 99 0 90 4 3 1 4 0 8 0 arp 120 48 0 30 1 0 1 1 0 8 0 inpcb 336 426 0 414 11 7 4 7 0 8 3 nd6 136 82 0 55 2 0 2 2 0 8 1 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 23 0 15 1 0 1 1 0 8 0 pffrag 232 6 0 0 1 0 1 1 0 482 0 pffrnode 88 6 0 0 1 0 1 1 0 8 0 pffrent 40 6 0 0 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 7 0 3 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 53 0 26 1 0 1 1 0 8 0 pfstkey 128 53 0 26 1 0 1 1 0 8 0 pfstate 376 53 0 26 3 0 3 3 0 8 0 pfrule 1344 25 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1155 0 690 31 0 31 31 0 8 1 art_table 32 1156 0 690 4 0 4 4 0 8 0 art_node 16 288 0 185 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 10 1 0 1 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2045 0 509 97 0 97 97 0 8 0 ffsino 272 2045 0 509 103 0 103 103 0 8 0 nchpl 144 2598 0 898 64 0 64 64 0 8 0 uvmvnodes 80 2461 0 0 51 0 51 51 0 8 0 vnodes 216 2461 0 0 137 0 137 137 0 8 0 namei 1024 9776 0 9775 3 2 1 1 0 8 0 percpumem 16 62 0 15 1 0 1 1 0 8 0 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 696 5 0 3 2 1 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 56 0 30 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 11579 0 11579 9 8 1 8 1 8 1 plimitpl 152 67 0 50 1 0 1 1 0 8 0 sigapl 424 866 0 818 8 2 6 7 0 8 0 futexpl 64 3916 0 3912 3 2 1 1 0 8 0 knotepl 120 575 0 0 17 0 17 17 0 8 0 kqueuepl 216 133 0 121 3 2 1 3 0 8 0 pipepl 320 187 0 160 5 2 3 5 0 8 0 fdescpl 496 846 0 817 7 2 5 5 0 8 0 filepl 152 4033 0 3763 16 4 12 14 0 8 1 lockfpl 104 97 0 92 1 0 1 1 0 8 0 lockfspl 48 42 0 38 1 0 1 1 0 8 0 sessionpl 144 37 0 28 1 0 1 1 0 8 0 pgrppl 48 63 0 46 1 0 1 1 0 8 0 ucredpl 104 603 0 586 1 0 1 1 0 8 0 zombiepl 144 820 0 818 1 0 1 1 0 8 0 processpl 1152 866 0 818 5 1 4 5 0 8 0 procpl 648 1270 0 1212 7 1 6 6 0 8 0 sockpl 664 785 0 742 15 6 9 9 0 8 5 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 228 0 0 29 0 29 29 0 8 0 mtagpl 96 38 0 0 1 0 1 1 0 8 0 mbufpl 256 335 0 0 19 0 19 19 0 8 0 bufpl 280 5548 0 97 390 0 390 390 0 8 0 anonpl 24 168105 0 164725 75 9 66 74 0 185 34 amapchunkpl 152 19448 0 18968 32 1 31 31 0 158 8 amappl16 200 3714 0 3693 33 24 9 28 0 8 5 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 163 0 151 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1725 0 1695 4 2 2 3 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 9 0 8 1 0 1 1 0 8 0 amappl9 144 151 0 151 1 1 0 1 0 8 0 amappl8 136 15 0 13 1 0 1 1 0 8 0 amappl7 128 141 0 129 1 0 1 1 0 8 0 amappl6 120 314 0 312 1 0 1 1 0 8 0 amappl5 112 194 0 183 1 0 1 1 0 8 0 amappl4 104 361 0 344 1 0 1 1 0 8 0 amappl3 96 3740 0 3629 4 0 4 4 0 8 0 amappl2 88 819 0 755 2 0 2 2 0 8 0 amappl1 80 10005 0 9424 15 2 13 15 0 8 0 amappl 88 5651 0 5484 5 0 5 5 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 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 851 0 820 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 851 0 820 1 0 1 1 0 8 0 vmmpekpl 168 8897 0 8847 4 1 3 3 0 8 0 vmmpepl 168 58910 0 57106 108 9 99 107 0 357 9 vmsppl 440 850 0 820 6 2 4 5 0 8 0 rwobjpl 56 22433 0 19025 53 3 50 50 0 8 0 pdppl 4096 1709 0 1642 120 47 73 85 0 8 6 pvpl 32 28791 0 0 232 0 232 232 0 265 0 pmappl 248 850 0 820 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 429 0 62 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ktrops(ffff8000311996f0,deadbeefdeadbeef,0,80000210,fffffd806bcf8108,fffffd807f7d3680) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff8000311996f0,deadbeefdeadbeef,0,80000210,fffffd806bcf8108,fffffd807f7d3680) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd806bcf8108,4,210,0,ffff8000311996f0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806bcf8108,4,210,0,ffff8000311996f0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff8000311996f0,ffff8000371ad070,ffff8000371acfc0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff8000371ad070) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371ad070) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33c2a022670, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff834ea0b0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834ea0b0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff834ea0b0,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x229 sys/kern/kern_synch.c:416 vwaitforio(fffffd806e265638,0,ffffffff830906e4,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06a040) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e265638,fffffd807f7d3958,1,ffff8000ffffdbe8) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffdbe8,ffff80002a06a1f0,ffff80002a06a140) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2927 syscall(ffff80002a06a1f0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a1f0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b7afc477400, count: -13