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(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 sys/kern/kern_ktrace.c:493 sys_ktrace(ffff80002a659558,ffff80002a6dd9c0,ffff80002a6dda00) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a6dda70) at syscall+0x4b0 sys/arch/amd64/amd64/trap.c:591 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x733e3ba77eb0, count: -5 ddb> show registers rdi 0xffff80002a659558 rsi 0xdead4110dead4110 rbp 0xffff80002a6dd7b0 rbx 0xdead4110dead4110 rdx 0 rcx 0x80000800 __kernel_virt_to_phys+0x800 rax 0x1 r8 0xfffffd806c90a968 r9 0xfffffd807f7d77b8 r10 0x4b355849c45b012a r11 0x7bce353f086ee05d r12 0xffff80002a5cf3b0 r13 0xfffffd807f7d77b8 r14 0xffff80002a659558 r15 0x80000800 __kernel_virt_to_phys+0x800 rip 0xffffffff812752ae ktrops+0x4e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a6dd730 ss 0x10 ktrops+0x4e: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor413547013) tid=345867 pid=36227 tcnt=1 stat=onproc flags process=0 proc=0 runpri=17, usrpri=52, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a659d50,0xffff80002a658ac8 process=0xffff80002a6953b0 user=0xffff80002a6d8000, vmspace=0xfffffd806c4e7e70 estcpu=16, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 42459 439665 93717 0 2 0 syz-executor413547013 *36227 345867 91397 0 7 0 syz-executor413547013 55516 379682 78896 0 3 0x80 nanoslp syz-executor413547013 93717 450555 78896 0 2 0 syz-executor413547013 33335 106316 78896 0 3 0x80 nanoslp syz-executor413547013 91397 277098 78896 0 3 0x80 nanoslp syz-executor413547013 75479 294 78896 0 2 0 syz-executor413547013 1553 511851 78896 0 3 0x80 nanoslp syz-executor413547013 96810 508083 78896 0 2 0 syz-executor413547013 21925 319248 78896 0 2 0 syz-executor413547013 78896 400725 31558 0 3 0x82 nanoslp syz-executor413547013 31558 53487 20379 0 3 0x10008a sigsusp ksh 20379 440548 82879 0 3 0x9a kqread sshd 83457 269958 1 0 3 0x100083 ttyin getty 82879 361804 1 0 3 0x88 kqread sshd 89545 397002 50058 73 3 0x1100090 kqread syslogd 50058 438769 1 0 3 0x100082 netio syslogd 85387 39114 1 0 3 0x100080 kqread resolvd 33835 303031 14017 77 3 0x100092 kqread dhcpleased 80744 477174 14017 77 3 0x100092 kqread dhcpleased 14017 190394 1 0 3 0x80 kqread dhcpleased 47830 231584 0 0 3 0x14200 bored smr 44118 125112 0 0 3 0x14200 pgzero zerothread 53819 285225 0 0 3 0x14200 aiodoned aiodoned 54629 136954 0 0 3 0x14200 syncer update 29030 517226 0 0 3 0x14200 cleaner cleaner 78526 327342 0 0 3 0x14200 reaper reaper 74126 265912 0 0 3 0x14200 pgdaemon pagedaemon 134 361102 0 0 3 0x14200 bored viomb 95867 110558 0 0 3 0x40014200 acpi0 acpi0 38547 273220 0 0 3 0x14200 bored softnet3 72234 285253 0 0 3 0x14200 bored softnet2 89300 294315 0 0 3 0x14200 bored softnet1 14657 27006 0 0 3 0x14200 bored softnet0 24666 507871 0 0 3 0x14200 bored systqmp 63386 256299 0 0 3 0x14200 bored systq 64696 270641 0 0 3 0x40014200 tmoslp softclock 82197 213955 0 0 3 0x40014200 idle0 1 281366 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 10142 6382K 6414K 166960K 11220 0 pcb 15 10K 10K 166960K 15 0 rtable 58 1K 2K 166960K 110 0 pf 12 6K 6K 166960K 12 0 ifaddr 11 5K 5K 166960K 11 0 ifgroup 17 1K 1K 166960K 17 0 counters 22 16K 16K 166960K 22 0 ioctlops 0 0K 2K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1174 73K 74K 166960K 1187 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 1 0K 0K 166960K 1 0 proc 55 58K 59K 166960K 246 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 11 0K 0K 166960K 11 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 243 0 tdb 3 0K 0K 166960K 3 0 pagedep 1 8K 8K 166960K 1 0 inodedep 1 32K 32K 166960K 1 0 newblk 1 0K 0K 166960K 1 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 113 5K 5K 166960K 2340 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 3 0K 0K 166960K 3 0 temp 1 5908K 5972K 166960K 2807 0 kqueue 11 16K 18K 166960K 24 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 20 0 17 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 312 5 0 5 1 0 1 1 0 8 1 tcpqe 32 95 0 95 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 88 2 0 0 1 0 1 1 0 8 0 inpcb 336 26 0 20 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1484 0 71 89 0 89 89 0 8 0 ffsino 240 1484 0 71 84 0 84 84 0 8 0 nchpl 144 1720 0 137 60 0 60 60 0 8 1 uvmvnodes 80 1493 0 0 31 0 31 31 0 8 0 vnodes 216 1493 0 0 83 0 83 83 0 8 0 namei 1024 4523 0 4522 2 0 2 2 0 8 1 kstatmem 264 6 0 0 1 0 1 1 0 8 0 scxspl 216 4904 0 4904 2 1 1 2 1 8 1 plimitpl 152 16 0 10 1 0 1 1 0 8 0 sigapl 424 343 0 301 6 0 6 6 0 8 0 knotepl 120 3647 0 3618 2 0 2 2 0 8 1 kqueuepl 184 20 0 13 1 0 1 1 0 8 0 pipepl 288 87 0 84 1 0 1 1 0 8 0 fdescpl 432 327 0 303 3 0 3 3 0 8 0 filepl 120 1174 0 1118 2 0 2 2 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 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 304 0 301 1 0 1 1 0 8 0 processpl 1008 343 0 301 7 1 6 6 0 8 0 procpl 680 343 0 301 4 0 4 4 0 8 0 sockpl 456 79 0 57 3 0 3 3 0 8 0 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 10 0 10 1 0 1 1 0 8 1 mcl2k 2048 10899 0 10859 30 19 11 30 0 8 5 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 17683 0 17639 16 8 8 16 0 8 4 bufpl 288 2465 0 87 170 0 170 170 0 8 0 anonpl 24 194804 0 192848 24 3 21 24 0 188 9 amapchunkpl 152 8860 0 8657 9 1 8 8 0 158 0 amappl16 200 5882 0 5872 5 3 2 5 0 8 1 amappl15 192 21 0 19 1 0 1 1 0 8 0 amappl14 184 108 0 99 1 0 1 1 0 8 0 amappl13 176 15 0 15 1 1 0 1 0 8 0 amappl12 168 797 0 777 1 0 1 1 0 8 0 amappl11 160 55 0 45 1 0 1 1 0 8 0 amappl10 152 19 0 19 1 0 1 1 0 8 1 amappl9 144 94 0 94 1 1 0 1 0 8 0 amappl8 136 35 0 33 1 0 1 1 0 8 0 amappl7 128 124 0 114 1 0 1 1 0 8 0 amappl6 120 119 0 114 1 0 1 1 0 8 0 amappl5 112 101 0 93 1 0 1 1 0 8 0 amappl4 104 353 0 327 1 0 1 1 0 8 0 amappl3 96 2318 0 2272 2 0 2 2 0 8 0 amappl2 88 604 0 556 2 0 2 2 0 8 0 amappl1 80 8867 0 8403 11 0 11 11 0 8 0 amappl 88 2068 0 1994 2 0 2 2 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 327 0 303 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 327 0 303 1 0 1 1 0 8 0 vmmpekpl 168 6896 0 6877 1 0 1 1 0 8 0 vmmpepl 168 35213 0 34041 52 1 51 51 0 357 0 vmsppl 368 326 0 303 3 0 3 3 0 8 0 rwobjpl 24 19296 0 17129 15 1 14 14 0 8 0 pdppl 4096 660 0 606 72 16 56 56 0 8 2 pvpl 32 290608 0 285979 52 3 49 52 0 265 11 pmappl 216 326 0 303 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 489 0 46 13 0 13 13 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 sys/kern/kern_ktrace.c:493 sys_ktrace(ffff80002a659558,ffff80002a6dd9c0,ffff80002a6dda00) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a6dda70) at syscall+0x4b0 sys/arch/amd64/amd64/trap.c:591 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x733e3ba77eb0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a659558,dead4110dead4110,0,80000800,fffffd806c90a968,fffffd807f7d77b8) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806c90a968,4,800,ffffffff,ffff80002a659558) at doktrace+0x428 sys/kern/kern_ktrace.c:493 sys_ktrace(ffff80002a659558,ffff80002a6dd9c0,ffff80002a6dda00) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002a6dda70) at syscall+0x4b0 sys/arch/amd64/amd64/trap.c:591 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x733e3ba77eb0, count: -5 ddb>