uvm_fault(0xffffffff838ac960, 0xffff8000014e3000, 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 *476553 72684 0 0 0x4000000 0 syz-executor memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c98ad68) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014e2f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c98b180,ffff8000014e2f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c98b180,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80003c97fcc0,ffff80003c98b350,ffff80003c98b2a0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c98b350) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98b350) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfc203b43960, 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(0xffffffff838ac960, 0xffff8000014e3000, 0, 1) -> e ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c98ad68) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014e2f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c98b180,ffff8000014e2f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c98b180,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80003c97fcc0,ffff80003c98b350,ffff80003c98b2a0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c98b350) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98b350) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfc203b43960, count: -9 ddb> show registers rdi 0xfffffd805b9db148 rsi 0xffff8000014e3000 rbp 0xffff80003c98ace0 rbx 0 rdx 0xf9 rcx 0xe rax 0x7d805a4f8148 r8 0x2 r9 0x8080808080808080 r10 0xca3adb0323e93ad8 r11 0xfffffd805b9db0c0 r12 0xf9 r13 0xf9 r14 0xc0 r15 0xfffffd806ee66200 rip 0xffffffff813a0fc9 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c98ac38 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=476553 pid=72684 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c97f790,0xffffffff83965830 process=0xffff80003ca2a490 user=0xffff80003c986000, vmspace=0xfffffd80691e2018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72684 55955 67158 0 2 0 syz-executor 72684 438686 67158 0 2 0x4000000 syz-executor *72684 476553 67158 0 7 0x4000000 syz-executor 43366 129998 43143 0 2 0 syz-executor 43366 108971 43143 0 3 0x4000080 ttyout syz-executor 43366 83158 43143 0 3 0x4000080 ttyout syz-executor 10900 513317 76112 0 2 0 syz-executor 10900 427497 76112 0 3 0x4000080 fsleep syz-executor 71676 353315 99020 -1 2 0x10 syz-executor 71676 242069 99020 -1 3 0x4000090 kqsel syz-executor 71676 73790 99020 -1 3 0x4000090 kqsel syz-executor 18948 479465 86459 0 2 0xc80 syz-executor 18948 49533 86459 0 3 0x4000080 ttyretype syz-executor 18948 386661 86459 0 3 0x4000080 ttyin syz-executor 18948 134938 86459 0 3 0x4000080 fsleep syz-executor 67490 255106 40263 0 2 0xc80 syz-executor 67490 20343 40263 0 3 0x4000080 lockf syz-executor 67490 216367 40263 0 3 0x4000080 fsleep syz-executor 66260 123337 61526 0 2 0xc80 syz-executor 66260 197207 61526 0 3 0x4000080 kqsel syz-executor 46848 367339 0 0 3 0x14280 nfsidl nfsio 45132 229208 0 0 3 0x14280 nfsidl nfsio 53636 42833 0 0 3 0x14280 nfsidl nfsio 32286 411187 0 0 3 0x14280 nfsidl nfsio 32983 317328 0 0 3 0x14280 nfsidl nfsio 90117 171739 0 0 3 0x14280 nfsidl nfsio 28794 450072 0 0 3 0x14280 nfsidl nfsio 8952 182408 0 0 3 0x14280 nfsidl nfsio 5152 39472 0 0 3 0x14280 nfsidl nfsio 30946 420253 0 0 3 0x14280 nfsidl nfsio 86965 36852 0 0 3 0x14280 nfsidl nfsio 5786 650 0 0 3 0x14280 nfsidl nfsio 44709 399389 0 0 3 0x14280 nfsidl nfsio 39044 34370 0 0 3 0x14280 nfsidl nfsio 67938 108468 0 0 3 0x14280 nfsidl nfsio 83675 112583 0 0 3 0x14280 nfsidl nfsio 19095 202559 0 0 3 0x14280 nfsidl nfsio 21271 520413 0 0 3 0x14280 nfsidl nfsio 37258 426558 0 0 3 0x14280 nfsidl nfsio 66165 29599 0 0 3 0x14280 nfsidl nfsio 72564 501476 0 0 3 0x14200 bored sosplice 43143 517219 42846 0 3 0x82 nanoslp syz-executor 76112 396930 42846 0 2 0xc82 syz-executor 67158 142718 42846 0 2 0xc82 syz-executor 27655 506029 42846 0 2 0x2 syz-executor 86459 297067 42846 0 3 0x82 nanoslp syz-executor 40263 39752 42846 0 3 0x82 nanoslp syz-executor 61526 310395 42846 0 3 0x82 nanoslp syz-executor 99020 278132 42846 0 3 0x82 nanoslp syz-executor 42846 307364 71179 0 3 0x82 kqread syz-executor 71179 76803 43454 0 3 0x10008a sigsusp ksh 43454 50157 20901 0 3 0x98 kqread sshd-session 20901 375764 26087 0 3 0x92 kqread sshd-session 41392 465724 1 0 3 0x100083 ttyin getty 26087 520644 1 0 3 0x88 kqread sshd 83543 238405 65225 73 3 0x1100090 kqread syslogd 65225 438024 1 0 3 0x100082 sbwait syslogd 86761 485619 1 0 3 0x100080 kqread resolvd 88061 263018 40202 77 2 0x100092 dhcpleased 40847 204032 40202 77 3 0x100092 kqread dhcpleased 40202 393593 1 0 3 0x80 kqread dhcpleased 85321 97910 0 0 3 0x14200 bored smr 51049 59177 0 0 2 0x14200 zerothread 28120 310140 0 0 3 0x14200 aiodoned aiodoned 68184 381075 0 0 3 0x14200 syncer update 7386 37972 0 0 3 0x14200 cleaner cleaner 99901 163558 0 0 3 0x14200 reaper reaper 94491 472292 0 0 3 0x14200 pgdaemon pagedaemon 96598 454710 0 0 3 0x14200 bored viomb 14743 35153 0 0 3 0x40014200 acpi0 acpi0 70794 411973 0 0 3 0x14200 bored softnet7 24774 358997 0 0 3 0x14200 bored softnet6 53548 288170 0 0 3 0x14200 bored softnet5 62265 7827 0 0 3 0x14200 bored softnet4 95954 69791 0 0 3 0x14200 bored softnet3 27511 54678 0 0 3 0x14200 bored softnet2 52257 459074 0 0 3 0x14200 bored softnet1 56748 271753 0 0 2 0x14200 softnet0 30939 506338 0 0 3 0x14200 smrbar systqmp 95956 270490 0 0 3 0x14200 bored systq 8301 238434 0 0 2 0x40014200 softclock 59908 265057 0 0 3 0x40014200 idle0 1 246519 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 10179 11052K 12327K 166960K 11919 0 pcb 21 14K 15K 166960K 79 0 rtable 191 6K 7K 166960K 318 0 pf 28 12K 19K 166960K 72 0 ifaddr 38 6K 8K 166960K 57 0 ifgroup 46 2K 2K 166960K 77 0 sysctl 1 1K 9K 166960K 7 0 counters 31 17K 18K 166960K 45 0 ioctlops 0 0K 4K 166960K 79 0 iov 0 0K 16K 166960K 19 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1454 91K 92K 166960K 1662 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 399 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 108K 166960K 498 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 42 0 in_multi 88 6K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 2K 166960K 424 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 233 151K 164K 166960K 5131 0 UVM aobj 12 2K 2K 166960K 13 0 pinsyscall 38 76K 92K 166960K 1441 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 10 0K 2K 166960K 36 0 temp 79 8644K 8708K 166960K 14572 0 kqueue 13 20K 28K 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 54 0 51 1 0 1 1 0 8 0 rtentry 136 107 0 28 4 0 4 4 0 8 0 unpcb 144 189 0 171 1 0 1 1 0 8 0 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 112 0 105 4 0 4 4 0 8 3 arp 88 11 0 2 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 503 0 487 7 0 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 19 0 3 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfrule 1344 5 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 501 0 55 29 0 29 29 0 8 1 art_table 40 503 0 55 5 0 5 5 0 8 0 art_node 32 106 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2033 0 536 95 0 95 95 0 8 0 ffsino 256 2033 0 536 95 0 95 95 0 8 0 nchpl 144 2624 0 940 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2337 0 0 48 0 48 48 0 8 0 vnodes 216 2337 0 0 130 0 130 130 0 8 0 namei 1024 8756 0 8755 2 0 2 2 0 8 1 kstatmem 264 40 0 20 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9156 0 9156 8 0 8 8 1 8 8 plimitpl 152 97 0 80 1 0 1 1 0 8 0 sigapl 424 707 0 637 9 0 9 9 0 8 0 knotepl 120 13903 0 13856 10 0 10 10 0 8 8 kqueuepl 184 239 0 226 4 0 4 4 0 8 3 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 665 0 636 5 0 5 5 0 8 1 filepl 120 3846 0 3610 11 0 11 11 0 8 3 lockfpl 104 291 0 283 2 0 2 2 0 8 1 lockfspl 48 66 0 61 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 351 0 338 1 0 1 1 0 8 0 zombiepl 144 637 0 637 1 0 1 1 0 8 1 processpl 1168 707 0 637 6 0 6 6 0 8 0 procpl 664 1116 0 1033 8 0 8 8 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 552 758 0 720 8 0 8 8 0 8 5 mcl64k 65536 53 0 53 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2823 0 2773 15 0 15 15 0 8 8 mcl2k 2048 585 0 581 2 0 2 2 0 8 1 mtagpl 96 8 0 5 1 0 1 1 0 8 0 mbufpl 256 7548 0 7399 48 29 19 48 0 8 7 bufpl 280 3543 0 118 245 0 245 245 0 8 0 anonpl 24 117795 0 114605 33 0 33 33 0 187 7 amapchunkpl 152 16592 0 16092 26 0 26 26 0 158 6 amappl16 200 1658 0 1630 4 0 4 4 0 8 0 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 0 1 1 0 8 1 amappl12 168 1277 0 1248 3 0 3 3 0 8 1 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 0 1 1 0 8 1 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 15 0 14 1 0 1 1 0 8 0 amappl7 128 103 0 92 1 0 1 1 0 8 0 amappl6 120 168 0 165 1 0 1 1 0 8 0 amappl5 112 178 0 171 1 0 1 1 0 8 0 amappl4 104 289 0 273 1 0 1 1 0 8 0 amappl3 96 2930 0 2816 4 0 4 4 0 8 1 amappl2 88 624 0 567 2 0 2 2 0 8 0 amappl1 80 9424 0 8880 13 0 13 13 0 8 1 amappl 88 4433 0 4264 5 0 5 5 0 92 0 dma65536 65536 2 0 2 1 0 1 1 0 8 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 665 0 636 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 665 0 636 1 0 1 1 0 8 0 vmmpekpl 168 6737 0 6709 2 0 2 2 0 8 0 vmmpepl 168 47643 0 45797 88 0 88 88 0 357 5 vmsppl 368 664 0 636 4 0 4 4 0 8 1 rwobjpl 40 17152 0 13948 33 0 33 33 0 8 0 pdppl 4096 1336 0 1272 102 36 66 78 0 8 2 pvpl 32 310161 0 301483 107 0 107 107 0 265 18 pmappl 216 664 0 636 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 420 0 65 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c98ad68) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014e2f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c98b180,ffff8000014e2f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c98b180,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80003c97fcc0,ffff80003c98b350,ffff80003c98b2a0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c98b350) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98b350) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfc203b43960, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 rtm_msg1(14,ffff80003c98ad68) at rtm_msg1+0x306 sys/net/rtsock.c:1644 rtm_addr(14,ffff8000014e2f00) at rtm_addr+0xb9 sys/net/rtsock.c:-1 in6_update_ifa(ffff800000b12800,ffff80003c98b180,ffff8000014e2f00) at in6_update_ifa+0x199a sys/netinet6/in6.c:741 in6_ioctl_change_ifaddr(8080691a,ffff80003c98b180,ffff800000b12800) at in6_ioctl_change_ifaddr+0x638 sys/netinet6/in6.c:352 ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 pru_control sys/sys/protosw.h:352 [inline] ifioctl(ffff800010fdb7d8,8080691a,ffff80003c98b180,ffff80003c97fcc0) at ifioctl+0x1515 sys/net/if.c:2454 sys_ioctl(ffff80003c97fcc0,ffff80003c98b350,ffff80003c98b2a0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c98b350) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98b350) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfc203b43960, count: -9