login: uvm_fault(0xffffffff8227bb70, 0xffff800000a26000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at strlcpy+0xcf: movzbl 0xffffffffffffffff(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xffffffff8227bb70, 0xffff800000a26000, 0, 1) -> e strlcpy(ffff8000009de6d0,ffff800000a25eca,20) at strlcpy+0xcf sys/lib/libkern/strlcpy.c:44 end trace frame: 0xffff8000159f84b0, count: 0 ddb> trace strlcpy(ffff8000009de6d0,ffff800000a25eca,20) at strlcpy+0xcf sys/lib/libkern/strlcpy.c:44 rtlabel_name2id(ffff800000a25eca) at rtlabel_name2id+0x13d sys/net/route.c:1541 rtm_output(ffff800000a25e00,ffff8000159f8608,ffff8000159f8560,40,0) at rtm_output+0xaf9 sys/net/rtsock.c:1119 route_output(fffffd803014b800,fffffd80363e0d88,0,0) at route_output+0x7d7 sys/net/rtsock.c:814 route_usrreq(fffffd80363e0d88,9,fffffd803014b800,0,0,ffff8000ffff5780) at route_usrreq+0x363 sys/net/rtsock.c:271 sosend(fffffd80363e0d88,0,ffff8000159f8800,0,0,80) at sosend+0x660 sys/kern/uipc_socket.c:513 sendit(ffff8000ffff5780,3,ffff8000159f88e0,0,ffff8000159f89f0) at sendit+0x53c sys/kern/uipc_syscalls.c:662 sys_sendto(ffff8000ffff5780,ffff8000159f8988,ffff8000159f89f0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff8000159f8a60) at syscall+0x511 Xsyscall(6,0,ffffffffffffffd8,0,6,485c0252010) at Xsyscall+0x128 end of kernel end trace frame: 0x487d42ddbc0, count: -10 ddb> show registers rdi 0xffffffff817c6b95 strlcpy+0xc5 rsi 0x348 rbp 0xffff8000159f8460 rbx 0xffff800000a26001 rdx 0x349 rcx 0xffff8000149f3000 rax 0xffff8000149f3000 r8 0x38 r9 0x5 r10 0x413a9082e13c90b7 r11 0x447d8866d11c71d9 r12 0 r13 0xd9 r14 0xffff800000a25eca r15 0xff rip 0xffffffff817c6b9f strlcpy+0xcf cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff8000159f8410 ss 0x10 strlcpy+0xcf: movzbl 0xffffffffffffffff(%rbx),%r15d ddb> show proc PROC (syz-executor.1) pid=156119 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff9520,0xffffffff822ca0f0 process=0xffff8000ffff7a50 user=0xffff8000159f3000, vmspace=0xfffffd803f013b58 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16887 188851 50204 0 2 0 syz-executor.1 *16887 156119 50204 0 7 0x4000000 syz-executor.1 79697 443160 41552 0 2 0 syz-executor.0 79697 3255 41552 0 3 0x4000080 fsleep syz-executor.0 467 191281 1 0 3 0x100083 ttyin getty 9854 303047 0 0 3 0x14200 bored sosplice 41552 52486 14375 0 3 0x82 nanosleep syz-executor.0 50204 382926 14375 0 3 0x82 nanosleep syz-executor.1 14375 21426 18778 0 3 0x82 thrsleep syz-fuzzer 14375 97824 18778 0 3 0x4000082 thrsleep syz-fuzzer 14375 104928 18778 0 3 0x4000082 thrsleep syz-fuzzer 14375 207683 18778 0 3 0x4000082 kqread syz-fuzzer 14375 34199 18778 0 3 0x4000082 thrsleep syz-fuzzer 14375 479046 18778 0 3 0x4000082 thrsleep syz-fuzzer 14375 433382 18778 0 3 0x4000082 thrsleep syz-fuzzer 18778 168265 73721 0 3 0x10008a pause ksh 73721 454996 34472 0 3 0x92 select sshd 34472 520393 1 0 3 0x80 select sshd 67537 347253 58043 73 2 0x100090 syslogd 58043 244004 1 0 3 0x100082 netio syslogd 13889 370256 1 77 3 0x100090 poll dhclient 420 435973 1 0 3 0x80 poll dhclient 56996 49425 0 0 2 0x14200 zerothread 56276 125257 0 0 3 0x14200 aiodoned aiodoned 32898 456122 0 0 3 0x14200 syncer update 84178 92204 0 0 3 0x14200 cleaner cleaner 46792 84540 0 0 3 0x14200 reaper reaper 23914 483518 0 0 3 0x14200 pgdaemon pagedaemon 19818 383664 0 0 3 0x14200 bored crynlk 30783 184079 0 0 3 0x14200 bored crypto 84073 384074 0 0 3 0x40014200 acpi0 acpi0 20521 175954 0 0 3 0x14200 bored softnet 89813 102233 0 0 3 0x14200 bored systqmp 88233 101049 0 0 3 0x14200 bored systq 46632 355340 0 0 3 0x40014200 bored softclock 51904 504670 0 0 3 0x40014200 idle0 77153 384048 0 0 3 0x14200 bored smr 1 356111 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 Kern Lim devbuf 9503 6350K 7055K 78643K 12947 0 0 pcb 26 9K 10K 78643K 825 0 0 rtable 119 5K 5K 78643K 517 0 0 ifaddr 56 13K 14K 78643K 196 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 71 0 0 iov 0 0K 28K 78643K 267 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1210 76K 77K 78643K 2529 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 11 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 112 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 6 17K 25K 78643K 1631 0 0 sigio 0 0K 0K 78643K 24 0 0 proc 42 30K 54K 78643K 498 0 0 subproc 32 2K 2K 78643K 36 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 199 0 0 in_multi 33 2K 2K 78643K 121 0 0 ether_multi 1 0K 0K 78643K 17 0 0 mrt 0 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 322 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 79 20K 29K 78643K 4685 0 0 UVM aobj 54 2K 2K 78643K 60 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 54 0 0 NDP 11 0K 0K 78643K 52 0 0 temp 167 2715K 2783K 78643K 7697 0 0 kqueue 0 0K 0K 78643K 8 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 inpcbpl 280 658 0 651 1 0 1 1 0 8 0 plimitpl 152 59 0 52 1 0 1 1 0 8 0 rtentry 112 59 0 14 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 260 0 256 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 29 0 29 7 6 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 194 0 0 13 0 13 13 0 8 0 art_table 32 195 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 110 0 100 1 0 1 1 0 8 0 shmpl 112 58 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4293 0 2864 47 0 47 47 0 8 0 ffsino 240 4293 0 2864 85 0 85 85 0 8 0 nchpl 144 6790 0 5157 61 0 61 61 0 8 0 uvmvnodes 72 4946 0 0 90 0 90 90 0 8 0 vnodes 200 4946 0 0 261 0 261 261 0 8 0 namei 1024 20528 0 20528 2 1 1 1 0 8 1 scsiplug 64 11 0 11 6 6 0 1 0 8 0 scxspl 192 20899 0 20899 13 12 1 5 0 8 1 sigapl 432 1805 0 1791 2 0 2 2 0 8 0 futexpl 56 25451 0 25450 1 0 1 1 0 8 0 knotepl 112 324 0 305 1 0 1 1 0 8 0 kqueuepl 104 372 0 370 1 0 1 1 0 8 0 pipepl 112 1118 0 1099 4 3 1 2 0 8 0 fdescpl 424 1806 0 1791 2 0 2 2 0 8 0 filepl 120 11123 0 11024 5 1 4 5 0 8 0 lockfpl 104 659 0 659 2 1 1 1 0 8 1 lockfspl 48 229 0 229 2 1 1 1 0 8 1 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 42 0 32 1 0 1 1 0 8 0 ucredpl 96 2904 0 2897 1 0 1 1 0 8 0 zombiepl 144 1791 0 1791 2 1 1 1 0 8 1 processpl 840 1821 0 1791 4 0 4 4 0 8 0 procpl 600 3951 0 3913 4 0 4 4 0 8 1 sosppl 128 20 0 20 4 4 0 1 0 8 0 sockpl 384 1402 0 1382 3 0 3 3 0 8 1 mcl64k 65536 44 0 44 7 6 1 1 0 8 1 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 17 0 17 5 4 1 1 0 8 1 mcl9k 9216 27 0 27 6 5 1 1 0 8 1 mcl8k 8192 13 0 13 6 5 1 1 0 8 1 mcl4k 4096 64 0 64 2 1 1 1 0 8 1 mcl2k2 2112 9 0 9 5 4 1 1 0 8 1 mcl2k 2048 52866 0 52825 11 5 6 10 0 8 0 mtagpl 80 5 0 5 3 3 0 1 0 8 0 mbufpl 256 93863 0 93792 14 8 6 9 0 8 0 bufpl 256 10128 0 5595 284 0 284 284 0 8 0 anonpl 16 156345 0 147349 92 39 53 53 0 62 16 amapchunkpl 152 7522 0 7438 21 16 5 9 0 158 0 amappl16 192 8787 0 8304 65 28 37 37 0 8 12 amappl14 176 841 0 837 2 1 1 1 0 8 0 amappl12 160 17 0 15 1 0 1 1 0 8 0 amappl11 152 54 0 40 1 0 1 1 0 8 0 amappl10 144 863 0 858 1 0 1 1 0 8 0 amappl9 136 546 0 543 1 0 1 1 0 8 0 amappl8 128 136 0 120 1 0 1 1 0 8 0 amappl7 120 823 0 818 1 0 1 1 0 8 0 amappl6 112 52 0 45 1 0 1 1 0 8 0 amappl5 104 141 0 131 1 0 1 1 0 8 0 amappl4 96 1963 0 1941 1 0 1 1 0 8 0 amappl3 88 1028 0 1017 1 0 1 1 0 8 0 amappl2 80 13766 0 13690 4 2 2 3 0 8 0 amappl1 72 40358 0 39932 25 15 10 19 0 8 0 amappl 80 4187 0 4153 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 59 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1806 0 1791 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1806 0 1791 1 0 1 1 0 8 0 vmmpekpl 168 14140 0 14114 2 0 2 2 0 8 0 vmmpepl 168 186402 0 184866 119 40 79 79 0 357 12 vmsppl 264 1805 0 1791 2 1 1 2 0 8 0 pdppl 4096 3618 0 3582 6 1 5 6 0 8 0 pvpl 32 450874 0 438780 207 72 135 135 0 265 36 pmappl 200 1805 0 1791 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 439 0 31 12 0 12 12 0 8 0