uvm_fault(0xffffffff827df520, 0xffff800000b26000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff827df520, 0xffff800000b26000, 0, 1) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff800023ef1610, count: 0 ddb{0}> trace memcpy() at memcpy+0x15 rtrequest(1,ffff800023ef1650,4,0,0) at rtrequest+0x85e sys/net/route.c:930 in6_update_ifa(ffff800000b2a800,ffff800023ef19c0,0) at in6_update_ifa+0x1732 sys/netinet6/in6.c:810 in6_ioctl_change_ifaddr(8080691a,ffff800023ef19c0,ffff800000b2a800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352 ifioctl(fffffd8067f11978,8080691a,ffff800023ef19c0,ffff800020e224f8) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd80668dc908,8080691a,ffff800023ef19c0,ffff800020e224f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e224f8,ffff800023ef1ad8,ffff800023ef1b20) at sys_ioctl+0x4a5 syscall(ffff800023ef1ba0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ef1ba0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb0a3d19520, count: -9 ddb{0}> show registers rdi 0xffff800000b250c0 rsi 0xffff800000b26000 rbp 0xffff800023ef1510 rbx 0xffff800000b25f40 rdx 0xe8 rcx 0x5 rax 0xfffffffffffff0c0 r8 0x70 r9 0x1 r10 0x5a5b0b42b8529908 r11 0xffff800000b25000 r12 0xffff800000b25000 r13 0xe8 r14 0 r15 0xfffffd8067ef0b68 rip 0xffffffff81f68805 memcpy+0x15 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800023ef14a8 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor.1) pid=167719 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800020e22018,0xffffffff82915620 process=0xffff800020e09730 user=0xffff800023eec000, vmspace=0xfffffd80779c1b90 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 18861 241069 39694 0 2 0 syz-executor.1 *18861 167719 39694 0 7 0x4000000 syz-executor.1 82046 452595 1 0 3 0x100083 ttyin getty 39694 500745 14349 0 2 0x482 syz-executor.1 11570 62356 0 0 3 0x14200 bored sosplice 7243 58279 14349 0 7 0x482 syz-executor.0 14349 293359 26112 0 3 0x82 kqread syz-fuzzer 14349 190685 26112 0 2 0x4000482 syz-fuzzer 14349 154139 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 264147 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 153994 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 101012 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 517989 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 509955 26112 0 3 0x4000082 thrsleep syz-fuzzer 14349 242854 26112 0 2 0x4000482 syz-fuzzer 14349 184079 26112 0 3 0x4000082 thrsleep syz-fuzzer 26112 312702 89938 0 3 0x10008a pause ksh 89938 19524 4054 0 3 0x92 select sshd 4054 299294 1 0 3 0x80 select sshd 42623 6601 89502 74 3 0x100092 bpf pflogd 89502 173564 1 0 3 0x80 netio pflogd 3985 239154 33101 73 3 0x100090 kqread syslogd 33101 222428 1 0 3 0x100082 netio syslogd 81201 68673 1 77 3 0x100090 poll dhclient 24855 72618 1 0 3 0x80 poll dhclient 81417 374443 0 0 3 0x14200 bored smr 13130 413919 0 0 3 0x14200 pgzero zerothread 84752 141628 0 0 3 0x14200 aiodoned aiodoned 35603 96384 0 0 3 0x14200 syncer update 2969 519593 0 0 3 0x14200 cleaner cleaner 38453 478189 0 0 3 0x14200 reaper reaper 97801 65537 0 0 3 0x14200 pgdaemon pagedaemon 30796 127359 0 0 3 0x14200 bored crynlk 14396 490574 0 0 3 0x14200 bored crypto 13379 447763 0 0 3 0x40014200 acpi0 acpi0 10712 373502 0 0 3 0x40014200 idle1 42370 220423 0 0 3 0x14200 bored softnet 14014 352109 0 0 3 0x14200 bored systqmp 17969 131976 0 0 3 0x14200 bored systq 7172 60479 0 0 3 0x40014200 bored softclock 51100 312395 0 0 3 0x40014200 idle0 1 364512 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 18861 (syz-executor.1) thread 0xffff800020e224f8 (167719) exclusive rwlock netlock r = 0 (0xffffffff826f74b8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 in6_ioctl_change_ifaddr+0x155 sys/netinet6/in6.c:295 #2 ifioctl+0xe70 sys/net/if.c:2282 #3 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #4 sys_ioctl+0x4a5 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82910c50) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 soo_ioctl+0x26a sys/kern/sys_socket.c:138 #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9516 6478K 6994K 78643K 10861 0 pcb 13 8K 8K 78643K 55 0 rtable 100 4K 4K 78643K 303 0 ifaddr 69 14K 14K 78643K 111 0 counters 43 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1488 0 iov 0 0K 16K 78643K 33 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1315 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 23 0 dirhash 6 1K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 206 0 sigio 0 0K 0K 78643K 1 0 proc 61 63K 95K 78643K 510 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 18 0 in_multi 44 2K 2K 78643K 89 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 233 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 136 88K 88K 78643K 1727 0 UVM aobj 7 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 18 0 NDP 11 0K 0K 78643K 27 0 temp 91 3857K 3921K 78643K 12527 0 kqueue 3 4K 8K 78643K 12 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 24 0 22 1 0 1 1 0 8 0 rtentry 112 67 0 27 2 0 2 2 0 8 0 unpcb 120 217 0 206 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 156 0 156 1 1 0 1 0 8 0 tcpcb 544 132 0 128 1 0 1 1 0 8 0 inpcb 296 299 0 289 3 1 2 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pffrag 232 3 0 3 2 1 1 1 0 482 1 pffrnode 88 3 0 3 2 1 1 1 0 8 1 pffrent 40 51 0 51 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 33 0 8 1 0 1 1 0 8 0 pfstkey 112 33 0 8 1 0 1 1 0 8 0 pfstate 328 33 0 8 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 250 0 68 13 0 13 13 0 8 0 art_table 32 252 0 68 2 0 2 2 0 8 0 art_node 16 65 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 17 0 7 1 0 1 1 0 8 0 shmpl 112 6 0 2 2 1 1 1 0 8 0 dirhash 1024 17 0 13 3 0 3 3 0 8 1 dino2pl 256 1668 0 261 89 0 89 89 0 8 0 ffsino 272 1668 0 261 96 1 95 95 0 8 0 nchpl 144 2129 0 533 60 0 60 60 0 8 0 uvmvnodes 72 1781 0 0 33 0 33 33 0 8 0 vnodes 208 1781 0 0 94 0 94 94 0 8 0 namei 1024 5950 0 5950 1 0 1 1 0 8 1 percpumem 16 38 0 6 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 12 0 5 1 0 1 1 0 8 0 scxspl 192 6576 0 6576 8 7 1 7 0 8 1 plimitpl 152 35 0 27 1 0 1 1 0 8 0 sigapl 424 420 0 387 4 0 4 4 0 8 0 futexpl 56 2561 0 2561 1 0 1 1 0 8 1 knotepl 112 86 0 67 1 0 1 1 0 8 0 kqueuepl 144 34 0 31 1 0 1 1 0 8 0 pipelkpl 48 102 0 92 1 0 1 1 0 8 0 pipepl 120 204 0 185 1 0 1 1 0 8 0 fdescpl 496 404 0 387 3 0 3 3 0 8 0 filepl 152 2408 0 2299 5 0 5 5 0 8 0 lockfpl 104 69 0 68 1 0 1 1 0 8 0 lockfspl 48 22 0 21 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 159 0 150 1 0 1 1 0 8 0 zombiepl 144 388 0 387 1 0 1 1 0 8 0 processpl 984 420 0 387 5 0 5 5 0 8 0 procpl 624 889 0 846 5 0 5 5 0 8 1 sosppl 128 10 0 10 2 1 1 1 0 8 1 sockpl 400 543 0 520 5 2 3 4 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 165 0 0 20 0 20 20 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 293 0 0 17 0 17 17 0 8 0 bufpl 280 3799 0 133 262 0 262 262 0 8 0 anonpl 16 54218 0 38480 66 1 65 65 0 124 0 amapchunkpl 152 2901 0 2734 20 13 7 20 0 158 0 amappl16 192 1680 0 804 45 1 44 45 0 8 0 amappl15 184 76 0 73 1 0 1 1 0 8 0 amappl14 176 35 0 29 1 0 1 1 0 8 0 amappl13 168 79 0 74 1 0 1 1 0 8 0 amappl12 160 5 0 3 1 0 1 1 0 8 0 amappl11 152 59 0 44 1 0 1 1 0 8 0 amappl10 144 30 0 24 1 0 1 1 0 8 0 amappl9 136 425 0 424 1 0 1 1 0 8 0 amappl8 128 423 0 386 2 0 2 2 0 8 0 amappl7 120 126 0 113 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 299 0 280 1 0 1 1 0 8 0 amappl4 96 554 0 523 1 0 1 1 0 8 0 amappl3 88 106 0 100 1 0 1 1 0 8 0 amappl2 80 2269 0 2192 2 0 2 2 0 8 0 amappl1 72 19219 0 18755 22 12 10 17 0 8 0 amappl 80 1160 0 1107 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 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 64 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 416 0 392 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 416 0 392 1 0 1 1 0 8 0 vmmpekpl 168 7375 0 7336 2 0 2 2 0 8 0 vmmpepl 168 57607 0 55431 137 15 122 128 0 357 26 vmsppl 368 415 0 392 3 0 3 3 0 8 0 pdppl 4096 839 0 791 7 0 7 7 0 8 0 pvpl 32 181683 0 162804 161 5 156 160 0 265 2 pmappl 232 415 0 392 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 6 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+0x15 rtrequest(1,ffff800023ef1650,4,0,0) at rtrequest+0x85e sys/net/route.c:930 in6_update_ifa(ffff800000b2a800,ffff800023ef19c0,0) at in6_update_ifa+0x1732 sys/netinet6/in6.c:810 in6_ioctl_change_ifaddr(8080691a,ffff800023ef19c0,ffff800000b2a800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352 ifioctl(fffffd8067f11978,8080691a,ffff800023ef19c0,ffff800020e224f8) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd80668dc908,8080691a,ffff800023ef19c0,ffff800020e224f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e224f8,ffff800023ef1ad8,ffff800023ef1b20) at sys_ioctl+0x4a5 syscall(ffff800023ef1ba0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ef1ba0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb0a3d19520, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82910a48) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82910a48) at __mp_lock+0x120 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82910a48,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020eeb980,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020eeb980,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020eeb980,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff827ade78,120,ffffffff823ebbd1,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff800020dddd48,ffff800020eebab0,ffff800020eebb00) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff800020eebb80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eebb80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcb6e0, count: -12