login: kernel: protection fault trap, code=0 Stopped at ktrops+0x4a: movq 0x8(%rbx),%r14 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 sys/kern/kern_ktrace.c:479 sys_ktrace(ffff80002166fa40,ffff8000216dfb28,ffff8000216dfb80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff8000216dfbf0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2660, count: -5 ddb> show registers rdi 0xffff80002166fa40 rsi 0xdead4110dead4110 rbp 0xffff8000216df910 rbx 0xdead4110dead4110 rdx 0 rcx 0x80001108 __kernel_virt_to_phys+0x1108 rax 0x1 r8 0xfffffd806c5bad30 r9 0xfffffd807f7d8600 r10 0xab739358940eb9d2 r11 0x828e7f8a3351c75e r12 0xffff8000ffffd770 r13 0xfffffd807f7d8600 r14 0xffff80002166fa40 r15 0x80001108 __kernel_virt_to_phys+0x1108 rip 0xffffffff8138fbaa ktrops+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216df890 ss 0x10 ktrops+0x4a: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor.3) pid=399154 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002166f260,0xffff80002166ed30 process=0xffff8000216d33a8 user=0xffff8000216da000, vmspace=0xfffffd806af51120 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80361 190086 57921 0 2 0 syz-executor.1 *14070 399154 73194 0 7 0 syz-executor.3 73194 25067 63301 0 3 0x82 nanoslp syz-executor.3 26972 222304 63301 0 2 0x2 syz-executor.2 57921 249172 63301 0 3 0x82 nanoslp syz-executor.1 86022 59676 63301 0 2 0x2 syz-executor.0 63301 432264 37904 0 3 0x82 thrsleep syz-execprog 63301 390439 37904 0 2 0x4000082 syz-execprog 63301 355563 37904 0 3 0x4000082 thrsleep syz-execprog 63301 461779 37904 0 3 0x4000082 thrsleep syz-execprog 63301 206473 37904 0 3 0x4000082 thrsleep syz-execprog 63301 209430 37904 0 3 0x4000082 thrsleep syz-execprog 63301 42597 37904 0 2 0x4000002 syz-execprog 37904 127878 97673 0 3 0x10008a sigsusp ksh 97673 29663 99995 0 3 0x9a poll sshd 55224 211026 1 0 3 0x100083 ttyin getty 99995 34112 1 0 3 0x88 poll sshd 57598 267855 23626 73 3 0x100090 kqread syslogd 23626 324636 1 0 3 0x100082 netio syslogd 99675 353103 1 0 3 0x100080 kqread resolvd 18644 99742 39053 77 3 0x100092 kqread dhcpleased 60535 401521 39053 77 3 0x100092 kqread dhcpleased 39053 232537 1 0 3 0x80 kqread dhcpleased 59577 428908 0 0 3 0x14200 bored smr 42386 8576 0 0 3 0x14200 pgzero zerothread 12752 519890 0 0 3 0x14200 aiodoned aiodoned 16040 113270 0 0 3 0x14200 syncer update 46236 38681 0 0 3 0x14200 cleaner cleaner 86532 373908 0 0 3 0x14200 reaper reaper 93511 6221 0 0 3 0x14200 pgdaemon pagedaemon 34899 286140 0 0 3 0x14200 bored viomb 76491 71945 0 0 3 0x40014200 acpi0 acpi0 45017 229776 0 0 3 0x14200 bored softnet 91508 67123 0 0 3 0x14200 bored systqmp 12287 479718 0 0 3 0x14200 bored systq 46234 111602 0 0 3 0x40014200 bored softclock 83761 227146 0 0 3 0x40014200 idle0 1 300561 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 10138 6390K 6412K 78643K 11228 0 pcb 13 8K 8K 78643K 13 0 rtable 150 4K 4K 78643K 234 0 ifaddr 53 12K 12K 78643K 53 0 counters 23 16K 16K 78643K 23 0 ioctlops 0 0K 2K 78643K 29 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1178 74K 74K 78643K 1183 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 8 25K 45K 78643K 154 0 proc 55 54K 79K 78643K 337 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 55 3K 3K 78643K 55 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 427 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 142 38K 39K 78643K 2207 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 15 1K 1K 78643K 15 0 temp 36 4178K 4242K 78643K 3567 0 kqueue 10 14K 14K 78643K 10 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 28 0 25 1 0 1 1 0 8 0 rtentry 112 67 0 1 2 0 2 2 0 8 0 unpcb 136 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 93 0 6 8 0 8 8 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 304 124 0 118 1 0 1 1 0 8 0 nd6 48 12 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 276 0 0 18 0 18 18 0 8 0 art_table 32 277 0 0 3 0 3 3 0 8 0 art_node 16 66 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1606 0 149 92 0 92 92 0 8 0 ffsino 240 1606 0 149 86 0 86 86 0 8 0 nchpl 144 2005 0 383 61 0 61 61 0 8 0 uvmvnodes 80 1615 0 0 33 0 33 33 0 8 0 vnodes 224 1615 0 0 95 0 95 95 0 8 0 namei 1024 5431 0 5430 2 1 1 1 0 8 0 scxspl 216 5674 0 5674 9 1 8 8 0 8 8 plimitpl 152 19 0 9 1 0 1 1 0 8 0 sigapl 424 376 0 344 5 0 5 5 0 8 1 knotepl 112 203 0 155 2 0 2 2 0 8 0 kqueuepl 184 92 0 86 1 0 1 1 0 8 0 pipepl 304 89 0 73 3 1 2 2 0 8 0 fdescpl 432 363 0 344 3 0 3 3 0 8 0 filepl 120 1500 0 1405 3 0 3 3 0 8 0 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 21 0 9 1 0 1 1 0 8 0 pgrppl 48 21 0 9 1 0 1 1 0 8 0 ucredpl 96 64 0 54 1 0 1 1 0 8 0 zombiepl 144 344 0 344 2 1 1 1 0 8 1 processpl 1000 376 0 344 5 0 5 5 0 8 0 procpl 672 382 0 344 4 0 4 4 0 8 0 sockpl 448 185 0 163 3 0 3 3 0 8 0 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 5318 0 5282 7 2 5 6 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 9996 0 9809 14 1 13 13 0 8 1 bufpl 288 3617 0 135 249 0 249 249 0 8 0 anonpl 24 45176 0 41307 33 3 30 30 0 188 4 amapchunkpl 152 5066 0 4754 18 1 17 17 0 158 2 amappl16 200 390 0 321 5 0 5 5 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 3 0 1 1 0 1 1 0 8 0 amappl13 176 64 0 60 2 1 1 1 0 8 0 amappl12 168 15 0 13 2 1 1 1 0 8 0 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl10 152 48 0 43 1 0 1 1 0 8 0 amappl9 144 448 0 445 1 0 1 1 0 8 0 amappl8 136 374 0 352 1 0 1 1 0 8 0 amappl7 128 120 0 111 1 0 1 1 0 8 0 amappl6 120 174 0 160 1 0 1 1 0 8 0 amappl5 112 279 0 264 1 0 1 1 0 8 0 amappl4 104 578 0 555 1 0 1 1 0 8 0 amappl3 96 155 0 140 1 0 1 1 0 8 0 amappl2 88 395 0 354 2 0 2 2 0 8 0 amappl1 80 9402 0 8961 14 2 12 12 0 8 2 amappl 88 1905 0 1798 3 0 3 3 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 363 0 344 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 363 0 344 1 0 1 1 0 8 0 vmmpekpl 168 7141 0 7122 1 0 1 1 0 8 0 vmmpepl 168 31887 0 30661 74 6 68 68 0 357 13 vmsppl 272 362 0 344 3 1 2 2 0 8 0 rwobjpl 24 10412 0 8066 15 0 15 15 0 8 0 pdppl 4096 733 0 688 79 24 55 55 0 8 10 pvpl 32 177261 0 170329 144 7 137 137 0 265 78 pmappl 216 362 0 344 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 572 0 33 16 0 16 16 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 sys/kern/kern_ktrace.c:479 sys_ktrace(ffff80002166fa40,ffff8000216dfb28,ffff8000216dfb80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff8000216dfbf0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2660, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff80002166fa40,dead4110dead4110,0,80001108,fffffd806c5bad30,fffffd807f7d8600) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806c5bad30,4,1108,ffffffff,ffff80002166fa40) at doktrace+0x418 sys/kern/kern_ktrace.c:479 sys_ktrace(ffff80002166fa40,ffff8000216dfb28,ffff8000216dfb80) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff8000216dfbf0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2660, count: -5 ddb>