uvm_fault(0xffffffff83970330, 0xffff8000014cf000, 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 * 36607 3598 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c9f0ef8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014cef00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c9f1310,ffff8000014cef00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c9f1310,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a822aa0,ffff80003c9f14e0,ffff80003c9f1430) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c9f14e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9f14e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x13ea467e00, 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(0xffffffff83970330, 0xffff8000014cf000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c9f0ef8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014cef00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c9f1310,ffff8000014cef00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c9f1310,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a822aa0,ffff80003c9f14e0,ffff80003c9f1430) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c9f14e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9f14e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x13ea467e00, count: -9 ddb> show registers rdi 0xfffffd806bf54148 rsi 0xffff8000014cf000 rbp 0xffff80003c9f0e70 rbx 0 rdx 0xea rcx 0xc rax 0x7d806aa85148 r8 0x2 r9 0x8080808080808080 r10 0xe45a7e5b64540d0c r11 0xfffffd806bf540c0 r12 0xea r13 0xea r14 0xc0 r15 0xfffffd806b43b300 rip 0xffffffff81240da9 memcpy+0x19 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80003c9f0dc8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=36607 pid=3598 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=0xffff80002a7cd4f8,0xffffffff838e08d8 process=0xffff8000ffffb198 user=0xffff80003c9ec000, vmspace=0xfffffd806c247010 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3598 188325 93022 0 2 0 syz-executor * 3598 36607 93022 0 7 0x4000000 syz-executor 55004 392881 21062 0 2 0 syz-executor 55004 425446 21062 0 3 0x4000080 fsleep syz-executor 73811 348651 5820 0 2 0 syz-executor 73811 388237 5820 0 3 0x4000080 fsleep syz-executor 86017 235872 9482 0 2 0 syz-executor 86017 370182 9482 0 3 0x4000080 kqread syz-executor 28155 121067 14819 0 2 0 syz-executor 28155 196885 14819 0 3 0x4000080 fsleep syz-executor 71435 301317 32525 0 2 0 syz-executor 71435 92675 32525 0 2 0x4000000 syz-executor 57559 490109 6723 0 2 0 syz-executor 41022 245075 21058 0 2 0x10 syz-executor 41022 58764 21058 0 3 0x4000090 kqread syz-executor 50655 117172 0 0 3 0x14280 nfsidl nfsio 96802 476083 0 0 3 0x14280 nfsidl nfsio 90362 434630 0 0 3 0x14280 nfsidl nfsio 89753 249374 0 0 3 0x14280 nfsidl nfsio 91894 108438 0 0 3 0x14280 nfsidl nfsio 71661 394552 0 0 3 0x14280 nfsidl nfsio 30206 185129 0 0 3 0x14280 nfsidl nfsio 81252 198488 0 0 3 0x14280 nfsidl nfsio 73179 48919 0 0 3 0x14280 nfsidl nfsio 79602 273954 0 0 3 0x14280 nfsidl nfsio 75303 182554 0 0 3 0x14280 nfsidl nfsio 95733 151243 0 0 3 0x14280 nfsidl nfsio 65960 307736 0 0 3 0x14280 nfsidl nfsio 25527 482090 0 0 3 0x14280 nfsidl nfsio 39629 446623 0 0 3 0x14280 nfsidl nfsio 64227 369327 0 0 3 0x14280 nfsidl nfsio 56952 133633 0 0 3 0x14280 nfsidl nfsio 62041 85225 0 0 3 0x14280 nfsidl nfsio 48781 20460 0 0 3 0x14280 nfsidl nfsio 31172 149609 0 0 3 0x14280 nfsidl nfsio 21062 289741 42490 0 3 0x82 nanoslp syz-executor 9482 82660 42490 0 3 0x82 nanoslp syz-executor 2755 211726 1 0 3 0x100083 ttyopn getty 74852 51221 0 0 3 0x14200 bored sosplice 14819 382363 42490 0 3 0x82 nanoslp syz-executor 32525 232858 42490 0 3 0x82 nanoslp syz-executor 93022 81852 42490 0 2 0xc82 syz-executor 5820 263067 42490 0 3 0x82 nanoslp syz-executor 21058 519665 42490 0 2 0xc82 syz-executor 6723 389997 42490 0 3 0x82 nanoslp syz-executor 42490 113384 78196 0 3 0x82 kqread syz-executor 78196 116806 27792 0 3 0x10008a sigsusp ksh 27792 488010 38151 0 3 0x98 kqread sshd-session 38151 206786 69755 0 3 0x92 kqread sshd-session 69755 132446 1 0 3 0x88 kqread sshd 92267 522776 49617 73 3 0x1100090 kqread syslogd 49617 443226 1 0 3 0x100082 sbwait syslogd 53574 473601 1 0 3 0x100080 kqread resolvd 90109 488599 66303 77 2 0x100092 dhcpleased 1707 294914 66303 77 3 0x100092 kqread dhcpleased 66303 189491 1 0 3 0x80 kqread dhcpleased 66496 379799 0 0 3 0x14200 bored smr 64930 420091 0 0 2 0x14200 zerothread 56521 275316 0 0 3 0x14200 aiodoned aiodoned 80934 6469 0 0 3 0x14200 syncer update 32308 510993 0 0 3 0x14200 cleaner cleaner 95249 82551 0 0 3 0x14200 reaper reaper 5477 1137 0 0 3 0x14200 pgdaemon pagedaemon 65213 248936 0 0 3 0x14200 bored viomb 36071 346373 0 0 3 0x40014200 acpi0 acpi0 69504 30408 0 0 3 0x14200 bored softnet0 16980 12341 0 0 3 0x14200 bored systqmp 17199 335107 0 0 3 0x14200 bored systq 70745 481431 0 0 3 0x40014200 tmoslp softclock 62174 234663 0 0 3 0x40014200 idle0 1 12790 0 0 3 0x80082 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 10185 11052K 12275K 166960K 16557 0 pcb 18 18K 22K 166960K 968 0 rtable 222 12K 13K 166960K 784 0 pf 32 13K 67481K 166960K 273 0 ifaddr 32 5K 8K 166960K 176 0 ifgroup 50 2K 2K 166960K 300 0 sysctl 4 1K 9K 166960K 21 0 counters 32 17K 18K 166960K 242 0 ioctlops 0 0K 4K 166960K 509 0 iov 0 0K 32K 166960K 142 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1520 95K 96K 166960K 3814 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 42 0 VM map 2 1K 1K 166960K 2 0 sem 25 17K 17K 166960K 150 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 2322 0 sigio 0 0K 0K 166960K 102 0 proc 60 59K 91K 166960K 811 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 1 0K 0K 166960K 370 0 in_multi 58 4K 7K 166960K 241 0 ether_multi 2 0K 0K 166960K 35 0 mrt 2 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 642 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 158K 177K 166960K 21903 0 UVM aobj 127 6K 6K 166960K 137 0 pinsyscall 39 78K 92K 166960K 3416 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 165 0 NDP 11 0K 2K 166960K 126 0 temp 83 8648K 8788K 166960K 52837 0 kqueue 14 22K 32K 166960K 447 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 209 0 206 1 0 1 1 0 8 0 rtentry 136 216 0 143 4 0 4 4 0 8 0 unpcb 144 1745 0 1726 6 5 1 6 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 1128 0 1123 16 9 7 10 0 8 6 arp 96 32 0 18 1 0 1 1 0 8 0 ipq 40 8 0 7 1 0 1 1 0 8 0 ipqe 40 14 0 13 1 0 1 1 0 8 0 inpcb 328 3309 0 3300 18 11 7 12 0 8 6 ip6q 72 14 0 12 1 0 1 1 0 8 0 ip6af 40 31 0 29 1 0 1 1 0 8 0 nd6 112 46 0 28 1 0 1 1 0 8 0 pkpcb 40 29 0 29 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 186 0 186 2 1 1 1 0 8 1 pppxif 1384 10 0 10 1 1 0 1 0 8 0 pfrktable 1344 4 0 4 2 1 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 1 0 1 1 0 8 0 pfstate 384 3 0 2 1 0 1 1 0 8 0 pfrule 1344 4 0 4 1 1 0 1 0 8 0 rttmr 136 4 0 4 2 1 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 909 0 641 31 7 24 31 0 8 1 art_table 40 914 0 641 5 0 5 5 0 8 0 art_node 32 213 0 148 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 144 0 121 1 0 1 1 0 8 0 shmpl 112 134 0 10 4 0 4 4 0 8 0 dirhash 1024 40 0 23 3 0 3 3 0 8 0 dino2pl 256 5736 0 4238 95 0 95 95 0 8 0 ffsino 256 5736 0 4238 95 0 95 95 0 8 0 nchpl 144 8929 0 7235 64 0 64 64 0 8 0 rtmask 32 24 0 24 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 33318 0 33318 4 2 2 2 0 8 2 kstatmem 264 208 0 186 4 1 3 3 0 8 1 scsiplug 72 7 0 7 2 1 1 1 0 8 1 scxspl 216 31251 0 31251 15 7 8 8 1 8 8 plimitpl 152 567 0 551 1 0 1 1 0 8 0 sigapl 424 2602 0 2538 9 1 8 8 0 8 0 knotepl 120 87415 0 87368 46 36 10 23 0 8 8 kqueuepl 184 834 0 821 4 3 1 4 0 8 0 pipepl 304 460 0 433 10 5 5 8 0 8 2 fdescpl 448 2541 0 2511 5 1 4 5 0 8 0 filepl 120 19040 0 18825 16 5 11 13 0 8 3 lockfpl 104 1139 0 1137 2 1 1 2 0 8 0 lockfspl 48 450 0 448 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 101 0 85 1 0 1 1 0 8 0 ucredpl 104 2913 0 2901 1 0 1 1 0 8 0 zombiepl 144 2538 0 2538 1 0 1 1 0 8 1 processpl 1152 2602 0 2538 6 1 5 5 0 8 0 procpl 664 5778 0 5707 9 2 7 7 0 8 0 sosppl 168 27 0 27 2 1 1 1 0 8 1 sockpl 552 5561 0 5530 18 11 7 12 0 8 4 mcl64k 65536 537 0 536 3 2 1 3 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 11 0 11 1 1 0 1 0 8 0 mcl8k 8192 29 0 29 2 1 1 1 0 8 1 mcl4k 4096 5423 0 5373 14 6 8 13 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 3389 0 3383 5 1 4 4 0 8 2 mtagpl 96 12 0 10 1 0 1 1 0 8 0 mbufpl 256 199610 0 199176 272 243 29 118 0 8 1 bufpl 280 10783 0 4561 445 0 445 445 0 8 0 anonpl 24 346048 0 342933 85 28 57 58 0 187 23 amapchunkpl 152 73495 0 73063 38 9 29 29 0 158 8 amappl16 200 5979 0 5940 23 8 15 15 0 8 7 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 14 0 14 2 1 1 1 0 8 1 amappl13 176 444 0 443 1 0 1 1 0 8 0 amappl12 168 2894 0 2856 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 248 0 247 1 0 1 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 111 0 109 1 0 1 1 0 8 0 amappl6 120 323 0 311 1 0 1 1 0 8 0 amappl5 112 69 0 61 1 0 1 1 0 8 0 amappl4 104 419 0 394 1 0 1 1 0 8 0 amappl3 96 13141 0 13060 3 0 3 3 0 8 0 amappl2 88 2668 0 2596 2 0 2 2 0 8 0 amappl1 80 17504 0 16967 13 1 12 13 0 8 0 amappl 88 20769 0 20620 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 68 0 67 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 257 0 257 2 1 1 1 0 8 1 dma64 64 7 0 7 1 1 0 1 0 8 0 dma32 32 9 0 9 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 136 0 10 3 0 3 3 0 8 0 uaddrrnd 24 2541 0 2511 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2541 0 2511 1 0 1 1 0 8 0 vmmpekpl 168 19860 0 19823 3 0 3 3 0 8 0 vmmpepl 168 159676 0 157856 102 10 92 92 0 357 10 vmsppl 368 2540 0 2511 4 1 3 4 0 8 0 rwobjpl 40 44271 0 37391 73 0 73 73 0 8 1 pdppl 4096 5088 0 5022 130 64 66 78 0 8 0 pvpl 32 1068221 0 1059777 159 34 125 126 0 265 23 pmappl 216 2540 0 2511 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 692 0 344 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c9f0ef8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014cef00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c9f1310,ffff8000014cef00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c9f1310,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a822aa0,ffff80003c9f14e0,ffff80003c9f1430) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c9f14e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9f14e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x13ea467e00, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c9f0ef8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000014cef00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c9f1310,ffff8000014cef00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c9f1310,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff80000158fc58,8080691a,ffff80003c9f1310,ffff80002a822aa0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a822aa0,ffff80003c9f14e0,ffff80003c9f1430) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c9f14e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9f14e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x13ea467e00, count: -9