uvm_fault(0xffffffff839d9800, 0xffff8000014d1000, 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 *504386 89412 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff800033921108) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014d0f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff800033921520,ffff8000014d0f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff800033921520,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 sys/net/if.c:2455 sys_ioctl(ffff8000315127d8,ffff800033921700,ffff800033921650) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff800033921700) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033921700) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9dcdce81be0, 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(0xffffffff839d9800, 0xffff8000014d1000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff800033921108) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014d0f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff800033921520,ffff8000014d0f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff800033921520,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 sys/net/if.c:2455 sys_ioctl(ffff8000315127d8,ffff800033921700,ffff800033921650) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff800033921700) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033921700) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9dcdce81be0, count: -9 ddb> show registers rdi 0xfffffd800bc94148 rsi 0xffff8000014d1000 rbp 0xffff800033921080 rbx 0xfffffd806e096000 rdx 0xf9 rcx 0xe rax 0x7d800a7c3148 r8 0x2 r9 0x8080808080808080 r10 0x79eb869b03d84496 r11 0xfffffd800bc940c0 r12 0 r13 0xf9 r14 0xf9 r15 0xc0 rip 0xffffffff81096b89 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800033920fd8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=504386 pid=89412 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031513738,0xffff8000315134b8 process=0xffff80002f10b678 user=0xffff80003391c000, vmspace=0xfffffd8070774e20 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65825 444057 93185 0 3 0x80 nanoslp syz-executor 65825 418514 93185 0 3 0x4000080 kqsel syz-executor 65825 138257 93185 0 3 0x4000080 fsleep syz-executor 65825 367916 93185 0 3 0x4000080 fsleep syz-executor 39437 245160 30745 0 2 0 syz-executor 39437 460829 30745 0 3 0x4000080 fsleep syz-executor 89412 397806 5720 0 2 0 syz-executor *89412 504386 5720 0 7 0x4000000 syz-executor 89412 30198 5720 0 3 0x4000080 fsleep syz-executor 89412 416788 5720 0 3 0x4000080 fsleep syz-executor 40744 107741 44156 0 2 0x10 syz-executor 40744 191862 44156 0 3 0x4000090 fsleep syz-executor 74625 160800 58429 0 2 0x2 syz-executor 51935 414282 58429 0 3 0x82 nanoslp syz-executor 2224 414404 0 0 3 0x14200 acct acct 98446 110249 1 0 3 0x100083 ttyin getty 39494 406714 0 0 3 0x14200 bored sosplice 30745 270176 58429 0 2 0xc82 syz-executor 44156 161639 58429 0 3 0x82 nanoslp syz-executor 21129 502274 58429 0 3 0x82 nanoslp syz-executor 5720 204807 58429 0 2 0xc82 syz-executor 79494 91024 58429 0 3 0x82 nanoslp syz-executor 93185 289691 58429 0 2 0xc82 syz-executor 58429 146130 84159 0 3 0x82 kqread syz-executor 84159 499430 78873 0 3 0x10008a sigsusp ksh 78873 197830 38579 0 3 0x98 kqread sshd-session 38579 296557 563 0 3 0x92 kqread sshd-session 563 80460 1 0 3 0x88 kqread sshd 70754 487641 90924 73 3 0x1100090 kqread syslogd 90924 341389 1 0 3 0x100082 sbwait syslogd 85231 423367 1 0 3 0x100080 kqread resolvd 38302 243453 77029 77 2 0x100092 dhcpleased 85896 170656 77029 77 3 0x100092 kqread dhcpleased 77029 210719 1 0 3 0x80 kqread dhcpleased 34011 284162 0 0 3 0x14200 bored smr 66976 192627 0 0 2 0x14200 zerothread 39229 298615 0 0 3 0x14200 aiodoned aiodoned 74799 206245 0 0 3 0x14200 syncer update 81449 390133 0 0 3 0x14200 cleaner cleaner 88050 108289 0 0 3 0x14200 reaper reaper 57945 398574 0 0 3 0x14200 pgdaemon pagedaemon 17897 98974 0 0 3 0x14200 bored viomb 58198 84804 0 0 3 0x40014200 acpi0 acpi0 88134 273450 0 0 3 0x14200 bored softnet3 85855 199427 0 0 3 0x14200 bored softnet2 92389 129596 0 0 3 0x14200 bored softnet1 60169 115404 0 0 3 0x14200 bored softnet0 48663 6460 0 0 3 0x14200 smrbar systqmp 87600 365450 0 0 3 0x14200 bored systq 34847 342674 0 0 3 0x40014200 tmoslp softclock 39239 499641 0 0 3 0x40014200 idle0 1 476350 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 10183 11114K 11688K 166960K 11746 0 pcb 19 13K 14K 166960K 114 0 rtable 203 7K 7K 166960K 534 0 pf 31 13K 14K 166960K 386 0 ifaddr 38 6K 7K 166960K 68 0 ifgroup 50 2K 2K 166960K 84 0 sysctl 4 1K 9K 166960K 9 0 counters 32 17K 18K 166960K 47 0 ioctlops 0 0K 4K 166960K 208 0 iov 0 0K 14K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 89K 166960K 1698 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 15 2K 3K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 471 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 75K 166960K 577 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 27 0 in_multi 81 5K 7K 166960K 137 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 433 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 143K 157K 166960K 5560 0 UVM aobj 11 2K 2K 166960K 13 0 pinsyscall 38 76K 87K 166960K 1552 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 13 0K 2K 166960K 41 0 temp 44 8668K 8740K 166960K 13363 0 kqueue 14 22K 34K 166960K 69 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 68 0 65 1 0 1 1 0 8 0 rtentry 136 155 0 73 4 0 4 4 0 8 0 unpcb 144 285 0 261 4 0 4 4 0 8 3 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 88 0 83 1 0 1 1 0 8 0 arp 88 24 0 10 1 0 1 1 0 8 0 inpcb 328 430 0 420 7 0 7 7 0 8 6 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 30 0 12 1 0 1 1 0 8 0 pkpcb 40 34 0 1 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 9 0 9 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 66 0 66 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 677 0 311 29 0 29 29 0 8 5 art_table 40 680 0 311 5 0 5 5 0 8 0 art_node 32 155 0 81 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 2 0 1 1 0 1 1 0 8 0 semapl 112 15 0 5 1 0 1 1 0 8 0 shmpl 112 10 0 2 1 0 1 1 0 8 0 dirhash 1024 26 0 7 3 0 3 3 0 8 0 dino2pl 256 2117 0 618 95 0 95 95 0 8 0 ffsino 248 2117 0 618 95 0 95 95 0 8 0 nchpl 144 2718 0 1032 63 0 63 63 0 8 0 uvmvnodes 80 2436 0 0 50 0 50 50 0 8 0 vnodes 216 2436 0 0 136 0 136 136 0 8 0 namei 1024 9023 0 9023 1 0 1 1 0 8 1 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scxspl 216 8734 0 8734 8 0 8 8 1 8 8 plimitpl 152 181 0 164 1 0 1 1 0 8 0 sigapl 424 744 0 697 6 0 6 6 0 8 0 knotepl 120 22227 0 22175 10 0 10 10 0 8 8 kqueuepl 184 136 0 125 3 0 3 3 0 8 2 pipepl 296 183 0 156 8 0 8 8 0 8 5 fdescpl 440 725 0 696 4 0 4 4 0 8 0 filepl 120 4022 0 3755 14 0 14 14 0 8 5 lockfpl 104 215 0 212 1 0 1 1 0 8 0 lockfspl 48 101 0 98 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 411 0 397 1 0 1 1 0 8 0 zombiepl 144 700 0 697 1 0 1 1 0 8 0 processpl 1160 744 0 697 4 0 4 4 0 8 0 procpl 656 1189 0 1134 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 528 889 0 818 11 1 10 11 0 8 5 mcl64k 65536 76 0 76 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 2832 0 2782 12 0 12 12 0 8 5 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 791 0 788 5 0 5 5 0 8 4 mtagpl 96 90 0 79 2 0 2 2 0 8 1 mbufpl 256 7688 0 7559 18 0 18 18 0 8 3 bufpl 280 2867 0 120 197 0 197 197 0 8 0 anonpl 24 126375 0 123182 39 0 39 39 0 187 16 amapchunkpl 152 17693 0 17196 28 0 28 28 0 158 7 amappl16 200 1882 0 1853 5 0 5 5 0 8 3 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 5 0 4 1 0 1 1 0 8 0 amappl12 168 1373 0 1344 2 0 2 2 0 8 0 amappl11 160 45 0 34 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 0 1 1 0 8 1 amappl9 144 246 0 245 1 0 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 196 0 193 1 0 1 1 0 8 0 amappl5 112 118 0 112 1 0 1 1 0 8 0 amappl4 104 287 0 271 1 0 1 1 0 8 0 amappl3 96 3236 0 3124 4 0 4 4 0 8 0 amappl2 88 644 0 588 2 0 2 2 0 8 0 amappl1 80 9293 0 8750 12 0 12 12 0 8 0 amappl 88 4830 0 4662 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 12 0 2 1 0 1 1 0 8 0 uaddrrnd 24 725 0 696 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 725 0 696 1 0 1 1 0 8 0 vmmpekpl 168 7227 0 7186 3 0 3 3 0 8 0 vmmpepl 168 50085 0 48217 85 0 85 85 0 357 1 vmsppl 360 724 0 696 3 0 3 3 0 8 0 rwobjpl 32 17747 0 14445 27 0 27 27 0 8 0 pdppl 4096 1456 0 1392 88 20 68 72 0 8 4 pvpl 32 326273 0 317284 102 0 102 102 0 265 24 pmappl 216 724 0 696 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 262 0 20 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff800033921108) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014d0f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff800033921520,ffff8000014d0f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff800033921520,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 sys/net/if.c:2455 sys_ioctl(ffff8000315127d8,ffff800033921700,ffff800033921650) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff800033921700) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033921700) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9dcdce81be0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff800033921108) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014d0f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff800033921520,ffff8000014d0f00) at in6_update_ifa+0x1752 sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff800033921520,ffff800000b12800) at in6_ioctl_change_ifaddr+0x644 sys/netinet6/in6.c:352 ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000014e3910,8080691a,ffff800033921520,ffff8000315127d8) at ifioctl+0x1519 sys/net/if.c:2455 sys_ioctl(ffff8000315127d8,ffff800033921700,ffff800033921650) at sys_ioctl+0x5bf sys/kern/sys_generic.c:-1 syscall(ffff800033921700) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033921700) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9dcdce81be0, count: -9