uvm_fault(0xffffffff8396fd38, 0xffff8000015ba000, 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 *115884 11707 0 0 0x4000000 0K syz-executor 213502 99258 77 0x100012 0x1 1 dhcpleased memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c4ece78) at rtm_msg1+0x306 sys/net/rtsock.c:1647 rtm_addr(14,ffff8000015b9f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b2c000,ffff80003c4ed290,ffff8000015b9f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:743 in6_ioctl_change_ifaddr(8080691a,ffff80003c4ed290,ffff800000b2c000) at in6_ioctl_change_ifaddr+0x621 sys/netinet6/in6.c:354 ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 sys/net/if.c:2468 sys_ioctl(ffff80002a297738,ffff80003c4ed470,ffff80003c4ed3c0) at sys_ioctl+0x5c3 sys/kern/sys_generic.c:-1 syscall(ffff80003c4ed470) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4ed470) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1fd5061f810, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff8396fd38, 0xffff8000015ba000, 0, 1) -> e ddb{0}> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c4ece78) at rtm_msg1+0x306 sys/net/rtsock.c:1647 rtm_addr(14,ffff8000015b9f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b2c000,ffff80003c4ed290,ffff8000015b9f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:743 in6_ioctl_change_ifaddr(8080691a,ffff80003c4ed290,ffff800000b2c000) at in6_ioctl_change_ifaddr+0x621 sys/netinet6/in6.c:354 ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 sys/net/if.c:2468 sys_ioctl(ffff80002a297738,ffff80003c4ed470,ffff80003c4ed3c0) at sys_ioctl+0x5c3 sys/kern/sys_generic.c:-1 syscall(ffff80003c4ed470) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4ed470) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1fd5061f810, count: -9 ddb{0}> show registers rdi 0xfffffd806d5b4948 rsi 0xffff8000015ba000 rbp 0xffff80003c4ecdf0 rbx 0 rdx 0xf9 rcx 0xe rax 0x7d806bffa948 r8 0x2 r9 0x8080808080808080 r10 0x573f1aea63ebb3ef r11 0xfffffd806d5b48c0 r12 0xf9 r13 0xfffffd807ecce600 r14 0xf9 r15 0xc0 rip 0xffffffff8266f969 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c4ecd38 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=115884 pid=11707 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2979c8,0xffffffff838da338 process=0xffff80003c41abb8 user=0xffff80003c4e8000, vmspace=0xfffffd805f7e37a8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11707 95478 90095 0 2 0 syz-executor *11707 115884 90095 0 7 0x4000000 syz-executor 4758 395493 77772 0 2 0 syz-executor 4758 446420 77772 0 3 0x4000080 kqread syz-executor 95044 147840 9278 0 2 0 syz-executor 95044 220934 9278 0 3 0x4000080 fsleep syz-executor 95044 80198 9278 0 2 0x4000000 syz-executor 42383 161586 80803 0 2 0 syz-executor 42383 81207 80803 0 3 0x4000080 fsleep syz-executor 46626 238132 28894 0 2 0 syz-executor 46626 4359 28894 0 3 0x4000080 sbwait syz-executor 46626 346959 28894 0 3 0x4000080 fsleep syz-executor 27115 125290 81754 0 3 0x3000 suspend syz-executor 27115 523228 81754 0 2 0x4081000 syz-executor 27115 92090 81754 0 3 0x4081000 inode syz-executor 28894 193791 43480 0 3 0x82 nanoslp syz-executor 6329 502474 97717 0 3 0 vmmapbsy syz-executor 6329 336192 97717 0 3 0x4000000 vmmapbsy syz-executor 6329 347672 97717 0 3 0x4000000 inode syz-executor 6329 490741 97717 0 3 0x4000000 fltagain2 syz-executor 97717 474627 43480 0 3 0x82 wait syz-executor 80803 420475 43480 0 2 0xc82 syz-executor 90095 344354 43480 0 3 0x82 nanoslp syz-executor 9278 155168 43480 0 2 0xc82 syz-executor 81754 324883 43480 0 3 0x82 nanoslp syz-executor 77772 234317 43480 0 2 0xc82 syz-executor 38551 92061 43480 0 2 0xc82 syz-executor 43716 463088 1 0 3 0x100083 ttyin getty 25089 418462 0 0 3 0x14200 bored sosplice 43480 104327 20378 0 3 0x82 kqread syz-executor 20378 214051 16761 0 3 0x10008a sigsusp ksh 16761 100215 86175 0 3 0x98 kqread sshd-session 86175 46125 59298 0 3 0x92 kqread sshd-session 59298 485591 1 0 3 0x88 kqread sshd 32707 8740 22369 74 3 0x1100092 bpf pflogd 22369 423989 1 0 3 0x80 sbwait pflogd 64984 439014 12589 73 3 0x1100090 kqread syslogd 12589 29773 1 0 3 0x100082 sbwait syslogd 17744 89355 1 0 3 0x100080 kqread resolvd 99258 213502 73482 77 7 0x100013 dhcpleased 66880 168214 73482 77 3 0x100092 kqread dhcpleased 73482 286393 1 0 3 0x80 kqread dhcpleased 34197 472526 0 0 3 0x14200 bored smr 37700 198390 0 0 2 0x14200 zerothread 56017 233820 0 0 3 0x14200 aiodoned aiodoned 28674 25740 0 0 3 0x14200 syncer update 17293 289035 0 0 3 0x14200 cleaner cleaner 5356 410473 0 0 3 0x14200 reaper reaper 71784 200095 0 0 3 0x14200 pgdaemon pagedaemon 96903 86918 0 0 3 0x14200 bored viomb 41357 57349 0 0 3 0x40014200 acpi0 acpi0 55479 362310 0 0 3 0x40014200 idle1 87977 505401 0 0 3 0x14200 bored softnet3 83515 18006 0 0 3 0x14200 bored softnet2 8075 106103 0 0 3 0x14200 bored softnet1 52071 173348 0 0 3 0x14200 bored softnet0 97033 503537 0 0 3 0x14200 bored systqmp 57077 32312 0 0 3 0x14200 bored systq 21451 483072 0 0 3 0x14200 tmoslp softclockmp 23219 359766 0 0 3 0x40014200 tmoslp softclock 70341 438948 0 0 3 0x40014200 idle0 1 336651 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 11707 (syz-executor) thread 0xffff80002a297738 (115884) Process 27115 (syz-executor) thread 0xffff80003c4c79e0 (523228) Process 6329 (syz-executor) thread 0xffff80002a281730 (336192) Process 6329 (syz-executor) thread 0xffff80003c43c030 (347672) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10255 11134K 12498K 166960K 24063 0 pcb 18 22K 38K 166960K 1959 0 rtable 186 12K 13K 166960K 1588 0 pf 46 19K 131090K 166960K 445 0 ifaddr 38 7K 9K 166960K 307 0 ifgroup 70 2K 3K 166960K 471 0 sysctl 4 1K 9K 166960K 59 0 counters 76 37K 38K 166960K 504 0 ioctlops 0 0K 4K 166960K 2855 0 iov 0 0K 32K 166960K 579 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1613 101K 102K 166960K 8184 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 6 17K 21K 166960K 105 0 VM map 2 1K 1K 166960K 2 0 sem 34 88K 89K 166960K 240 0 dirhash 12 2K 3K 166960K 201 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 7051 0 sigio 0 0K 0K 166960K 171 0 proc 76 103K 128K 166960K 1735 0 subproc 72 4K 4K 166960K 241 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 1126 0 in_multi 65 4K 7K 166960K 558 0 ether_multi 2 0K 0K 166960K 86 0 mrt 1 0K 0K 166960K 27 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 1847 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 146 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 265 162K 183K 166960K 64266 0 UVM aobj 131 6K 6K 166960K 136 0 pinsyscall 43 86K 106K 166960K 8608 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 404 0 NDP 16 0K 2K 166960K 212 0 temp 91 8696K 8952K 166960K 304213 0 kqueue 14 20K 33K 166960K 1320 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 604 0 601 4 3 1 3 0 8 0 rtentry 176 488 0 420 6 0 6 6 0 8 0 unpcb 144 5707 0 5687 40 34 6 6 0 8 5 syncache 336 7 0 7 4 4 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 2624 0 2617 51 48 3 13 0 8 2 arp 128 81 0 65 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 328 8596 0 8581 76 70 6 12 0 8 4 nd6 144 106 0 94 1 0 1 1 0 8 0 pkpcb 40 164 0 164 11 10 1 1 0 8 1 kcovpl 48 26 0 18 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 166 0 165 3 2 1 1 0 8 0 pppxif 1504 22 0 22 9 8 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 46 0 32 1 0 1 1 0 482 0 pffrnode 88 40 0 27 1 0 1 1 0 8 0 pffrent 40 79 0 64 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfanchor 1288 2 0 2 1 1 0 1 0 8 0 pfstitem 24 366 0 209 1 0 1 1 0 8 0 pfstkey 128 366 0 206 6 0 6 6 0 8 0 pfstate 384 363 0 207 16 0 16 16 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 rttmr 136 6 0 6 5 4 1 1 0 8 1 art_heap8 4096 6 0 2 6 2 4 6 0 8 0 art_heap4 256 2049 0 1716 34 11 23 29 0 8 1 art_table 32 2055 0 1718 4 0 4 4 0 8 0 art_node 16 462 0 406 1 0 1 1 0 8 0 sysvmsgpl 40 75 0 73 3 2 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 229 0 197 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 146 0 129 3 0 3 3 0 8 0 dino2pl 256 14262 0 12710 98 0 98 98 0 8 0 ffsino 288 14262 0 12710 112 0 112 112 0 8 0 nchpl 144 24009 0 23421 65 40 25 64 0 8 0 rtmask 32 22 0 22 8 7 1 1 0 8 1 uvmvnodes 80 5927 0 0 121 0 121 121 0 8 0 vnodes 216 5927 0 0 330 0 330 330 0 8 0 namei 1024 93275 0 93274 15 14 1 2 0 8 0 percpumem 16 267 0 214 1 0 1 1 0 8 0 kstatmem 264 320 0 282 3 0 3 3 0 8 0 acpiwqpl 32 3 0 3 1 0 1 1 1 8 1 scsiplug 72 210 0 210 13 12 1 1 0 8 1 scxspl 216 198440 0 198440 23 21 2 8 1 8 2 plimitpl 152 1831 0 1810 1 0 1 1 0 8 0 sigapl 424 7322 0 7271 11 5 6 9 0 8 0 knotepl 120 773 0 0 24 0 24 24 0 8 0 kqueuepl 224 2783 0 2773 35 34 1 7 0 8 0 pipepl 336 1177 0 1148 19 16 3 8 0 8 0 fdescpl 520 7264 0 7232 3 0 3 3 0 8 0 filepl 160 56997 0 56756 70 52 18 21 0 8 5 lockfpl 104 5142 0 5138 11 10 1 2 0 8 0 lockfspl 48 2037 0 2033 1 0 1 1 0 8 0 sessionpl 144 44 0 35 1 0 1 1 0 8 0 pgrppl 48 192 0 175 1 0 1 1 0 8 0 ucredpl 104 10618 0 10604 1 0 1 1 0 8 0 zombiepl 144 9029 0 9027 4 3 1 1 0 8 0 processpl 1240 7322 0 7271 6 1 5 6 0 8 0 procpl 656 19003 0 18940 9 2 7 8 0 8 0 srpgc 96 67 0 67 14 13 1 1 0 8 1 sosppl 168 52 0 52 10 9 1 1 0 8 1 sockpl 728 15389 0 15351 128 117 11 22 0 8 7 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 136 0 0 16 0 16 16 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 107 0 0 8 0 8 8 0 8 0 mtagpl 96 239 0 0 4 0 4 4 0 8 0 mbufpl 256 1376 0 0 77 0 77 77 0 8 0 bufpl 280 81532 0 75390 440 0 440 440 0 8 0 anonpl 32 18375 0 0 148 0 148 148 0 246 0 amapchunkpl 152 229133 0 228292 102 64 38 40 0 158 3 amappl16 200 31512 0 31261 238 214 24 47 0 8 6 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 159 0 147 1 0 1 1 0 8 0 amappl13 176 9 0 8 2 1 1 1 0 8 0 amappl12 168 8244 0 8211 4 2 2 3 0 8 0 amappl11 160 62 0 47 1 0 1 1 0 8 0 amappl10 152 41 0 40 2 1 1 1 0 8 0 amappl9 144 246 0 246 1 1 0 1 0 8 0 amappl8 136 58 0 54 1 0 1 1 0 8 0 amappl7 128 174 0 161 1 0 1 1 0 8 0 amappl6 120 364 0 360 1 0 1 1 0 8 0 amappl5 112 195 0 185 1 0 1 1 0 8 0 amappl4 104 395 0 374 1 0 1 1 0 8 0 amappl3 96 47594 0 47467 4 0 4 4 0 8 0 amappl2 88 957 0 890 2 0 2 2 0 8 0 amappl1 80 39125 0 38514 16 1 15 15 0 8 0 amappl 88 62055 0 61865 5 0 5 5 0 92 0 dma65536 65536 3 0 3 2 2 0 1 0 8 0 dma16384 16384 3 0 3 3 3 0 1 0 8 0 dma8192 8192 2 0 2 1 1 0 1 0 8 0 dma4096 4096 3 0 3 3 3 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 267 0 267 11 11 0 1 0 8 0 dma64 64 12 0 12 6 5 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 7264 0 7232 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7264 0 7232 1 0 1 1 0 8 0 vmmpekpl 168 51103 0 51026 4 0 4 4 0 8 0 vmmpepl 168 465549 0 463195 173 52 121 128 0 357 10 vmsppl 480 7263 0 7232 7 2 5 5 0 8 0 rwobjpl 72 122608 0 115343 147 7 140 144 0 8 0 pdppl 4096 14536 0 14464 138 64 74 86 0 8 2 pvpl 32 27524 0 0 220 0 220 220 0 265 0 pmappl 256 7263 0 7232 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 601 0 171 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c4ece78) at rtm_msg1+0x306 sys/net/rtsock.c:1647 rtm_addr(14,ffff8000015b9f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b2c000,ffff80003c4ed290,ffff8000015b9f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:743 in6_ioctl_change_ifaddr(8080691a,ffff80003c4ed290,ffff800000b2c000) at in6_ioctl_change_ifaddr+0x621 sys/netinet6/in6.c:354 ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014fb418,8080691a,ffff80003c4ed290,ffff80002a297738) at ifioctl+0x1571 sys/net/if.c:2468 sys_ioctl(ffff80002a297738,ffff80003c4ed470,ffff80003c4ed3c0) at sys_ioctl+0x5c3 sys/kern/sys_generic.c:-1 syscall(ffff80003c4ed470) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4ed470) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1fd5061f810, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838d9040) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838d9040) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrstruct(ffff8000ffff27c0,ffffffff8347a5df,ffff80002a2a64b0,20) at ktrstruct+0xdf sys/kern/kern_ktrace.c:313 sys_kevent(ffff8000ffff27c0,ffff80002a2a6740,ffff80002a2a6690) at sys_kevent+0x80f sys/kern/kern_event.c:1327 syscall(ffff80002a2a6740) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2a6740) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e0ab22ca630, count: 7 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838d9040) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838d9040) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrstruct(ffff8000ffff27c0,ffffffff8347a5df,ffff80002a2a64b0,20) at ktrstruct+0xdf sys/kern/kern_ktrace.c:313 sys_kevent(ffff8000ffff27c0,ffff80002a2a6740,ffff80002a2a6690) at sys_kevent+0x80f sys/kern/kern_event.c:1327 syscall(ffff80002a2a6740) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2a6740) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e0ab22ca630, count: -8