uvm_fault(0xffffffff8394c050, 0xffff800001713000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at memcpy+25: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *343097 61596 0 0 0x4000000 0K syz-executor memcpy() at memcpy+25 rtm_msg1(14,ffff80002a338258) at rtm_msg1+774 rtm_addr(14,ffff800001712f00) at rtm_addr+185 in6_update_ifa(ffff800000afd800,ffff80002a338670,ffff800001712f00) at in6_update_ifa+6554 in6_ioctl_change_ifaddr(8080691a,ffff80002a338670,ffff800000afd800) at in6_ioctl_change_ifaddr+1614 ifioctl(ffff800001703290,8080691a,ffff80002a338670,ffff80002ffde550) at ifioctl+5842 sys_ioctl(ffff80002ffde550,ffff80002a338850,ffff80002a3387a0) at sys_ioctl+1652 syscall(ffff80002a338850) at syscall+3028 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x6e2f93ca860, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff8394c050, 0xffff800001713000, 0, 1) -> e ddb{0}> trace memcpy() at memcpy+25 rtm_msg1(14,ffff80002a338258) at rtm_msg1+774 rtm_addr(14,ffff800001712f00) at rtm_addr+185 in6_update_ifa(ffff800000afd800,ffff80002a338670,ffff800001712f00) at in6_update_ifa+6554 in6_ioctl_change_ifaddr(8080691a,ffff80002a338670,ffff800000afd800) at in6_ioctl_change_ifaddr+1614 ifioctl(ffff800001703290,8080691a,ffff80002a338670,ffff80002ffde550) at ifioctl+5842 sys_ioctl(ffff80002ffde550,ffff80002a338850,ffff80002a3387a0) at sys_ioctl+1652 syscall(ffff80002a338850) at syscall+3028 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x6e2f93ca860, count: -9 ddb{0}> show registers rdi 18446741326526742856 rsi 18446603336245391360 rbp 18446603336929214928 rbx 18446741326756239104 rdx 234 rcx 12 rax 137990281351496 r8 2 r9 9259542123273814144 r10 17841189139680206453 r11 18446741326526742720 r12 234 r13 234 r14 192 r15 18446741326756239104 rip 18446744071592625289 memcpy+25 cs 8 rflags 66054 __ALIGN_SIZE+61958 rsp 18446603336929214744 ss 16 memcpy+25: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=343097 pid=61596 tcnt=2 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=0xffff80002ffdfa10,0xffffffff839d3ca0 process=0xffff8000ffff4e78 user=0xffff80002a333000, vmspace=0xfffffd806c1f57b8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61596 74264 55232 0 2 0 syz-executor *61596 343097 55232 0 7 0x4000000 syz-executor 22399 254913 83170 0 2 0x1000000 syz-executor 22399 380159 83170 0 3 0x5000080 fsleep syz-executor 76115 315543 18326 0 2 0xc80 syz-executor 76115 110683 18326 0 3 0x4000080 ttyout syz-executor 94555 438365 72587 0 3 0x80 nanoslp syz-executor 94555 482909 72587 0 3 0x4000080 tunread syz-executor 94555 437766 72587 0 3 0x4000080 fsleep syz-executor 36742 66953 15380 0 2 0x2 syz-executor 55232 326707 15380 0 3 0x82 nanoslp syz-executor 18326 137261 15380 0 3 0x82 nanoslp syz-executor 30551 174663 15380 0 3 0x82 nanoslp syz-executor 37212 306678 15380 0 2 0x2 syz-executor 58553 25595 15380 0 3 0x82 wait syz-executor 83170 131318 15380 0 2 0xc82 syz-executor 80015 384244 1 0 3 0x100083 ttyopn getty 33499 462129 44626 0 2 0x100082 arp 44626 26331 1 0 3 0x10008a sigsusp sh 72587 157230 15380 0 3 0x82 nanoslp syz-executor 15380 473830 67922 0 2 0x2 syz-executor 67922 514717 49112 0 3 0x10008a sigsusp ksh 49112 212876 40434 0 3 0x98 kqread sshd-session 40434 122143 72416 0 3 0x92 kqread sshd-session 72416 443170 1 0 3 0x88 kqread sshd 29653 215105 54491 74 3 0x1100092 bpf pflogd 54491 79095 1 0 3 0x80 sbwait pflogd 98400 379718 23554 73 3 0x1100090 kqread syslogd 23554 456312 1 0 3 0x100082 sbwait syslogd 27419 142238 1 0 3 0x100080 kqread resolvd 81446 81691 78124 77 2 0x100092 dhcpleased 17008 18126 78124 77 3 0x100092 kqread dhcpleased 78124 24427 1 0 3 0x80 kqread dhcpleased 79650 455564 0 0 3 0x14200 bored smr 5601 503174 0 0 2 0x14200 zerothread 99091 211567 0 0 3 0x14200 aiodoned aiodoned 60420 255505 0 0 3 0x14200 syncer update 2409 156389 0 0 3 0x14200 cleaner cleaner 9337 405190 0 0 3 0x14200 reaper reaper 61359 215121 0 0 3 0x14200 pgdaemon pagedaemon 60365 220446 0 0 3 0x14200 bored viomb 92327 224469 0 0 3 0x40014200 acpi0 acpi0 8517 443517 0 0 7 0x40014200 idle1 15498 95315 0 0 3 0x14200 bored softnet1 32635 28144 0 0 3 0x14200 bored softnet0 39039 413499 0 0 3 0x14200 smrbar systqmp 95286 176594 0 0 3 0x14200 bored systq 76392 370680 0 0 3 0x14200 tmoslp softclockmp 8799 214060 0 0 3 0x40014200 tmoslp softclock 67612 175801 0 0 3 0x40014200 idle0 1 22148 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 61596 (syz-executor) thread 0xffff80002ffde550 (343097) Process 36742 (syz-executor) thread 0xffff80002a271240 (66953) Process 37212 (syz-executor) thread 0xffff80003c458a88 (306678) Process 39039 (systqmp) thread 0xffff8000ffffe7c8 (413499) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10246 11050K 12348K 166960K 15676 0 pcb 18 18K 37K 166960K 1410 0 rtable 248 18K 18K 166960K 1171 0 pf 47 20K 67488K 166960K 585 0 ifaddr 42 8K 9K 166960K 300 0 ifgroup 68 2K 3K 166960K 553 0 sysctl 4 1K 9K 166960K 45 0 counters 74 37K 38K 166960K 630 0 ioctlops 0 0K 4K 166960K 2865 0 iov 0 0K 24K 166960K 317 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1555 98K 98K 166960K 5603 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 6K 14K 166960K 63 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 269 0 dirhash 12 2K 2K 166960K 99 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 244K 166960K 4428 0 sigio 1 0K 0K 166960K 172 0 proc 72 115K 164K 166960K 1277 0 subproc 81 5K 5K 166960K 155 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 500 0 in_multi 75 5K 7K 166960K 360 0 ether_multi 1 0K 0K 166960K 41 0 mrt 1 0K 0K 166960K 47 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 1038 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 8 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 258 163K 188K 166960K 41426 0 UVM aobj 131 8K 8K 166960K 132 0 pinsyscall 44 88K 104K 166960K 5802 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 416 0 NDP 15 0K 1K 166960K 213 0 temp 79 8660K 63444K 166960K 244646 0 kqueue 13 20K 33K 166960K 953 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 603 0 599 7 6 1 5 0 8 0 rtentry 176 329 0 246 6 0 6 6 0 8 0 unpcb 144 3438 0 3420 25 19 6 9 0 8 5 syncache 336 14 0 14 4 4 0 1 0 8 0 tcpcb 736 1694 0 1682 22 15 7 8 0 8 5 arp 136 52 0 39 1 0 1 1 0 8 0 inpcb 328 5634 0 5618 37 29 8 16 0 8 5 nd6 152 65 0 43 2 0 2 2 0 8 0 pkpcb 40 73 0 73 3 2 1 1 0 8 1 kcovpl 48 17 0 8 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 218 0 218 2 1 1 1 0 8 1 pppxif 1504 40 0 40 7 6 1 1 0 8 1 pfstscr 40 2 0 2 2 2 0 1 0 8 0 pffrag 232 41 0 21 2 0 2 2 0 482 0 pffrnode 88 32 0 13 1 0 1 1 0 8 0 pffrent 40 201 0 180 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 33 0 30 2 1 1 1 0 8 0 pfanchor 1288 17 0 16 2 1 1 1 0 8 0 pftag 88 6 0 1 1 0 1 1 0 8 0 pfstitem 24 245 0 135 1 0 1 1 0 8 0 pfstkey 128 311 0 201 4 0 4 4 0 8 0 pfstate 384 278 0 169 12 0 12 12 0 8 0 pfrule 1344 39 0 32 2 1 1 2 0 8 0 rttmr 136 10 0 10 4 3 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1556 0 1173 35 10 25 30 0 8 1 art_table 40 1561 0 1173 5 0 5 5 0 8 0 art_node 32 326 0 255 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semupl 112 69 0 69 4 4 0 1 0 8 0 semapl 112 259 0 249 1 0 1 1 0 8 0 shmpl 112 129 0 1 4 0 4 4 0 8 0 dirhash 1024 75 0 58 3 0 3 3 0 8 0 dino2pl 256 10263 0 8741 96 0 96 96 0 8 0 ffsino 296 10263 0 8741 118 0 118 118 0 8 0 nchpl 144 16438 0 14708 65 0 65 65 0 8 0 rtmask 32 45 0 45 4 3 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 63884 0 63884 2 1 1 2 0 8 1 percpumem 16 330 0 278 1 0 1 1 0 8 0 pfiaddrpl 120 17 0 16 2 1 1 1 0 8 0 kstatmem 264 362 0 328 3 0 3 3 0 8 0 scsiplug 72 13 0 13 3 3 0 1 0 8 0 scxspl 216 97354 0 97354 17 15 2 8 1 8 2 plimitpl 152 1504 0 1485 1 0 1 1 0 8 0 sigapl 424 4713 0 4665 7 0 7 7 0 8 0 knotepl 120 643 0 0 18 0 18 18 0 8 0 kqueuepl 224 1982 0 1973 21 16 5 5 0 8 4 pipepl 344 817 0 787 14 10 4 9 0 8 0 fdescpl 528 4672 0 4640 3 0 3 3 0 8 0 filepl 160 38232 0 37993 42 26 16 26 0 8 2 lockfpl 104 1914 0 1911 3 2 1 2 0 8 0 lockfspl 48 694 0 691 1 0 1 1 0 8 0 sessionpl 144 41 0 32 1 0 1 1 0 8 0 pgrppl 48 262 0 244 1 0 1 1 0 8 0 ucredpl 104 7122 0 7108 1 0 1 1 0 8 0 zombiepl 144 4862 0 4860 1 0 1 1 0 8 0 processpl 1232 4713 0 4665 5 0 5 5 0 8 0 procpl 664 11660 0 11607 6 0 6 6 0 8 0 sosppl 176 34 0 34 4 3 1 1 0 8 1 sockpl 752 10000 0 9962 92 75 17 24 0 8 11 mcl64k 65536 25 0 0 4 0 4 4 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 96 0 0 11 0 11 11 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 2252 0 0 140 0 140 140 0 8 0 bufpl 280 38257 0 32120 439 0 439 439 0 8 0 anonpl 32 17144 0 0 138 0 138 138 0 246 0 amapchunkpl 152 145767 0 145167 61 26 35 40 0 158 5 amappl16 200 16388 0 16173 88 61 27 33 0 8 6 amappl15 192 6 0 6 2 2 0 1 0 8 0 amappl14 184 5 0 5 1 1 0 1 0 8 0 amappl13 176 538 0 535 1 0 1 1 0 8 0 amappl12 168 5166 0 5122 3 0 3 3 0 8 0 amappl11 160 10 0 10 3 3 0 1 0 8 0 amappl10 152 52 0 37 1 0 1 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 45 0 41 1 0 1 1 0 8 0 amappl7 128 120 0 118 1 0 1 1 0 8 0 amappl6 120 400 0 383 1 0 1 1 0 8 0 amappl5 112 86 0 75 1 0 1 1 0 8 0 amappl4 104 512 0 480 1 0 1 1 0 8 0 amappl3 96 25676 0 25581 5 1 4 4 0 8 0 amappl2 88 4848 0 4767 2 0 2 2 0 8 0 amappl1 80 30316 0 29703 15 0 15 15 0 8 0 amappl 88 39722 0 39548 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 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 3 3 0 1 0 8 0 dma64 64 73 0 73 4 4 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 131 0 1 3 0 3 3 0 8 0 uaddrrnd 24 4672 0 4640 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4672 0 4640 1 0 1 1 0 8 0 vmmpekpl 168 34645 0 34593 3 0 3 3 0 8 0 vmmpepl 168 299336 0 297173 140 27 113 118 0 357 7 vmsppl 488 4671 0 4640 5 0 5 5 0 8 0 rwobjpl 80 80807 0 73584 159 4 155 157 0 8 1 pdppl 4096 9351 0 9280 129 52 77 83 0 8 6 pvpl 32 27064 0 0 219 1 218 218 0 265 0 pmappl 256 4671 0 4640 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 483 0 90 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+25 rtm_msg1(14,ffff80002a338258) at rtm_msg1+774 rtm_addr(14,ffff800001712f00) at rtm_addr+185 in6_update_ifa(ffff800000afd800,ffff80002a338670,ffff800001712f00) at in6_update_ifa+6554 in6_ioctl_change_ifaddr(8080691a,ffff80002a338670,ffff800000afd800) at in6_ioctl_change_ifaddr+1614 ifioctl(ffff800001703290,8080691a,ffff80002a338670,ffff80002ffde550) at ifioctl+5842 sys_ioctl(ffff80002ffde550,ffff80002a338850,ffff80002a3387a0) at sys_ioctl+1652 syscall(ffff80002a338850) at syscall+3028 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x6e2f93ca860, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 acpicpu_idle() at acpicpu_idle+1111 sched_idle(ffff8000299edff0) at sched_idle+913 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 acpicpu_idle() at acpicpu_idle+1111 sched_idle(ffff8000299edff0) at sched_idle+913 end trace frame: 0x0, count: -5