uvm_fault(0xffffffff8384de00, 0xffff8000015e9000, 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 * 76917 4351 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c937618) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000015e8f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c937a30,ffff8000015e8f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c937a30,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a823cb8,ffff80003c937c00,ffff80003c937b50) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c937c00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937c00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2b82f698a0, 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(0xffffffff8384de00, 0xffff8000015e9000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c937618) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000015e8f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c937a30,ffff8000015e8f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c937a30,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a823cb8,ffff80003c937c00,ffff80003c937b50) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c937c00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937c00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2b82f698a0, count: -9 ddb> show registers rdi 0xfffffd806f03c148 rsi 0xffff8000015e9000 rbp 0xffff80003c937590 rbx 0 rdx 0xea rcx 0xc rax 0x7d806da53148 r8 0x2 r9 0x8080808080808080 r10 0x2fe855766cb7f508 r11 0xfffffd806f03c0c0 r12 0xea r13 0xea r14 0xc0 r15 0xfffffd806740bd00 rip 0xffffffff826cff39 memcpy+0x19 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80003c9374e8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=76917 pid=4351 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=0xffff80002a823a20,0xffff80002a823500 process=0xffff8000ffffb198 user=0xffff80003c932000, vmspace=0xfffffd806ba2ab90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27583 500876 58046 0 2 0 syz-executor 27583 227326 58046 0 3 0x4000080 fsleep syz-executor 27103 43105 81156 0 2 0 syz-executor 27103 50415 81156 0 3 0x4000080 fsleep syz-executor 4351 50994 57413 0 2 0 syz-executor * 4351 76917 57413 0 7 0x4000000 syz-executor 19399 48613 77864 0 2 0 syz-executor 19399 162251 77864 0 3 0x4000080 fsleep syz-executor 48021 5468 3670 0 2 0 syz-executor 48021 251817 3670 0 3 0x4000080 fsleep syz-executor 48021 383834 3670 0 3 0x4000080 fsleep syz-executor 1776 328356 13389 0 2 0 syz-executor 1776 453367 13389 0 3 0x4000080 fsleep syz-executor 24460 59582 422 0 3 0x82 wait syz-executor 61155 126456 0 0 3 0x14200 acct acct 58046 262813 422 0 3 0x82 nanoslp syz-executor 57413 295028 422 0 2 0xc82 syz-executor 92582 412947 1 0 3 0x100083 ttyopn getty 3670 358605 422 0 2 0xc82 syz-executor 99730 20654 0 0 3 0x14200 bored sosplice 81156 239847 422 0 3 0x82 nanoslp syz-executor 90525 74032 422 0 2 0xc82 syz-executor 13389 46702 422 0 2 0xc82 syz-executor 77864 452862 422 0 2 0xc82 syz-executor 422 463901 29792 0 3 0x82 kqread syz-executor 29792 172349 98350 0 3 0x10008a sigsusp ksh 98350 54315 82517 0 3 0x98 kqread sshd-session 82517 33453 77873 0 3 0x92 kqread sshd-session 77873 136025 1 0 3 0x88 kqread sshd 4664 107653 6954 73 3 0x1100090 kqread syslogd 6954 300354 1 0 3 0x100082 sbwait syslogd 27409 210388 1 0 3 0x100080 kqread resolvd 45972 519813 50741 77 2 0x100092 dhcpleased 26493 133938 50741 77 3 0x100092 kqread dhcpleased 50741 22979 1 0 3 0x80 kqread dhcpleased 10210 302342 0 0 3 0x14200 bored smr 42959 461905 0 0 2 0x14200 zerothread 46187 91609 0 0 3 0x14200 aiodoned aiodoned 54067 428821 0 0 3 0x14200 syncer update 48213 441941 0 0 3 0x14200 cleaner cleaner 94849 199418 0 0 3 0x14200 reaper reaper 51564 112816 0 0 3 0x14200 pgdaemon pagedaemon 91464 401812 0 0 3 0x14200 bored viomb 23048 260601 0 0 3 0x40014200 acpi0 acpi0 20543 296154 0 0 3 0x14200 bored softnet0 27461 238279 0 0 3 0x14200 bored systqmp 30565 468318 0 0 3 0x14200 bored systq 22322 481080 0 0 3 0x40014200 tmoslp softclock 39960 139792 0 0 3 0x40014200 idle0 1 316488 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 10183 11059K 12175K 166960K 13408 0 pcb 19 18K 20K 166960K 772 0 rtable 168 9K 9K 166960K 682 0 pf 31 13K 17K 166960K 189 0 ifaddr 32 6K 8K 166960K 142 0 ifgroup 44 1K 2K 166960K 227 0 sysctl 4 1K 9K 166960K 98 0 counters 31 17K 18K 166960K 111 0 ioctlops 0 0K 4K 166960K 546 0 iov 0 0K 17K 166960K 232 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1397 88K 89K 166960K 2961 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 186 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 2143 0 sigio 0 0K 0K 166960K 42 0 proc 60 59K 100K 166960K 910 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 257 0 in_multi 62 4K 7K 166960K 234 0 ether_multi 1 0K 0K 166960K 20 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 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 723 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 73 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 233 151K 170K 166960K 19555 0 UVM aobj 115 3K 3K 166960K 119 0 pinsyscall 39 78K 92K 166960K 3252 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 135 0 NDP 10 0K 2K 166960K 96 0 temp 75 8648K 8716K 166960K 78352 0 kqueue 14 22K 33K 166960K 418 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 237 0 234 3 2 1 3 0 8 0 rtentry 136 234 0 178 4 0 4 4 0 8 0 unpcb 144 1556 0 1540 9 8 1 6 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 1049 0 1044 22 15 7 10 0 8 6 arp 96 27 0 17 1 0 1 1 0 8 0 ipq 40 8 0 4 1 0 1 1 0 8 0 ipqe 40 13 0 8 1 0 1 1 0 8 0 inpcb 328 2788 0 2775 22 15 7 10 0 8 5 ip6q 72 12 0 7 1 0 1 1 0 8 0 ip6af 40 19 0 14 1 0 1 1 0 8 0 nd6 112 36 0 27 1 0 1 1 0 8 0 pkpcb 40 21 0 21 2 1 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 54 0 53 2 1 1 1 0 8 0 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfrktable 1344 4 0 4 2 1 1 1 0 8 1 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 4 0 3 1 0 1 1 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1068 0 772 31 6 25 31 0 8 3 art_table 40 1070 0 772 5 0 5 5 0 8 0 art_node 32 199 0 150 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 180 0 170 1 0 1 1 0 8 0 shmpl 112 116 0 4 4 0 4 4 0 8 0 dirhash 1024 41 0 24 3 0 3 3 0 8 0 dino2pl 256 5481 0 3977 95 0 95 95 0 8 0 ffsino 256 5481 0 3977 95 0 95 95 0 8 0 nchpl 144 8387 0 7844 63 40 23 63 0 8 0 rtmask 32 10 0 10 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 29726 0 29726 4 3 1 2 0 8 1 kstatmem 264 136 0 116 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 32723 0 32723 12 10 2 8 1 8 2 plimitpl 152 647 0 630 1 0 1 1 0 8 0 sigapl 424 2355 0 2310 6 0 6 6 0 8 0 knotepl 120 75190 0 75141 18 8 10 10 0 8 8 kqueuepl 184 945 0 935 10 6 4 4 0 8 3 pipepl 304 288 0 261 3 0 3 3 0 8 0 fdescpl 448 2334 0 2304 5 1 4 5 0 8 0 filepl 120 17652 0 17436 18 5 13 13 0 8 5 lockfpl 104 724 0 721 2 0 2 2 0 8 1 lockfspl 48 274 0 271 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 69 0 53 1 0 1 1 0 8 0 ucredpl 104 3561 0 3549 1 0 1 1 0 8 0 zombiepl 144 2312 0 2310 2 1 1 1 0 8 0 processpl 1152 2355 0 2310 4 0 4 4 0 8 0 procpl 664 5192 0 5140 7 1 6 6 0 8 0 sosppl 168 2 0 1 1 0 1 1 0 8 0 sockpl 552 4713 0 4681 25 17 8 12 0 8 5 mcl64k 65536 311 0 311 3 2 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 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 49 0 49 3 2 1 1 0 8 1 mcl4k 4096 4974 0 4919 14 6 8 13 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 2807 0 2796 7 2 5 5 0 8 3 mtagpl 96 12 0 11 1 0 1 1 0 8 0 mbufpl 256 28047 0 27893 80 58 22 73 0 8 7 bufpl 280 10643 0 4415 446 1 445 446 0 8 0 anonpl 24 314251 0 311024 87 37 50 57 0 187 21 amapchunkpl 152 66717 0 66209 44 18 26 36 0 158 6 amappl16 200 5659 0 5622 34 22 12 16 0 8 8 amappl15 192 6 0 6 2 1 1 1 0 8 1 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 3030 0 3000 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 35 0 35 1 1 0 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 133 0 123 1 0 1 1 0 8 0 amappl6 120 231 0 227 1 0 1 1 0 8 0 amappl5 112 141 0 134 1 0 1 1 0 8 0 amappl4 104 272 0 258 1 0 1 1 0 8 0 amappl3 96 11853 0 11754 3 0 3 3 0 8 0 amappl2 88 2569 0 2496 2 0 2 2 0 8 0 amappl1 80 16000 0 15451 13 1 12 13 0 8 0 amappl 88 18459 0 18289 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 9 0 9 2 2 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 118 0 4 3 0 3 3 0 8 0 uaddrrnd 24 2334 0 2304 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2334 0 2304 1 0 1 1 0 8 0 vmmpekpl 168 16789 0 16732 3 0 3 3 0 8 0 vmmpepl 168 145483 0 143567 101 6 95 95 0 357 8 vmsppl 368 2333 0 2304 4 1 3 4 0 8 0 rwobjpl 40 41084 0 34183 70 0 70 70 0 8 0 pdppl 4096 4675 0 4608 109 42 67 79 0 8 0 pvpl 32 938286 0 929458 174 44 130 130 0 265 37 pmappl 216 2333 0 2304 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 486 0 144 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c937618) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000015e8f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c937a30,ffff8000015e8f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c937a30,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a823cb8,ffff80003c937c00,ffff80003c937b50) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c937c00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937c00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2b82f698a0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c937618) at rtm_msg1+0x306 sys/net/rtsock.c:1627 rtm_addr(14,ffff8000015e8f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c937a30,ffff8000015e8f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c937a30,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff8000015e7a38,8080691a,ffff80003c937a30,ffff80002a823cb8) at ifioctl+0x1515 sys/net/if.c:2480 sys_ioctl(ffff80002a823cb8,ffff80003c937c00,ffff80003c937b50) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c937c00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937c00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2b82f698a0, count: -9