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(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 sys/kern/kern_ktrace.c:494 sys_ktrace(ffff800021677ce8,ffff80002176dc18,ffff80002176dc70) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff80002176dce0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29a5f985b80, count: -5 ddb> show registers rdi 0xffff800021677ce8 rsi 0xdeaf4152deaf4152 rbp 0xffff80002176da00 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0x80000132 __kernel_virt_to_phys+0x132 rax 0x1 r8 0xfffffd806aee80f0 r9 0xfffffd807f7d8900 r10 0x9df9787ba7fb86bd r11 0x4e404fdbaec97d86 r12 0xdeaf4152deaf4152 r13 0xfffffd807f7d8900 r14 0xffff800021677ce8 r15 0x80000132 __kernel_virt_to_phys+0x132 rip 0xffffffff81403aea ktrops+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002176d980 ss 0 ktrops+0x4a: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor.0) pid=292158 stat=onproc flags process=0 proc=4000000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000216767e8,0xffff800021677518 process=0xffff80002166e408 user=0xffff800021768000, vmspace=0xfffffd806af5a010 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25133 298180 51679 0 2 0 syz-executor.1 82020 295118 61057 0 2 0 syz-executor.0 82020 423903 61057 0 2 0x4000000 syz-executor.0 *82020 292158 61057 0 7 0x4000000 syz-executor.0 82020 369760 61057 0 2 0x4000000 syz-executor.0 82020 404804 61057 0 2 0x4000000 syz-executor.0 84161 460047 13820 0 3 0x80 nanoslp syz-executor.3 84161 515283 13820 0 3 0x4000080 fsleep syz-executor.3 84161 434024 13820 0 3 0x4000080 fsleep syz-executor.3 84161 367668 13820 0 3 0x4000080 fsleep syz-executor.3 13820 9736 8513 0 3 0x82 nanoslp syz-executor.3 18698 440045 8513 0 2 0x2 syz-executor.2 51679 249577 8513 0 3 0x82 nanoslp syz-executor.1 61057 46869 8513 0 3 0x82 nanoslp syz-executor.0 8513 232115 39007 0 3 0x82 thrsleep syz-execprog 8513 1228 39007 0 3 0x4000082 nanoslp syz-execprog 8513 310040 39007 0 3 0x4000082 thrsleep syz-execprog 8513 384668 39007 0 3 0x4000082 thrsleep syz-execprog 8513 262763 39007 0 3 0x4000082 thrsleep syz-execprog 8513 16334 39007 0 2 0x4000002 syz-execprog 8513 21725 39007 0 3 0x4000082 thrsleep syz-execprog 39007 199503 77771 0 3 0x10008a sigsusp ksh 77771 137311 20922 0 3 0x9a poll sshd 1669 107750 1 0 3 0x100083 ttyin getty 20922 27208 1 0 3 0x88 poll sshd 64070 333277 45597 73 3 0x100090 kqread syslogd 45597 124815 1 0 3 0x100082 netio syslogd 30555 372468 1 0 3 0x100080 kqread resolvd 13314 258599 1755 77 3 0x100092 kqread dhcpleased 51469 431676 1755 77 3 0x100092 kqread dhcpleased 1755 367989 1 0 3 0x80 kqread dhcpleased 82356 227736 0 0 3 0x14200 bored smr 63918 385242 0 0 2 0x14200 zerothread 27249 348473 0 0 3 0x14200 aiodoned aiodoned 63578 119578 0 0 3 0x14200 syncer update 36008 189809 0 0 3 0x14200 cleaner cleaner 55442 337243 0 0 3 0x14200 reaper reaper 44044 454357 0 0 3 0x14200 pgdaemon pagedaemon 87599 173158 0 0 3 0x14200 bored viomb 48686 338819 0 0 3 0x40014200 acpi0 acpi0 42628 380782 0 0 3 0x14200 bored softnet 37889 176529 0 0 3 0x14200 bored systqmp 3353 137654 0 0 3 0x14200 bored systq 74099 175046 0 0 3 0x40014200 bored softclock 84420 453554 0 0 3 0x40014200 idle0 1 329919 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 236 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 9 29K 49K 78643K 347 0 proc 55 54K 71K 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 432 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 182 39K 39K 78643K 6491 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 7 0K 1K 78643K 15 0 temp 36 4178K 4242K 78643K 22123 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 29 0 26 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 7 0 4 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 304 38 0 32 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 1991 0 464 96 0 96 96 0 8 0 ffsino 240 1991 0 464 90 0 90 90 0 8 0 nchpl 144 2804 0 1184 61 0 61 61 0 8 0 uvmvnodes 80 2000 0 0 41 0 41 41 0 8 0 vnodes 224 2000 0 0 118 0 118 118 0 8 0 namei 1024 16110 0 16110 2 1 1 1 0 8 1 scxspl 216 7725 0 7725 10 9 1 8 0 8 1 plimitpl 152 19 0 9 1 0 1 1 0 8 0 sigapl 424 572 0 539 5 0 5 5 0 8 1 futexpl 64 1312 0 1309 1 0 1 1 0 8 0 knotepl 112 204 0 156 2 0 2 2 0 8 0 kqueuepl 184 6 0 0 1 0 1 1 0 8 0 pipepl 304 90 0 74 3 1 2 2 0 8 0 fdescpl 432 559 0 539 3 0 3 3 0 8 0 filepl 120 1718 0 1624 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 539 0 539 2 1 1 1 0 8 1 processpl 1000 572 0 539 5 0 5 5 0 8 0 procpl 672 1694 0 1648 5 0 5 5 0 8 0 sockpl 448 100 0 78 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 5322 0 5285 6 1 5 6 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 10082 0 9888 13 0 13 13 0 8 0 bufpl 288 4134 0 135 286 0 286 286 0 8 0 anonpl 24 141867 0 137140 34 3 31 31 0 188 1 amapchunkpl 152 15513 0 15107 19 1 18 18 0 158 2 amappl16 200 751 0 679 4 0 4 4 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 77 0 73 1 0 1 1 0 8 0 amappl13 176 42 0 39 2 1 1 1 0 8 0 amappl12 168 81 0 79 2 1 1 1 0 8 0 amappl11 160 49 0 38 1 0 1 1 0 8 0 amappl10 152 109 0 103 1 0 1 1 0 8 0 amappl9 144 427 0 423 1 0 1 1 0 8 0 amappl8 136 392 0 373 1 0 1 1 0 8 0 amappl7 128 144 0 137 1 0 1 1 0 8 0 amappl6 120 149 0 136 1 0 1 1 0 8 0 amappl5 112 546 0 528 1 0 1 1 0 8 0 amappl4 104 567 0 548 1 0 1 1 0 8 0 amappl3 96 233 0 217 1 0 1 1 0 8 0 amappl2 88 378 0 338 2 0 2 2 0 8 0 amappl1 80 14781 0 14311 15 3 12 12 0 8 1 amappl 88 6186 0 6043 4 0 4 4 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 559 0 539 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 559 0 539 1 0 1 1 0 8 0 vmmpekpl 168 10126 0 10106 2 0 2 2 0 8 0 vmmpepl 168 52613 0 51241 73 8 65 65 0 357 5 vmsppl 272 558 0 539 3 1 2 2 0 8 0 rwobjpl 24 18413 0 15632 17 0 17 17 0 8 0 pdppl 4096 1124 0 1078 80 32 48 56 0 8 2 pvpl 32 307904 0 300003 144 7 137 137 0 265 72 pmappl 216 558 0 539 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 609 0 39 17 0 17 17 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 sys/kern/kern_ktrace.c:494 sys_ktrace(ffff800021677ce8,ffff80002176dc18,ffff80002176dc70) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff80002176dce0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29a5f985b80, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a ktrcanset sys/kern/kern_ktrace.c:702 [inline] ktrops(ffff800021677ce8,deaf4152deaf4152,0,80000132,fffffd806aee80f0,fffffd807f7d8900) at ktrops+0x4a sys/kern/kern_ktrace.c:547 doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:572 [inline] doktrace(fffffd806aee80f0,4,132,0,ffff800021677ce8) at doktrace+0x514 sys/kern/kern_ktrace.c:494 sys_ktrace(ffff800021677ce8,ffff80002176dc18,ffff80002176dc70) at sys_ktrace+0xd2 sys/kern/kern_ktrace.c:535 syscall(ffff80002176dce0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29a5f985b80, count: -5 ddb>