uvm_fault(0xffffffff838d4620, 0xffff8000014db000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 59186 48962 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002f126ed8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014daf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002f1272f0,ffff8000014daf00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002f1272f0,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 sys/net/if.c:2454 sys_ioctl(ffff80003c9939c8,ffff80002f1274d0,ffff80002f127420) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff80002f1274d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f1274d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x429d5156fc0, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff838d4620, 0xffff8000014db000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002f126ed8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014daf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002f1272f0,ffff8000014daf00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002f1272f0,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 sys/net/if.c:2454 sys_ioctl(ffff80003c9939c8,ffff80002f1274d0,ffff80002f127420) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff80002f1274d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f1274d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x429d5156fc0, count: -9 ddb> show registers rdi 0xfffffd8066732948 rsi 0xffff8000014db000 rbp 0xffff80002f126e50 rbx 0xfffffd8066767500 rdx 0xf9 rcx 0xe rax 0x7d8065257948 r8 0x2 r9 0x8080808080808080 r10 0xd87af524efb96305 r11 0xfffffd80667328c0 r12 0 r13 0xf9 r14 0xf9 r15 0xc0 rip 0xffffffff823666f9 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f126da8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=59186 pid=48962 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c992548,0xffff80003c992038 process=0xffff80003c976020 user=0xffff80002f122000, vmspace=0xfffffd806bbbe5d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87630 117123 22266 0 2 0 syz-executor 87630 462269 22266 0 3 0x4000080 fsleep syz-executor 48962 333796 79638 0 2 0 syz-executor *48962 59186 79638 0 7 0x4000000 syz-executor 48962 10658 79638 0 3 0x4000080 fsleep syz-executor 48962 233583 79638 0 3 0x4000080 fsleep syz-executor 87842 7913 46290 0 2 0 syz-executor 87842 297726 46290 0 3 0x4000080 fsleep syz-executor 1095 343754 30069 0 2 0 syz-executor 1095 342955 30069 0 3 0x4000080 kqsel syz-executor 1095 473624 30069 0 3 0x4000080 fsleep syz-executor 58145 153099 33986 0 2 0 syz-executor 58145 364799 33986 0 3 0x4000080 fsleep syz-executor 58145 330159 33986 0 3 0x4000080 fsleep syz-executor 30568 143620 7449 60928 2 0xc90 syz-executor 30568 323703 7449 60928 3 0x4000090 kqread syz-executor 30568 502792 7449 60928 3 0x4000090 fsleep syz-executor 79638 17335 91184 0 2 0xc82 syz-executor 46290 192525 91184 0 2 0xc82 syz-executor 33986 184918 91184 0 3 0x82 nanoslp syz-executor 22266 8031 91184 0 2 0xc82 syz-executor 7449 455711 91184 0 2 0xc82 syz-executor 80134 182370 91184 0 2 0xc82 syz-executor 49799 377219 91184 0 3 0x82 nanoslp syz-executor 30069 301238 91184 0 3 0x82 nanoslp syz-executor 91184 1994 36848 0 3 0x82 kqread syz-executor 36848 286343 38476 0 3 0x10008a sigsusp ksh 38476 270556 42205 0 3 0x98 kqread sshd-session 42205 342170 3922 0 3 0x92 kqread sshd-session 15856 179668 1 0 3 0x100083 ttyin getty 3922 73915 1 0 3 0x88 kqread sshd 34398 152949 39091 73 3 0x1100090 kqread syslogd 39091 305955 1 0 3 0x100082 sbwait syslogd 48142 313989 1 0 3 0x100080 kqread resolvd 9818 295679 52916 77 2 0x100092 dhcpleased 22182 76262 52916 77 3 0x100092 kqread dhcpleased 52916 49660 1 0 3 0x80 kqread dhcpleased 67713 408369 0 0 3 0x14200 bored smr 9758 391804 0 0 2 0x14200 zerothread 11696 8534 0 0 3 0x14200 aiodoned aiodoned 59246 136066 0 0 3 0x14200 syncer update 76628 15958 0 0 3 0x14200 cleaner cleaner 70112 89665 0 0 3 0x14200 reaper reaper 58860 293211 0 0 3 0x14200 pgdaemon pagedaemon 57331 126507 0 0 3 0x14200 bored viomb 95007 395958 0 0 3 0x40014200 acpi0 acpi0 10981 480404 0 0 3 0x14200 bored softnet7 24742 406667 0 0 3 0x14200 bored softnet6 4866 214919 0 0 3 0x14200 bored softnet5 50777 138510 0 0 3 0x14200 bored softnet4 29190 502343 0 0 3 0x14200 bored softnet3 88780 303049 0 0 3 0x14200 bored softnet2 11165 90011 0 0 3 0x14200 bored softnet1 44372 489518 0 0 3 0x14200 bored softnet0 49448 354302 0 0 3 0x14200 smrbar systqmp 54992 225815 0 0 3 0x14200 bored systq 44047 213006 0 0 2 0x40014200 softclock 21907 431618 0 0 3 0x40014200 idle0 1 187965 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 10191 11187K 11380K 166960K 11369 0 pcb 85 16K 16K 166960K 104 0 rtable 175 9K 11K 166960K 513 0 pf 31 13K 16K 166960K 231 0 ifaddr 36 6K 7K 166960K 46 0 ifgroup 50 2K 2K 166960K 54 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 17K 166960K 33 0 ioctlops 0 0K 4K 166960K 100 0 iov 0 0K 14K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1374 86K 87K 166960K 1417 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 167 0 proc 61 67K 100K 166960K 479 0 subproc 72 4K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 12 0 in_multi 77 5K 7K 166960K 102 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 346 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 151K 158K 166960K 3022 0 UVM aobj 3 2K 2K 166960K 4 0 pinsyscall 39 78K 95K 166960K 1189 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 23 1K 2K 166960K 28 0 temp 39 8666K 8730K 166960K 4760 0 kqueue 15 24K 28K 166960K 33 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 42 0 38 1 0 1 1 0 8 0 rtentry 136 99 0 30 4 0 4 4 0 8 0 unpcb 144 58 0 40 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 26 0 18 2 0 2 2 0 8 1 arp 88 10 0 2 1 0 1 1 0 8 0 inpcb 328 164 0 78 8 0 8 8 0 8 0 nd6 104 17 0 4 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 99 0 99 1 0 1 1 0 8 1 pfanchor 1288 33 0 33 1 0 1 1 0 8 1 pfrule 1344 33 0 33 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 476 0 0 30 0 30 30 0 8 0 art_table 40 479 0 0 5 0 5 5 0 8 0 art_node 32 99 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 1 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1602 0 99 95 0 95 95 0 8 0 ffsino 256 1602 0 99 95 0 95 95 0 8 0 nchpl 144 1830 0 146 63 0 63 63 0 8 0 uvmvnodes 80 1736 0 0 36 0 36 36 0 8 0 vnodes 216 1736 0 0 97 0 97 97 0 8 0 namei 1024 5513 0 5513 2 0 2 2 0 8 2 pfiaddrpl 120 33 0 33 1 0 1 1 0 8 1 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 6436 0 6436 8 0 8 8 1 8 8 plimitpl 152 98 0 81 1 0 1 1 0 8 0 sigapl 424 448 0 398 7 0 7 7 0 8 0 knotepl 120 12750 0 12448 10 0 10 10 0 8 0 kqueuepl 184 32 0 19 1 0 1 1 0 8 0 pipepl 304 100 0 73 3 0 3 3 0 8 0 fdescpl 448 428 0 398 5 0 5 5 0 8 1 filepl 120 1632 0 1334 10 0 10 10 0 8 0 lockfpl 104 32 0 29 1 0 1 1 0 8 0 lockfspl 48 13 0 10 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 124 0 112 1 0 1 1 0 8 0 zombiepl 144 400 0 398 1 0 1 1 0 8 0 processpl 1168 448 0 398 5 0 5 5 0 8 1 procpl 656 501 0 440 6 0 6 6 0 8 0 sockpl 552 265 0 157 8 0 8 8 0 8 0 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2466 0 2417 12 0 12 12 0 8 5 mcl2k 2048 218 0 186 5 0 5 5 0 8 1 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 4216 0 4014 13 0 13 13 0 8 0 bufpl 280 2888 0 118 198 0 198 198 0 8 0 anonpl 24 98095 0 93842 27 0 27 27 0 187 0 amapchunkpl 152 8785 0 8198 23 0 23 23 0 158 0 amappl16 200 1771 0 1752 5 0 5 5 0 8 3 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 102 0 92 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1036 0 1006 3 0 3 3 0 8 1 amappl11 160 73 0 63 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 261 0 260 1 0 1 1 0 8 0 amappl8 136 28 0 27 1 0 1 1 0 8 0 amappl7 128 110 0 100 1 0 1 1 0 8 0 amappl6 120 173 0 169 1 0 1 1 0 8 0 amappl5 112 118 0 112 1 0 1 1 0 8 0 amappl4 104 284 0 267 1 0 1 1 0 8 0 amappl3 96 1388 0 1270 3 0 3 3 0 8 0 amappl2 88 608 0 554 2 0 2 2 0 8 0 amappl1 80 8034 0 7472 13 0 13 13 0 8 0 amappl 88 2387 0 2214 4 0 4 4 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 3 0 1 1 0 1 1 0 8 0 uaddrrnd 24 428 0 398 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 428 0 398 1 0 1 1 0 8 0 vmmpekpl 168 4942 0 4921 2 0 2 2 0 8 0 vmmpepl 168 34035 0 32143 83 0 83 83 0 357 0 vmsppl 368 427 0 398 4 0 4 4 0 8 1 rwobjpl 40 13893 0 11299 27 0 27 27 0 8 0 pdppl 4096 862 0 796 94 14 80 80 0 8 14 pvpl 32 218497 0 206959 96 0 96 96 0 265 2 pmappl 216 427 0 398 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 375 0 14 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002f126ed8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014daf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002f1272f0,ffff8000014daf00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002f1272f0,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 sys/net/if.c:2454 sys_ioctl(ffff80003c9939c8,ffff80002f1274d0,ffff80002f127420) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff80002f1274d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f1274d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x429d5156fc0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002f126ed8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014daf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002f1272f0,ffff8000014daf00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002f1272f0,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000149a690,8080691a,ffff80002f1272f0,ffff80003c9939c8) at ifioctl+0x1519 sys/net/if.c:2454 sys_ioctl(ffff80003c9939c8,ffff80002f1274d0,ffff80002f127420) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff80002f1274d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f1274d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x429d5156fc0, count: -9