e kernel: page fault trap, code=0 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *207882 53907 -1 0x10 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c97ac78) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014eaf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c97b090,ffff8000014eaf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c97b090,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80002a8a2038,ffff80003c97b260,ffff80003c97b1b0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c97b260) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97b260) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6060e7dbb80, 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(0xffffffff83979d50, 0xffff8000014eb000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c97ac78) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014eaf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c97b090,ffff8000014eaf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c97b090,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80002a8a2038,ffff80003c97b260,ffff80003c97b1b0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c97b260) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97b260) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6060e7dbb80, count: -9 ddb> show registers rdi 0xfffffd805fb5d948 rsi 0xffff8000014eb000 rbp 0xffff80003c97abf0 rbx 0 rdx 0xf9 rcx 0xe rax 0x7d805e672948 r8 0x2 r9 0x8080808080808080 r10 0x796c01a9d970c6ae r11 0xfffffd805fb5d8c0 r12 0xf9 r13 0xf9 r14 0xc0 r15 0xfffffd805fa3e900 rip 0xffffffff825bb829 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c97ab48 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=207882 pid=53907 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800036953cb0,0xffff80002a8a2fd8 process=0xffff800036954028 user=0xffff80003c976000, vmspace=0xfffffd8060f99018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 96307 36610 58352 0 2 0 syz-executor 96307 388053 58352 0 3 0x4000080 fsleep syz-executor 53907 304794 9695 -1 2 0x10 syz-executor *53907 207882 9695 -1 7 0x4000010 syz-executor 2858 521307 84429 0 2 0 syz-executor 2858 161611 84429 0 3 0x4000080 fsleep syz-executor 25945 25173 16752 0 3 0x80 nanoslp syz-executor 25945 100133 16752 0 3 0x4000000 smrbar syz-executor 10114 484230 29803 0 3 0x80 nanoslp syz-executor 10114 484581 29803 0 3 0x4000080 fifor syz-executor 10114 380251 29803 0 3 0x4000080 fsleep syz-executor 70957 35316 74149 0 2 0xc80 syz-executor 70957 522158 74149 0 3 0x4000080 netcon syz-executor 70957 27180 74149 0 3 0x4000080 netacc syz-executor 70957 125484 74149 0 3 0x4000080 fsleep syz-executor 9695 421829 90772 0 2 0xc82 syz-executor 73199 415207 0 0 3 0x14280 nfsidl nfsio 62455 107370 0 0 3 0x14280 nfsidl nfsio 91132 116096 0 0 3 0x14280 nfsidl nfsio 6605 198468 0 0 3 0x14280 nfsidl nfsio 96346 217095 0 0 3 0x14280 nfsidl nfsio 77751 181276 0 0 3 0x14280 nfsidl nfsio 9880 184874 0 0 3 0x14280 nfsidl nfsio 26426 270378 0 0 3 0x14280 nfsidl nfsio 37572 290418 0 0 3 0x14280 nfsidl nfsio 84734 388879 0 0 3 0x14280 nfsidl nfsio 67598 368070 0 0 3 0x14280 nfsidl nfsio 24860 252234 0 0 3 0x14280 nfsidl nfsio 27979 389031 0 0 3 0x14280 nfsidl nfsio 38772 431922 0 0 3 0x14280 nfsidl nfsio 19319 345586 0 0 3 0x14280 nfsidl nfsio 65585 35862 0 0 3 0x14280 nfsidl nfsio 70056 218116 0 0 3 0x14280 nfsidl nfsio 28030 80979 0 0 3 0x14280 nfsidl nfsio 75979 428270 0 0 3 0x14280 nfsidl nfsio 19869 316924 0 0 3 0x14280 nfsidl nfsio 79063 399938 0 0 3 0x14200 bored sosplice 74149 70421 90772 0 3 0x82 nanoslp syz-executor 16752 503758 90772 0 3 0x82 nanoslp syz-executor 33682 35193 90772 0 2 0x2 syz-executor 77406 168194 90772 0 2 0x2 syz-executor 29803 162903 90772 0 3 0x82 nanoslp syz-executor 58352 475891 90772 0 2 0xc82 syz-executor 84429 396177 90772 0 2 0xc82 syz-executor 90772 271151 43165 0 3 0x82 kqread syz-executor 43165 109402 55443 0 3 0x10008a sigsusp ksh 55443 265991 91379 0 3 0x98 kqread sshd-session 91379 332667 1973 0 3 0x92 kqread sshd-session 26755 136560 1 0 3 0x100083 ttyin getty 1973 163592 1 0 3 0x88 kqread sshd 61827 24604 81414 73 3 0x1100090 kqread syslogd 81414 510499 1 0 3 0x100082 sbwait syslogd 9919 193163 1 0 3 0x100080 kqread resolvd 6847 267256 7463 77 2 0x100092 dhcpleased 63748 131496 7463 77 3 0x100092 kqread dhcpleased 7463 188417 1 0 3 0x80 kqread dhcpleased 23828 364801 0 0 3 0x14200 bored smr 17653 96346 0 0 2 0x14200 zerothread 72856 495134 0 0 3 0x14200 aiodoned aiodoned 5181 484689 0 0 3 0x14200 syncer update 49483 428680 0 0 3 0x14200 cleaner cleaner 98324 70570 0 0 3 0x14200 reaper reaper 73873 61527 0 0 3 0x14200 pgdaemon pagedaemon 87308 419555 0 0 3 0x14200 bored viomb 82655 123267 0 0 3 0x40014200 acpi0 acpi0 83807 136103 0 0 3 0x14200 bored softnet7 26547 191201 0 0 3 0x14200 bored softnet6 60229 252773 0 0 3 0x14200 bored softnet5 18194 114205 0 0 3 0x14200 bored softnet4 73810 341362 0 0 3 0x14200 bored softnet3 17507 216637 0 0 3 0x14200 bored softnet2 83248 18039 0 0 3 0x14200 bored softnet1 92951 359641 0 0 3 0x14200 bored softnet0 18884 282205 0 0 3 0x14200 bored systqmp 81036 406760 0 0 3 0x14200 bored systq 64798 273856 0 0 3 0x40014200 tmoslp softclock 49802 471076 0 0 3 0x40014200 idle0 1 288885 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10204 11063K 11420K 166960K 12483 0 pcb 20 12K 12K 166960K 168 0 rtable 168 9K 9K 166960K 404 0 pf 36 14K 20K 166960K 224 0 ifaddr 38 7K 8K 166960K 152 0 ifgroup 52 2K 2K 166960K 238 0 sysctl 3 1K 9K 166960K 15 0 counters 34 17K 18K 166960K 184 0 ioctlops 0 0K 4K 166960K 192 0 iov 0 0K 20K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1340 84K 85K 166960K 2055 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 2K 166960K 74 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 963 0 sigio 0 0K 0K 166960K 4 0 proc 62 59K 124K 166960K 519 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 141 0 in_multi 70 5K 6K 166960K 165 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 38 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 383 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 226 151K 168K 166960K 9526 0 UVM aobj 9 2K 4K 166960K 10 0 pinsyscall 37 74K 96K 166960K 2041 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 42 0 NDP 12 0K 1K 166960K 107 0 temp 58 8639K 8703K 166960K 12154 0 kqueue 13 20K 26K 166960K 139 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 64 0 61 1 0 1 1 0 8 0 rtentry 136 146 0 83 3 0 3 3 0 8 0 unpcb 144 285 0 267 1 0 1 1 0 8 0 syncache 336 10 0 10 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 172 0 163 2 0 2 2 0 8 1 arp 88 14 0 5 1 0 1 1 0 8 0 inpcb 328 755 0 739 2 0 2 2 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 1 1 0 1 1 0 8 0 nd6 104 18 0 8 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 141 0 139 1 0 1 1 0 8 0 pppxif 1384 9 0 9 1 0 1 1 0 8 1 pfosfp 40 11 0 7 1 0 1 1 0 8 0 pfosfpen 112 11 0 7 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 6 1 0 1 1 0 8 0 pfstate 384 5 0 3 1 0 1 1 0 8 0 pfrule 1344 4 0 4 1 0 1 1 0 8 1 rttmr 136 5 0 5 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 717 0 410 25 0 25 25 0 8 3 art_table 40 720 0 410 5 0 5 5 0 8 0 art_node 32 145 0 91 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 15 1 0 1 1 0 8 0 semupl 112 15 0 15 1 0 1 1 0 8 1 semapl 112 57 0 47 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3097 0 1598 95 0 95 95 0 8 0 ffsino 256 3097 0 1598 95 0 95 95 0 8 0 nchpl 144 4139 0 2458 63 0 63 63 0 8 0 rtmask 32 55 0 54 1 0 1 1 0 8 0 uvmvnodes 80 3469 0 0 71 0 71 71 0 8 0 vnodes 216 3469 0 0 193 0 193 193 0 8 0 namei 1024 11189 0 11187 2 0 2 2 0 8 1 kstatmem 264 176 0 152 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 19329 0 19329 8 0 8 8 1 8 8 plimitpl 152 126 0 110 1 0 1 1 0 8 0 sigapl 424 1270 0 1201 9 0 9 9 0 8 0 knotepl 120 59646 0 59598 35 20 15 15 0 8 13 kqueuepl 184 308 0 297 1 0 1 1 0 8 0 pipepl 304 116 0 89 3 0 3 3 0 8 0 fdescpl 448 1228 0 1200 5 0 5 5 0 8 1 filepl 120 4573 0 4357 8 0 8 8 0 8 1 lockfpl 104 187 0 184 1 0 1 1 0 8 0 lockfspl 48 94 0 91 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 573 0 561 1 0 1 1 0 8 0 zombiepl 144 1201 0 1201 1 0 1 1 0 8 1 processpl 1152 1270 0 1201 6 0 6 6 0 8 0 procpl 664 2211 0 2133 8 0 8 8 0 8 0 sosppl 168 28 0 28 1 0 1 1 0 8 1 sockpl 552 1122 0 1085 4 0 4 4 0 8 0 mcl64k 65536 254 0 254 1 0 1 1 0 8 1 mcl16k 16384 78 0 78 1 0 1 1 0 8 1 mcl12k 12288 38 0 38 1 0 1 1 0 8 1 mcl9k 9216 13 0 13 1 0 1 1 0 8 1 mcl8k 8192 88 0 88 1 0 1 1 0 8 1 mcl4k 4096 3910 0 3860 15 0 15 15 0 8 8 mcl2k2 2112 8 0 8 1 0 1 1 0 8 1 mcl2k 2048 953 0 948 2 0 2 2 0 8 0 mtagpl 96 21 0 8 1 0 1 1 0 8 0 mbufpl 256 108793 0 108640 17 0 17 17 0 8 4 bufpl 280 10188 0 3960 445 0 445 445 0 8 0 anonpl 24 154983 0 151382 67 0 67 67 0 187 31 amapchunkpl 152 29955 0 29470 24 0 24 24 0 158 3 amappl16 200 2651 0 2627 36 25 11 25 0 8 8 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 0 1 1 0 8 1 amappl12 168 1852 0 1824 2 0 2 2 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 54 0 52 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 199 0 196 1 0 1 1 0 8 0 amappl5 112 115 0 108 1 0 1 1 0 8 0 amappl4 104 282 0 264 1 0 1 1 0 8 0 amappl3 96 6344 0 6241 3 0 3 3 0 8 0 amappl2 88 678 0 622 2 0 2 2 0 8 0 amappl1 80 12887 0 12339 15 0 15 15 0 8 1 amappl 88 8801 0 8640 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 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 9 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1228 0 1200 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1228 0 1200 1 0 1 1 0 8 0 vmmpekpl 168 10128 0 10094 2 0 2 2 0 8 0 vmmpepl 168 79821 0 78009 102 0 102 102 0 357 17 vmsppl 368 1227 0 1200 4 0 4 4 0 8 1 rwobjpl 40 24912 0 20595 45 0 45 45 0 8 0 pdppl 4096 2462 0 2400 100 34 66 82 0 8 4 pvpl 32 542377 0 533354 145 0 145 145 0 265 48 pmappl 216 1227 0 1200 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 375 0 34 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c97ac78) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014eaf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c97b090,ffff8000014eaf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c97b090,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80002a8a2038,ffff80003c97b260,ffff80003c97b1b0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c97b260) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97b260) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6060e7dbb80, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c97ac78) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014eaf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c97b090,ffff8000014eaf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c97b090,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014a5380,8080691a,ffff80003c97b090,ffff80002a8a2038) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80002a8a2038,ffff80003c97b260,ffff80003c97b1b0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c97b260) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97b260) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6060e7dbb80, count: -9