kernel: protection fault trap, code=0 Stopped at ktrops+0x4e: movq 0x8(%rbx),%r14 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a5f3540,ffff80002a74ef50,ffff80002a74eea0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a74ef50) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x27bde083460, count: -5 ddb> show registers rdi 0xffff80002a5f3540 rsi 0xdeaf4152deaf4152 rbp 0xffff80002a74ec70 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0x80000120 __kernel_virt_to_phys+0x120 rax 0xffff80002a5f3540 r8 0xfffffd8071ef82a8 r9 0xfffffd807f7d77b8 r10 0xc8a0e7111c13f812 r11 0xb3b0c3b644f2bb13 r12 0xdeaf4152deaf4152 r13 0xfffffd807f7d77b8 r14 0xffff80002a5f3540 r15 0x80000120 __kernel_virt_to_phys+0x120 rip 0xffffffff816c0f7e ktrops+0x4e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a74ebf0 ss 0x10 ktrops+0x4e: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor.1) tid=441358 pid=53829 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a62f008,0xffffffff82d9f8a0 process=0xffff80002a7de198 user=0xffff80002a74a000, vmspace=0xfffffd8069b629b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53829 303589 14068 0 2 0 syz-executor.1 *53829 441358 14068 0 7 0x4000000 syz-executor.1 53602 420167 65905 0 2 0x2 syz-executor.7 51777 459152 65905 0 2 0x2 syz-executor.3 40832 27225 65905 0 2 0x2 syz-executor.6 93025 366523 65905 0 2 0x2 syz-executor.5 84296 39619 65905 0 2 0x2 syz-executor.4 61032 149888 65905 0 3 0x82 nanoslp syz-executor.2 14068 232933 65905 0 3 0x82 nanoslp syz-executor.1 44573 475657 65905 0 2 0x2 syz-executor.0 65905 365046 78749 0 3 0x2000082 thrsleep syz-execprog 65905 501444 78749 0 2 0x6000082 syz-execprog 65905 339964 78749 0 3 0x6000082 wait syz-execprog 65905 499335 78749 0 3 0x6000082 thrsleep syz-execprog 65905 440618 78749 0 3 0x6000082 wait syz-execprog 65905 274234 78749 0 3 0x6000082 wait syz-execprog 65905 111319 78749 0 3 0x6000082 wait syz-execprog 65905 251412 78749 0 3 0x6000082 wait syz-execprog 65905 357435 78749 0 3 0x6000082 wait syz-execprog 65905 460432 78749 0 3 0x6000082 thrsleep syz-execprog 65905 457306 78749 0 3 0x6000082 wait syz-execprog 65905 4779 78749 0 3 0x6000082 wait syz-execprog 65905 83206 78749 0 3 0x6000082 thrsleep syz-execprog 65905 211247 78749 0 2 0x6000002 syz-execprog 78749 157328 82625 0 3 0x10008a sigsusp ksh 82625 164593 70921 0 3 0x9a kqread sshd 12361 497066 1 0 3 0x100083 ttyin getty 70921 172281 1 0 3 0x88 kqread sshd 6175 200485 51194 73 3 0x1100090 kqread syslogd 51194 63053 1 0 3 0x100082 netio syslogd 58165 55808 1 0 3 0x100080 kqread resolvd 10332 487075 32455 77 3 0x100092 kqread dhcpleased 76314 381874 32455 77 3 0x100092 kqread dhcpleased 32455 363789 1 0 3 0x80 kqread dhcpleased 83197 399571 0 0 3 0x14200 bored smr 86853 28064 0 0 2 0x14200 zerothread 77466 179202 0 0 3 0x14200 aiodoned aiodoned 31920 501383 0 0 3 0x14200 syncer update 77347 81531 0 0 3 0x14200 cleaner cleaner 41176 42468 0 0 3 0x14200 reaper reaper 40744 106073 0 0 3 0x14200 pgdaemon pagedaemon 43968 444543 0 0 3 0x14200 bored viomb 44845 120015 0 0 3 0x40014200 acpi0 acpi0 41125 452241 0 0 3 0x14200 bored softnet3 79531 274726 0 0 3 0x14200 bored softnet2 85547 180186 0 0 3 0x14200 bored softnet1 45612 219789 0 0 3 0x14200 bored softnet0 11047 29797 0 0 3 0x14200 bored systqmp 12787 50080 0 0 3 0x14200 bored systq 20715 519290 0 0 3 0x40014200 tmoslp softclock 34958 503645 0 0 3 0x40014200 idle0 1 442149 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10161 6400K 6413K 166960K 11242 0 pcb 15 10K 10K 166960K 15 0 rtable 234 6K 6K 166960K 382 0 pf 29 8K 8K 166960K 32 0 ifaddr 43 11K 11K 166960K 49 0 ifgroup 50 2K 2K 166960K 55 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1187 74K 74K 166960K 1200 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 11 37K 73K 166960K 242 0 proc 55 58K 75K 166960K 498 0 subproc 0 0K 0K 166960K 13 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 407 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 204 72K 74K 166960K 4735 0 UVM aobj 3 2K 2K 166960K 3 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 25 1K 2K 166960K 30 0 temp 1 6748K 6812K 166960K 4860 0 kqueue 12 18K 18K 166960K 34 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 39 0 36 1 0 1 1 0 8 0 rtentry 112 122 0 12 4 0 4 4 0 8 0 unpcb 144 239 0 226 1 0 1 1 0 8 0 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpqe 32 187 0 187 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 20 0 2 1 0 1 1 0 8 0 inpcb 360 66 0 60 1 0 1 1 0 8 0 nd6 104 27 0 3 1 0 1 1 0 8 0 kcovpl 48 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 48 29 0 29 29 0 8 0 art_table 32 502 0 48 4 0 4 4 0 8 0 art_node 16 121 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1698 0 227 93 0 93 93 0 8 0 ffsino 240 1698 0 227 87 0 87 87 0 8 0 nchpl 144 2164 0 470 64 0 64 64 0 8 1 uvmvnodes 80 1720 0 0 36 0 36 36 0 8 0 vnodes 216 1720 0 0 96 0 96 96 0 8 0 namei 1024 8054 0 8051 3 0 3 3 0 8 2 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 8591 0 8591 8 0 8 8 1 8 8 plimitpl 152 49 0 34 1 0 1 1 0 8 0 sigapl 424 573 0 534 6 0 6 6 0 8 0 futexpl 64 645 0 645 1 0 1 1 0 8 1 knotepl 120 7091 0 7013 3 0 3 3 0 8 0 kqueuepl 184 30 0 22 1 0 1 1 0 8 0 pipepl 288 183 0 155 3 0 3 3 0 8 1 fdescpl 432 557 0 535 4 0 4 4 0 8 1 filepl 120 2394 0 2262 5 0 5 5 0 8 1 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 93 0 83 1 0 1 1 0 8 0 zombiepl 144 535 0 534 1 0 1 1 0 8 0 processpl 1072 573 0 534 4 0 4 4 0 8 0 procpl 680 696 0 643 6 0 6 6 0 8 0 sockpl 488 344 0 322 4 0 4 4 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 16 0 16 1 0 1 1 0 8 1 mcl2k 2048 21230 0 21176 74 58 16 46 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 34367 0 34232 34 22 12 24 0 8 3 bufpl 280 5005 0 139 348 0 348 348 0 8 0 anonpl 24 342270 0 338352 51 0 51 51 0 188 24 amapchunkpl 152 17669 0 17196 26 0 26 26 0 158 2 amappl16 200 10199 0 10123 5 0 5 5 0 8 0 amappl15 192 29 0 29 1 0 1 1 0 8 1 amappl14 184 297 0 286 2 0 2 2 0 8 0 amappl13 176 70 0 70 1 0 1 1 0 8 1 amappl12 168 1244 0 1219 2 0 2 2 0 8 0 amappl11 160 91 0 80 1 0 1 1 0 8 0 amappl10 152 51 0 42 1 0 1 1 0 8 0 amappl9 144 334 0 333 1 0 1 1 0 8 0 amappl8 136 231 0 207 2 0 2 2 0 8 1 amappl7 128 271 0 257 2 0 2 2 0 8 0 amappl6 120 325 0 319 1 0 1 1 0 8 0 amappl5 112 167 0 159 1 0 1 1 0 8 0 amappl4 104 573 0 554 2 0 2 2 0 8 1 amappl3 96 4379 0 4320 3 0 3 3 0 8 1 amappl2 88 1169 0 1106 3 0 3 3 0 8 0 amappl1 80 14738 0 14250 27 8 19 22 0 8 8 amappl 88 4084 0 3952 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 557 0 535 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 557 0 535 1 0 1 1 0 8 0 vmmpekpl 168 14245 0 14213 2 0 2 2 0 8 0 vmmpepl 168 70855 0 69432 110 0 110 110 0 357 41 vmsppl 352 556 0 535 3 0 3 3 0 8 0 rwobjpl 24 33139 0 30504 19 0 19 19 0 8 0 pdppl 4096 1120 0 1070 108 40 68 68 0 8 18 pvpl 32 668096 0 659692 333 37 296 333 0 265 221 pmappl 216 556 0 535 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 448 0 120 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a5f3540,ffff80002a74ef50,ffff80002a74eea0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a74ef50) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x27bde083460, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a5f3540,deaf4152deaf4152,0,80000120,fffffd8071ef82a8,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd8071ef82a8,4,120,0,ffff80002a5f3540) at doktrace+0x524 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a5f3540,ffff80002a74ef50,ffff80002a74eea0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a74ef50) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x27bde083460, count: -5