uvm_fault(0xffffffff83923d10, 0xffff800001563000, 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 *306474 27208 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003714c9e8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff800001562f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003714ce00,ffff800001562f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003714ce00,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80003c13bcb0,ffff80003714cfd0,ffff80003714cf20) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003714cfd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003714cfd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c12933c9a0, 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(0xffffffff83923d10, 0xffff800001563000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003714c9e8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff800001562f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003714ce00,ffff800001562f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003714ce00,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80003c13bcb0,ffff80003714cfd0,ffff80003714cf20) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003714cfd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003714cfd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c12933c9a0, count: -9 ddb> show registers rdi 0xfffffd805a780948 rsi 0xffff800001563000 rbp 0xffff80003714c960 rbx 0 rdx 0xea rcx 0xc rax 0x7d805921d948 r8 0x2 r9 0x8080808080808080 r10 0xfcc9577ca791c301 r11 0xfffffd805a7808c0 r12 0xea r13 0xea r14 0xc0 r15 0xfffffd806c70ee00 rip 0xffffffff830d34a9 memcpy+0x19 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80003714c8b8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=306474 pid=27208 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f901240,0xffff80003c13ba28 process=0xffff80002a7e1210 user=0xffff800037148000, vmspace=0xfffffd806ae6b5d0 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38460 444723 46905 0 2 0 syz-executor 38460 426213 46905 0 3 0x4000080 bell syz-executor 75356 99526 31737 0 2 0x100000 sh 31737 453931 55305 0 3 0x10008a sigsusp sh 91272 123552 96095 0 2 0 syz-executor 91272 129746 96095 0 3 0x4000080 fsleep syz-executor 27208 383647 68923 0 2 0 syz-executor *27208 306474 68923 0 7 0x4000000 syz-executor 70979 253311 4278 0 2 0x10 syz-executor 70979 102641 4278 0 3 0x4000090 fsleep syz-executor 70979 233581 4278 0 3 0x4000090 fsleep syz-executor 70979 175815 4278 0 3 0x4000090 fsleep syz-executor 72563 402654 10597 0 2 0 syz-executor 72563 421696 10597 0 3 0x4000080 fsleep syz-executor 17246 523014 16680 0 2 0 syz-executor 17246 176653 16680 0 3 0x4000080 fsleep syz-executor 55305 354798 89995 0 3 0x82 wait syz-executor 4278 458240 89995 0 3 0x82 nanoslp syz-executor 10597 199801 89995 0 3 0x82 nanoslp syz-executor 46905 189277 89995 0 2 0xc82 syz-executor 33042 293898 89995 0 2 0x2 syz-executor 61790 157983 38354 0 3 0x82 sbwait sshd-session 57669 54731 1 0 3 0x100083 ttyopn getty 42546 419607 0 0 3 0x14280 nfsidl nfsio 14907 389685 0 0 3 0x14280 nfsidl nfsio 65764 499889 0 0 3 0x14280 nfsidl nfsio 46734 226676 0 0 3 0x14280 nfsidl nfsio 8733 192969 0 0 3 0x14280 nfsidl nfsio 76716 171229 0 0 3 0x14280 nfsidl nfsio 38912 119104 0 0 3 0x14280 nfsidl nfsio 8030 64387 0 0 3 0x14280 nfsidl nfsio 5936 108969 0 0 3 0x14280 nfsidl nfsio 12016 382213 0 0 3 0x14280 nfsidl nfsio 27978 344806 0 0 3 0x14280 nfsidl nfsio 91073 245059 0 0 3 0x14280 nfsidl nfsio 69452 39644 0 0 3 0x14280 nfsidl nfsio 77159 131268 0 0 3 0x14280 nfsidl nfsio 64652 241086 0 0 3 0x14280 nfsidl nfsio 48131 98401 0 0 3 0x14280 nfsidl nfsio 2666 294813 0 0 3 0x14280 nfsidl nfsio 92361 28865 0 0 3 0x14280 nfsidl nfsio 9486 423826 0 0 3 0x14280 nfsidl nfsio 8031 458298 0 0 3 0x14280 nfsidl nfsio 96095 295949 89995 0 3 0x82 nanoslp syz-executor 68923 71692 89995 0 3 0x82 nanoslp syz-executor 16680 261755 89995 0 3 0x82 nanoslp syz-executor 89995 33743 67091 0 2 0x2 syz-executor 67091 486042 18202 0 3 0x10008a sigsusp ksh 18202 385578 80086 0 3 0x98 kqread sshd-session 80086 454299 38354 0 3 0x92 kqread sshd-session 38354 111800 1 0 3 0x88 kqread sshd 91538 101358 14746 73 3 0x1100090 kqread syslogd 14746 211455 1 0 3 0x100082 sbwait syslogd 93210 320216 1 0 3 0x100080 kqread resolvd 69947 43806 24648 77 2 0x100092 dhcpleased 60636 420877 24648 77 3 0x100092 kqread dhcpleased 24648 285103 1 0 3 0x80 kqread dhcpleased 9688 331056 0 0 3 0x14200 bored smr 24323 453243 0 0 2 0x14200 zerothread 41522 295390 0 0 3 0x14200 aiodoned aiodoned 11133 266719 0 0 3 0x14200 syncer update 70083 311554 0 0 3 0x14200 cleaner cleaner 79214 273433 0 0 3 0x14200 reaper reaper 83959 90617 0 0 3 0x14200 pgdaemon pagedaemon 53543 63956 0 0 3 0x14200 bored viomb 77163 411266 0 0 3 0x40014200 acpi0 acpi0 13952 339369 0 0 3 0x14200 bored softnet0 35023 428244 0 0 3 0x14200 bored systqmp 46348 104917 0 0 3 0x14200 bored systq 97092 409132 0 0 3 0x40014200 tmoslp softclock 51160 309450 0 0 3 0x40014200 idle0 1 370526 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 10235 11288K 11639K 166960K 14572 0 pcb 19 20K 22K 166960K 669 0 rtable 153 7K 9K 166960K 1076 0 pf 37 14K 67482K 166960K 215 0 ifaddr 32 5K 7K 166960K 197 0 ifgroup 63 2K 2K 166960K 308 0 sysctl 4 1K 9K 166960K 20 0 counters 35 18K 18K 166960K 142 0 ioctlops 0 0K 4K 166960K 457 0 iov 0 0K 24K 166960K 216 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 93K 93K 166960K 3303 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 6K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 120 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 1942 0 sigio 0 0K 0K 166960K 112 0 proc 60 59K 116K 166960K 1135 0 subproc 72 4K 4K 166960K 236 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 404 0 in_multi 48 3K 7K 166960K 370 0 ether_multi 2 0K 0K 166960K 24 0 mrt 1 0K 0K 166960K 17 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 2K 166960K 767 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 240 170K 187K 166960K 17616 0 UVM aobj 33 6K 6K 166960K 41 0 pinsyscall 41 82K 96K 166960K 3499 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 99 0 NDP 14 0K 2K 166960K 143 0 temp 80 8652K 8720K 166960K 67667 0 kqueue 14 22K 35K 166960K 366 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 243 0 240 3 0 3 3 0 8 2 rtentry 136 349 0 298 4 0 4 4 0 8 0 unpcb 144 1166 0 1143 5 1 4 4 0 8 3 syncache 336 10 0 10 2 1 1 1 0 8 1 tcpqe 32 7 0 7 1 0 1 1 0 8 1 tcpcb 736 759 0 748 8 1 7 7 0 8 5 arp 96 53 0 43 1 0 1 1 0 8 0 ipq 40 5 0 1 1 0 1 1 0 8 0 ipqe 40 8 0 4 1 0 1 1 0 8 0 inpcb 328 2590 0 2573 23 13 10 12 0 8 8 ip6q 72 6 0 4 2 1 1 1 0 8 0 ip6af 40 10 0 8 2 1 1 1 0 8 0 nd6 112 84 0 75 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 26 0 18 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 67 0 67 2 1 1 1 0 8 1 pppxif 1384 10 0 10 1 0 1 1 0 8 1 pfrule 1344 2 0 2 1 1 0 1 0 8 0 rttmr 136 4 0 4 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1599 0 1370 33 7 26 29 0 8 7 art_table 40 1602 0 1370 5 0 5 5 0 8 1 art_node 32 341 0 297 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 112 0 102 1 0 1 1 0 8 0 shmpl 112 38 0 8 1 0 1 1 0 8 0 dirhash 1024 34 0 17 3 0 3 3 0 8 0 dino2pl 256 4714 0 3183 96 0 96 96 0 8 0 ffsino 256 4714 0 3183 96 0 96 96 0 8 0 nchpl 144 7112 0 5370 65 0 65 65 0 8 0 rtmask 32 14 0 14 2 1 1 1 0 8 1 vnodes 216 3199 0 0 178 0 178 178 0 8 0 namei 1024 26955 0 26955 3 2 1 2 0 8 1 kstatmem 264 178 0 150 3 0 3 3 0 8 1 scsiplug 72 9 0 9 2 1 1 1 0 8 1 scxspl 216 24059 0 24059 15 7 8 8 1 8 8 plimitpl 152 565 0 549 1 0 1 1 0 8 0 sigapl 424 2226 0 2162 8 0 8 8 0 8 0 knotepl 120 77925 0 77874 39 27 12 17 0 8 8 kqueuepl 184 671 0 659 4 0 4 4 0 8 3 pipepl 304 331 0 304 5 0 5 5 0 8 2 fdescpl 448 2187 0 2156 5 1 4 5 0 8 0 filepl 120 14818 0 14586 19 6 13 14 0 8 4 lockfpl 104 537 0 534 1 0 1 1 0 8 0 lockfspl 48 235 0 232 1 0 1 1 0 8 0 sessionpl 144 46 0 37 1 0 1 1 0 8 0 pgrppl 48 90 0 73 1 0 1 1 0 8 0 ucredpl 104 2311 0 2299 1 0 1 1 0 8 0 zombiepl 144 2162 0 2162 1 0 1 1 0 8 1 processpl 1152 2226 0 2162 5 0 5 5 0 8 0 procpl 664 4522 0 4450 7 0 7 7 0 8 0 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 552 4056 0 4013 22 10 12 12 0 8 8 mcl64k 65536 542 0 542 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 24 0 24 2 1 1 1 0 8 1 mcl4k 4096 4542 0 4490 14 5 9 13 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 2893 0 2886 5 2 3 3 0 8 2 mtagpl 96 55 0 53 1 0 1 1 0 8 0 mbufpl 256 28342 0 28114 140 113 27 80 0 8 8 bufpl 280 9782 0 3560 445 0 445 445 0 8 0 anonpl 24 309321 0 305440 81 23 58 58 0 187 23 amapchunkpl 152 58957 0 58407 41 6 35 35 0 158 10 amappl16 200 5930 0 5897 41 29 12 20 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 31 0 31 2 1 1 1 0 8 1 amappl13 176 616 0 614 1 0 1 1 0 8 0 amappl12 168 2646 0 2606 2 0 2 2 0 8 0 amappl11 160 21 0 21 1 1 0 1 0 8 0 amappl10 152 44 0 32 1 0 1 1 0 8 0 amappl9 144 243 0 243 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 167 0 166 1 0 1 1 0 8 0 amappl6 120 486 0 471 1 0 1 1 0 8 0 amappl5 112 93 0 84 1 0 1 1 0 8 0 amappl4 104 502 0 477 1 0 1 1 0 8 0 amappl3 96 10621 0 10536 3 0 3 3 0 8 0 amappl2 88 2285 0 2207 2 0 2 2 0 8 0 amappl1 80 19108 0 18489 16 1 15 15 0 8 0 amappl 88 16321 0 16159 5 0 5 5 0 92 0 uvmvnodes 80 3199 0 0 66 0 66 66 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 259 0 259 2 1 1 1 0 8 1 dma64 64 8 0 8 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 40 0 8 1 0 1 1 0 8 0 uaddrrnd 24 2187 0 2156 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2187 0 2156 1 0 1 1 0 8 0 vmmpekpl 168 16931 0 16881 3 0 3 3 0 8 0 vmmpepl 168 143132 0 141207 108 9 99 99 0 357 8 vmsppl 368 2186 0 2156 4 1 3 4 0 8 0 rwobjpl 40 40713 0 36536 47 1 46 46 0 8 1 pdppl 4096 4380 0 4312 124 54 70 82 0 8 2 pvpl 32 903732 0 893071 166 33 133 133 0 265 33 pmappl 216 2186 0 2156 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 544 0 191 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003714c9e8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff800001562f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003714ce00,ffff800001562f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003714ce00,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80003c13bcb0,ffff80003714cfd0,ffff80003714cf20) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003714cfd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003714cfd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c12933c9a0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003714c9e8) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff800001562f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003714ce00,ffff800001562f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003714ce00,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:353 [inline] ifioctl(ffff80000154da58,8080691a,ffff80003714ce00,ffff80003c13bcb0) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80003c13bcb0,ffff80003714cfd0,ffff80003714cf20) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003714cfd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003714cfd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9c12933c9a0, count: -9