kernel: protection fault trap, code=0 Stopped at ktrops+0x4f: movq 0x8(%r14),%r14 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f sys/kern/kern_ktrace.c:561 doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a6c74a8,ffff80002f56d970,ffff80002f56d8c0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002f56d970) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x414645a8100, count: -5 ddb> show registers rdi 0xffff80002a6c74a8 rsi 0xdead4110dead4110 rbp 0xffff80002f56d690 rbx 0xfffffd807f7d7888 rdx 0 rcx 0x8000110c __kernel_virt_to_phys+0x110c rax 0xffff80002a6c74a8 r8 0xfffffd805e3ede58 r9 0xfffffd807f7d7888 r10 0xd228baf02165a49 r11 0x20976003d6bdb489 r12 0xffff80002a6c74a8 r13 0xdead4110dead4110 r14 0xdead4110dead4110 r15 0x8000110c __kernel_virt_to_phys+0x110c rip 0xffffffff81f2989f ktrops+0x4f cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002f56d610 ss 0x10 ktrops+0x4f: movq 0x8(%r14),%r14 ddb> show proc PROC (syz-executor.4) tid=315759 pid=87156 tcnt=2 stat=onproc flags process=8001000 proc=4080000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002e144a78 scnt=1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a6c67d8,0xffff80002a6df740 process=0xffff80002daed108 user=0xffff80002f568000, vmspace=0xfffffd807b644420 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87905 290347 54398 0 2 0x8000480 syz-executor.1 87905 250275 54398 0 2 0xc000000 syz-executor.1 87905 47606 54398 0 3 0xc000000 inode syz-executor.1 87905 236904 54398 0 3 0xc000000 inode syz-executor.1 87905 361669 54398 0 3 0xc000000 inode syz-executor.1 87905 185790 54398 0 3 0xc000000 inode syz-executor.1 87905 178790 54398 0 3 0xc000080 fsleep syz-executor.1 54560 20370 32095 60928 2 0x8000490 syz-executor.0 54560 179906 32095 60928 2 0xc000010 syz-executor.0 54560 390384 32095 60928 3 0xc000010 inode syz-executor.0 33179 260179 50348 0 2 0x8000000 syz-executor.6 33179 493058 50348 0 2 0xc000000 syz-executor.6 *87156 315759 90796 0 7 0xc081000 syz-executor.4 87156 741 90796 0 3 0xc003000 suspend syz-executor.4 79710 109552 21032 0 2 0x8000002 syz-executor.2 90796 40392 21032 0 3 0x8000082 nanoslp syz-executor.4 66677 421660 21032 0 2 0x8000002 syz-executor.3 31177 490078 21032 0 2 0x8000002 syz-executor.7 50348 396683 21032 0 2 0x8000482 syz-executor.6 44326 131980 21032 0 2 0x8000002 syz-executor.5 32095 383420 21032 0 3 0x8000082 nanoslp syz-executor.0 54398 266211 21032 0 3 0x8000082 nanoslp syz-executor.1 62059 359079 1 0 3 0x18100083 ttyin getty 87247 155747 0 0 3 0x14280 nfsidl nfsio 86451 432081 0 0 3 0x14280 nfsidl nfsio 66566 106513 0 0 3 0x14280 nfsidl nfsio 17295 149482 0 0 3 0x14280 nfsidl nfsio 22402 500394 0 0 3 0x14280 nfsidl nfsio 5143 357119 0 0 3 0x14280 nfsidl nfsio 60170 102988 0 0 3 0x14280 nfsidl nfsio 34920 498142 0 0 3 0x14280 nfsidl nfsio 95604 22860 0 0 3 0x14280 nfsidl nfsio 37609 55795 0 0 3 0x14280 nfsidl nfsio 93761 88532 0 0 3 0x14280 nfsidl nfsio 69296 104804 0 0 3 0x14280 nfsidl nfsio 75347 476545 0 0 3 0x14280 nfsidl nfsio 62576 335922 0 0 3 0x14280 nfsidl nfsio 91348 43104 0 0 3 0x14280 nfsidl nfsio 97675 433200 0 0 3 0x14280 nfsidl nfsio 34584 182825 0 0 3 0x14280 nfsidl nfsio 23727 420251 0 0 3 0x14280 nfsidl nfsio 37011 322046 0 0 3 0x14280 nfsidl nfsio 12344 263340 0 0 3 0x14280 nfsidl nfsio 2634 395069 0 0 3 0x14200 bored sosplice 21032 259680 51521 0 3 0x1a000082 wait syz-fuzzer 21032 28631 51521 0 3 0x1e000082 thrsleep syz-fuzzer 21032 287022 51521 0 3 0x1e000082 thrsleep syz-fuzzer 21032 66731 51521 0 3 0x1e000082 thrsleep syz-fuzzer 21032 385944 51521 0 3 0x1e000082 wait syz-fuzzer 21032 404802 51521 0 2 0x1e000082 syz-fuzzer 21032 508395 51521 0 3 0x1e000082 wait syz-fuzzer 21032 174137 51521 0 3 0x1e000082 wait syz-fuzzer 21032 180337 51521 0 3 0x1e000082 wait syz-fuzzer 21032 360060 51521 0 3 0x1e000082 thrsleep syz-fuzzer 21032 55718 51521 0 3 0x1e000082 wait syz-fuzzer 21032 3292 51521 0 3 0x1e000082 wait syz-fuzzer 21032 133299 51521 0 3 0x1e000082 wait syz-fuzzer 21032 493663 51521 0 3 0x1e000082 thrsleep syz-fuzzer 51521 53679 88016 0 3 0x810008a sigsusp ksh 88016 202844 87864 0 3 0x1800009a kqread sshd 87864 230148 1 0 3 0x18000088 kqread sshd 9464 399830 8554 73 2 0x19100010 syslogd 8554 155130 1 0 3 0x18100082 sbwait syslogd 60918 388582 1 0 3 0x18100080 kqread resolvd 28184 445140 9511 77 3 0x18100092 kqread dhcpleased 13526 217153 9511 77 3 0x18100092 kqread dhcpleased 9511 163992 1 0 3 0x18000080 kqread dhcpleased 72286 358244 0 0 2 0x14200 smr 33982 2925 0 0 2 0x14200 zerothread 70607 520953 0 0 3 0x14200 aiodoned aiodoned 39427 329609 0 0 3 0x14200 syncer update 56802 272723 0 0 3 0x14200 cleaner cleaner 50624 505795 0 0 3 0x14200 reaper reaper 30285 449890 0 0 3 0x14200 pgdaemon pagedaemon 34762 427323 0 0 3 0x14200 bored viomb 30035 341156 0 0 3 0x40014200 acpi0 acpi0 2623 489373 0 0 3 0x14200 bored softnet3 59444 469167 0 0 3 0x14200 bored softnet2 88590 378579 0 0 3 0x14200 bored softnet1 31532 117601 0 0 2 0x14200 softnet0 64599 276350 0 0 3 0x14200 bored systqmp 1057 23803 0 0 3 0x14200 bored systq 70688 144740 0 0 3 0x40014200 tmoslp softclock 40327 211130 0 0 3 0x40014200 idle0 1 16276 0 0 3 0x8000082 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 10186 6613K 6959K 166960K 14095 0 pcb 17 12K 12K 166960K 239 0 rtable 241 8K 8K 166960K 1846 0 pf 31 9K 9K 166960K 155 0 ifaddr 45 12K 12K 166960K 246 0 ifgroup 54 2K 2K 166960K 286 0 sysctl 3 0K 0K 166960K 4 0 counters 31 17K 17K 166960K 87 0 ioctlops 0 0K 2K 166960K 138 0 iov 0 0K 18K 166960K 81 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1442 91K 91K 166960K 3262 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 72K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 29 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 101K 166960K 1895 0 sigio 0 0K 0K 166960K 26 0 proc 58 59K 124K 166960K 1855 0 subproc 104 6K 7K 166960K 731 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 209 0 in_multi 99 7K 7K 166960K 630 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 1126 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 274 76K 100K 166960K 16430 0 UVM aobj 23 2K 2K 166960K 27 0 pinsyscall 34 68K 100K 166960K 4241 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 104 0 NDP 12 0K 2K 166960K 175 0 temp 78 6800K 6876K 166960K 76488 0 kqueue 14 18K 30K 166960K 225 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 308 0 305 3 0 3 3 0 8 2 rtentry 112 652 0 542 4 0 4 4 0 8 0 unpcb 144 1189 0 1172 2 0 2 2 0 8 1 syncache 336 9 0 9 1 0 1 1 0 8 1 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 14 0 14 1 0 1 1 0 8 1 tcpcb 808 453 0 447 5 0 5 5 0 8 4 arp 88 121 0 103 1 0 1 1 0 8 0 ipq 40 6 0 4 1 0 1 1 0 8 0 ipqe 40 51 0 49 1 0 1 1 0 8 0 inpcb 352 1860 0 1851 8 0 8 8 0 8 6 nd6 104 167 0 143 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 0 1 1 0 8 1 kcovpl 48 56 0 48 1 0 1 1 0 8 0 ppxss 1072 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2539 0 2082 48 19 29 30 0 8 0 art_table 32 2540 0 2082 4 0 4 4 0 8 0 art_node 16 648 0 548 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 24 0 4 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3758 0 2240 96 0 96 96 0 8 0 ffsino 240 3760 0 2240 90 0 90 90 0 8 0 nchpl 144 6231 0 5634 66 33 33 66 0 8 8 uvmvnodes 80 5411 0 0 111 0 111 111 0 8 0 vnodes 216 5411 0 0 301 0 301 301 0 8 0 namei 1024 25724 0 25714 3 0 3 3 0 8 1 vcpupl 3904 6 0 1 1 0 1 1 0 8 0 vmpool 664 11 0 6 1 0 1 1 0 8 0 kstatmem 264 136 0 112 2 0 2 2 0 8 0 scxspl 216 40909 0 40909 8 0 8 8 1 8 8 plimitpl 152 371 0 356 1 0 1 1 0 8 0 sigapl 424 2120 0 2058 9 0 9 9 0 8 0 futexpl 64 25076 0 25075 1 0 1 1 0 8 0 knotepl 120 22780 0 22697 16 4 12 16 0 8 8 kqueuepl 184 378 0 366 1 0 1 1 0 8 0 pipepl 288 487 0 459 3 0 3 3 0 8 0 fdescpl 432 2081 0 2056 5 0 5 5 0 8 0 filepl 120 12781 0 12522 13 0 13 13 0 8 5 lockfpl 104 509 0 507 1 0 1 1 0 8 0 lockfspl 48 225 0 223 1 0 1 1 0 8 0 sessionpl 144 70 0 54 1 0 1 1 0 8 0 pgrppl 48 99 0 83 1 0 1 1 0 8 0 ucredpl 104 1829 0 1816 1 0 1 1 0 8 0 zombiepl 144 2059 0 2058 1 0 1 1 0 8 0 processpl 1080 2120 0 2058 6 0 6 6 0 8 0 procpl 656 3550 0 3464 9 0 9 9 0 8 1 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 504 3388 0 3359 19 8 11 14 0 8 7 mcl64k 65536 70 0 70 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 53 0 53 1 0 1 1 0 8 1 mcl4k 4096 29 0 29 1 0 1 1 0 8 1 mcl2k 2048 19626 0 19526 54 33 21 54 0 8 7 mtagpl 96 64 0 63 1 0 1 1 0 8 0 mbufpl 256 44107 0 43904 47 26 21 32 0 8 7 bufpl 280 9807 0 2966 489 0 489 489 0 8 0 anonpl 24 424223 0 418520 117 0 117 117 0 188 62 amapchunkpl 152 54881 0 54225 58 0 58 58 0 158 30 amappl16 200 10022 0 9906 26 6 20 24 0 8 7 amappl15 192 12 0 12 1 0 1 1 0 8 1 amappl14 184 326 0 315 2 0 2 2 0 8 1 amappl13 176 12 0 12 1 0 1 1 0 8 1 amappl12 168 3405 0 3378 2 0 2 2 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 115 0 104 1 0 1 1 0 8 0 amappl9 144 227 0 227 1 0 1 1 0 8 1 amappl8 136 325 0 295 2 0 2 2 0 8 0 amappl7 128 55 0 42 1 0 1 1 0 8 0 amappl6 120 907 0 893 2 0 2 2 0 8 1 amappl5 112 352 0 337 1 0 1 1 0 8 0 amappl4 104 759 0 729 2 0 2 2 0 8 1 amappl3 96 10082 0 10002 3 0 3 3 0 8 0 amappl2 88 2659 0 2585 4 0 4 4 0 8 2 amappl1 80 17862 0 17381 22 3 19 22 0 8 6 amappl 88 15469 0 15283 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 26 0 4 1 0 1 1 0 8 0 uaddrrnd 24 2092 0 2062 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2092 0 2062 1 0 1 1 0 8 0 vmmpekpl 168 19730 0 19671 4 0 4 4 0 8 0 vmmpepl 168 158460 0 156713 115 0 115 115 0 357 29 vmsppl 344 2091 0 2062 4 0 4 4 0 8 0 rwobjpl 24 49437 0 42945 40 0 40 40 0 8 0 pdppl 4096 4190 0 4129 224 142 82 86 0 8 21 pvpl 32 1063435 0 1051781 397 47 350 397 0 265 222 pmappl 216 2091 0 2062 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 601 0 228 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f sys/kern/kern_ktrace.c:561 doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a6c74a8,ffff80002f56d970,ffff80002f56d8c0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002f56d970) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x414645a8100, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a6c74a8,dead4110dead4110,0,8000110c,fffffd805e3ede58,fffffd807f7d7888) at ktrops+0x4f sys/kern/kern_ktrace.c:561 doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805e3ede58,4,110c,0,ffff80002a6c74a8) at doktrace+0x514 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a6c74a8,ffff80002f56d970,ffff80002f56d8c0) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002f56d970) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x414645a8100, count: -5