uvm_fault(0xffffffff83838490, 0xffff8000015ce000, 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 * 24013 88035 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002a8f0bf8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000015cdf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002a8f1010,ffff8000015cdf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002a8f1010,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff8000389562b8,ffff80002a8f11e0,ffff80002a8f1130) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8f11e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f11e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9adcc009290, 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(0xffffffff83838490, 0xffff8000015ce000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002a8f0bf8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000015cdf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002a8f1010,ffff8000015cdf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002a8f1010,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff8000389562b8,ffff80002a8f11e0,ffff80002a8f1130) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8f11e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f11e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9adcc009290, count: -9 ddb> show registers rdi 0xfffffd805d87b948 rsi 0xffff8000015ce000 rbp 0xffff80002a8f0b70 rbx 0 rdx 0xf9 rcx 0xe rax 0x7d805c2ad948 r8 0x2 r9 0xfffffd8070dee228 r10 0x44819d18d2ae7ad0 r11 0xfffffd805d87b8c0 r12 0xf9 r13 0xf9 r14 0xc0 r15 0xfffffd805d688800 rip 0xffffffff82d6fbd9 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a8f0ac8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=24013 pid=88035 tcnt=2 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=0xffff800038957218,0xffffffff8389be00 process=0xffff800038964000 user=0xffff80002a8ec000, vmspace=0xfffffd806bb7fb90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88073 395485 41152 0 2 0x40 syz-executor 88035 52517 97447 0 2 0 syz-executor *88035 24013 97447 0 7 0x4000000 syz-executor 41152 57377 6144 0 3 0x82 ppwait syz-executor 65975 231189 3609 0 2 0xc80 syz-executor 65975 119179 3609 0 3 0x4000080 ttyin syz-executor 65975 470235 3609 0 3 0x4000080 fsleep syz-executor 67408 331928 75081 0 2 0xc80 syz-executor 67408 340421 75081 0 3 0x4000080 ttyout syz-executor 67408 66815 75081 0 3 0x4000080 fsleep syz-executor 42248 28356 2162 -1 2 0xc90 syz-executor 42248 145159 2162 -1 3 0x4000090 kqread syz-executor 42248 379221 2162 -1 3 0x4000090 fsleep syz-executor 11268 439269 73280 0 3 0x80 nanoslp syz-executor 11268 514946 73280 0 3 0x4000080 kqsel syz-executor 11268 349082 73280 0 3 0x4000080 fsleep syz-executor 37260 523573 87640 0 3 0x80 nanoslp syz-executor 37260 19630 87640 0 3 0x4000080 lockf syz-executor 37260 412658 87640 0 3 0x4000080 fsleep syz-executor 43861 347765 1 0 3 0x100083 ttyin getty 87640 284718 6144 0 3 0x82 nanoslp syz-executor 3609 478463 6144 0 3 0x82 nanoslp syz-executor 71723 56554 0 0 3 0x14280 nfsidl nfsio 68509 269484 0 0 3 0x14280 nfsidl nfsio 58948 313409 0 0 3 0x14280 nfsidl nfsio 1169 269428 0 0 3 0x14280 nfsidl nfsio 86112 152745 0 0 3 0x14280 nfsidl nfsio 6158 325818 0 0 3 0x14280 nfsidl nfsio 41020 196153 0 0 3 0x14280 nfsidl nfsio 38034 348065 0 0 3 0x14280 nfsidl nfsio 35686 158418 0 0 3 0x14280 nfsidl nfsio 76781 373430 0 0 3 0x14280 nfsidl nfsio 99867 333643 0 0 3 0x14280 nfsidl nfsio 63433 326018 0 0 3 0x14280 nfsidl nfsio 64550 339266 0 0 3 0x14280 nfsidl nfsio 32648 169648 0 0 3 0x14280 nfsidl nfsio 2920 218706 0 0 3 0x14280 nfsidl nfsio 73210 224121 0 0 3 0x14280 nfsidl nfsio 13357 192936 0 0 3 0x14280 nfsidl nfsio 75068 48829 0 0 3 0x14280 nfsidl nfsio 61868 200042 0 0 3 0x14280 nfsidl nfsio 51004 362644 0 0 3 0x14280 nfsidl nfsio 12602 304707 0 0 3 0x14200 bored sosplice 97447 94431 6144 0 2 0xc82 syz-executor 2162 190107 6144 0 3 0x82 nanoslp syz-executor 90863 68776 6144 0 2 0xc82 syz-executor 73280 294517 6144 0 3 0x82 nanoslp syz-executor 75081 17442 6144 0 3 0x82 nanoslp syz-executor 6144 363467 55115 0 3 0x82 kqread syz-executor 55115 492546 29659 0 3 0x10008a sigsusp ksh 29659 291640 63570 0 3 0x98 kqread sshd-session 63570 440170 98133 0 3 0x92 kqread sshd-session 98133 58363 1 0 3 0x88 kqread sshd 78799 370526 28003 73 3 0x1100090 kqread syslogd 28003 393546 1 0 3 0x100082 sbwait syslogd 37724 157788 1 0 3 0x100080 kqread resolvd 86690 282663 78133 77 2 0x100092 dhcpleased 24070 119785 78133 77 3 0x100092 kqread dhcpleased 78133 219289 1 0 3 0x80 kqread dhcpleased 93620 314692 0 0 3 0x14200 bored smr 36305 440282 0 0 2 0x14200 zerothread 77458 332408 0 0 3 0x14200 aiodoned aiodoned 45121 423853 0 0 3 0x14200 syncer update 73711 211073 0 0 3 0x14200 cleaner cleaner 46928 213340 0 0 3 0x14200 reaper reaper 82264 207209 0 0 3 0x14200 pgdaemon pagedaemon 99460 324568 0 0 3 0x14200 bored viomb 35753 187496 0 0 3 0x40014200 acpi0 acpi0 41186 441487 0 0 3 0x14200 bored softnet7 45730 330050 0 0 3 0x14200 bored softnet6 53190 94963 0 0 3 0x14200 bored softnet5 35032 462136 0 0 3 0x14200 bored softnet4 81849 137696 0 0 3 0x14200 bored softnet3 23087 128808 0 0 3 0x14200 bored softnet2 75568 367485 0 0 3 0x14200 bored softnet1 24086 289313 0 0 3 0x14200 bored softnet0 12191 107566 0 0 3 0x14200 smrbar systqmp 96348 218535 0 0 3 0x14200 bored systq 22344 500444 0 0 2 0x40014200 softclock 63771 186534 0 0 3 0x40014200 idle0 1 283332 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 10223 11196K 12404K 166960K 13723 0 pcb 19 16K 17K 166960K 425 0 rtable 198 8K 8K 166960K 525 0 pf 34 13K 21K 166960K 178 0 ifaddr 37 6K 7K 166960K 102 0 ifgroup 46 2K 2K 166960K 139 0 sysctl 4 1K 9K 166960K 12 0 counters 31 17K 18K 166960K 110 0 ioctlops 0 0K 4K 166960K 359 0 iov 0 0K 16K 166960K 55 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 93K 93K 166960K 2565 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 21 5K 5K 166960K 171 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 265K 166960K 1101 0 sigio 0 0K 0K 166960K 85 0 proc 60 59K 124K 166960K 675 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 500 0 in_multi 87 6K 7K 166960K 194 0 ether_multi 1 0K 0K 166960K 12 0 mrt 3 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 527 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 235 152K 174K 166960K 11155 0 UVM aobj 100 5K 5K 166960K 101 0 pinsyscall 39 78K 96K 166960K 2200 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 97 0 NDP 12 0K 1K 166960K 63 0 temp 79 8644K 8715K 166960K 51056 0 kqueue 15 24K 32K 166960K 208 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 105 0 102 1 0 1 1 0 8 0 rtentry 136 178 0 102 4 0 4 4 0 8 0 unpcb 144 706 0 688 3 0 3 3 0 8 2 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 425 0 415 7 0 7 7 0 8 6 arp 88 21 0 13 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 1397 0 1376 8 0 8 8 0 8 4 ip6q 72 4 0 3 1 0 1 1 0 8 0 ip6af 40 8 0 7 1 0 1 1 0 8 0 nd6 104 31 0 14 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 34 0 34 1 0 1 1 0 8 1 ppxss 1072 67 0 67 1 0 1 1 0 8 1 pppxif 1384 35 0 35 1 0 1 1 0 8 1 pfstscr 40 6 0 5 1 0 1 1 0 8 0 pfosfp 40 5 0 5 1 0 1 1 0 8 1 pfosfpen 112 5 0 5 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 8 1 0 1 1 0 8 0 pfstate 384 6 0 5 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 872 0 481 30 0 30 30 0 8 5 art_table 40 876 0 481 5 0 5 5 0 8 0 art_node 32 177 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 8 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 163 0 144 1 0 1 1 0 8 0 shmpl 112 98 0 1 3 0 3 3 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 3377 0 1872 95 0 95 95 0 8 0 ffsino 256 3377 0 1872 95 0 95 95 0 8 0 nchpl 144 4865 0 3173 63 0 63 63 0 8 0 rtmask 32 8 0 8 1 0 1 1 0 8 1 uvmvnodes 80 4253 0 0 87 0 87 87 0 8 0 vnodes 216 4253 0 0 237 0 237 237 0 8 0 namei 1024 17659 0 17659 2 0 2 2 0 8 2 kstatmem 264 82 0 62 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 16743 0 16743 8 0 8 8 1 8 8 plimitpl 152 316 0 298 1 0 1 1 0 8 0 sigapl 424 1387 0 1316 9 0 9 9 0 8 0 knotepl 120 593113 0 593063 19 9 10 16 0 8 7 kqueuepl 184 407 0 392 4 0 4 4 0 8 3 pipepl 304 254 0 227 5 0 5 5 0 8 2 fdescpl 448 1342 0 1312 5 0 5 5 0 8 1 filepl 120 9255 0 9014 12 0 12 12 0 8 1 lockfpl 104 931 0 924 2 0 2 2 0 8 1 lockfspl 48 374 0 368 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 54 0 38 1 0 1 1 0 8 0 ucredpl 104 1670 0 1658 1 0 1 1 0 8 0 zombiepl 144 1317 0 1316 1 0 1 1 0 8 0 processpl 1168 1387 0 1316 6 0 6 6 0 8 0 procpl 656 2761 0 2679 8 0 8 8 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 552 2235 0 2193 10 0 10 10 0 8 5 mcl64k 65536 95 0 95 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 15 0 15 1 0 1 1 0 8 1 mcl4k 4096 3643 0 3594 13 0 13 13 0 8 6 mcl2k2 2112 33 0 33 1 0 1 1 0 8 1 mcl2k 2048 1634 0 1628 6 0 6 6 0 8 5 mtagpl 96 65 0 15 2 0 2 2 0 8 0 mbufpl 256 14926 0 14715 33 6 27 33 0 8 8 bufpl 280 5439 0 121 380 0 380 380 0 8 0 anonpl 24 212707 0 204348 89 0 89 89 0 187 12 amapchunkpl 152 36604 0 36030 32 0 32 32 0 158 8 amappl16 200 4641 0 4381 34 0 34 34 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 21 0 21 1 0 1 1 0 8 1 amappl12 168 1999 0 1970 3 0 3 3 0 8 1 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 11 0 10 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 97 0 95 1 0 1 1 0 8 0 amappl7 128 106 0 96 1 0 1 1 0 8 0 amappl6 120 212 0 208 1 0 1 1 0 8 0 amappl5 112 134 0 128 1 0 1 1 0 8 0 amappl4 104 307 0 291 1 0 1 1 0 8 0 amappl3 96 7396 0 7287 4 0 4 4 0 8 1 amappl2 88 677 0 620 2 0 2 2 0 8 0 amappl1 80 12221 0 11673 13 0 13 13 0 8 0 amappl 88 10283 0 10113 5 0 5 5 0 92 0 dma4096 4096 2 0 2 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 254 0 254 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 100 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1342 0 1312 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1342 0 1312 1 0 1 1 0 8 0 vmmpekpl 168 11731 0 11701 2 0 2 2 0 8 0 vmmpepl 168 89719 0 87576 111 0 111 111 0 357 8 vmsppl 368 1341 0 1312 4 0 4 4 0 8 1 rwobjpl 40 29008 0 23566 56 0 56 56 0 8 0 pdppl 4096 2690 0 2624 104 36 68 82 0 8 2 pvpl 32 580258 0 566102 175 0 175 175 0 265 25 pmappl 216 1341 0 1312 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 414 0 42 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002a8f0bf8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000015cdf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002a8f1010,ffff8000015cdf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002a8f1010,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff8000389562b8,ffff80002a8f11e0,ffff80002a8f1130) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8f11e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f11e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9adcc009290, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80002a8f0bf8) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000015cdf00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80002a8f1010,ffff8000015cdf00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80002a8f1010,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800001483c18,8080691a,ffff80002a8f1010,ffff8000389562b8) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff8000389562b8,ffff80002a8f11e0,ffff80002a8f1130) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a8f11e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f11e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9adcc009290, count: -9