login: uvm_fault(0xffffffff8285b1b8, 0xffff800000b27000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff8285b1b8, 0xffff800000b27000, 0, 1) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff800022727060, count: 0 ddb{1}> trace memcpy() at memcpy+0x15 rtm_msg1(c,ffff800022727078) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_addr(c,ffff800000b26f00) at rtm_addr+0x9b sys/net/rtsock.c:1740 rt_ifa_add(ffff800000b26f00,240404,ffff800000b26f40,0) at rt_ifa_add+0x2a7 sys/net/route.c:1140 rt_ifa_addlocal(ffff800000b26f00) at rt_ifa_addlocal+0x16d sys/net/route.c:1238 in_ifinit(ffff800000af6000,ffff800000b26f00,ffff800000b26f58,0) at in_ifinit+0x1cf sys/netinet/in.c:688 in_ioctl_change_ifaddr(8040691a,ffff8000227275e0,ffff800000af6000,1) at in_ioctl_change_ifaddr+0x68c sys/netinet/in.c:519 in_ioctl(8040691a,ffff8000227275e0,ffff800000af6000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd806f686af0,8040691a,ffff8000227275e0,ffff800020e47878) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd807d7ec448,8040691a,ffff8000227275e0,ffff800020e47878) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e47878,ffff8000227276f8,ffff800022727740) at sys_ioctl+0x4a5 syscall(ffff8000227277c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000227277c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaa5750d6a10, count: -13 ddb{1}> show registers rdi 0xfffffd806d426998 rsi 0xffff800000b27000 rbp 0xffff800022726ff0 rbx 0 rdx 0xa0 rcx 0x5 rax 0x7d806c8ff998 r8 0x2 r9 0x1 r10 0x839775a00a93eee6 r11 0xfffffd806d426920 r12 0xa0 r13 0xa0 r14 0xffff800000b26f88 r15 0xfffffd806d426900 rip 0xffffffff81e84505 memcpy+0x15 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800022726f28 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (syz-executor.0) pid=52446 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e46eb8,0xffff800020e46c58 process=0xffff800020dfc7d0 user=0xffff800022722000, vmspace=0xfffffd807f000000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 44836 249898 68987 0 2 0 syz-executor.0 *44836 52446 68987 0 7 0x4000000 syz-executor.0 44836 394072 68987 0 3 0x4000080 fsleep syz-executor.0 64640 253213 44103 0 2 0 syz-executor.1 64640 33695 44103 0 7 0x4000000 syz-executor.1 64640 29264 44103 0 3 0x4000080 fsleep syz-executor.1 45927 104165 1 0 3 0x100083 ttyin getty 3386 497564 0 0 3 0x14200 bored sosplice 68987 43903 55572 0 3 0x82 nanosleep syz-executor.0 44103 76280 55572 0 3 0x82 nanosleep syz-executor.1 55572 130889 32334 0 3 0x82 thrsleep syz-fuzzer 55572 15543 32334 0 3 0x4000082 nanosleep syz-fuzzer 55572 467004 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 446910 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 158543 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 165912 32334 0 3 0x4000082 kqread syz-fuzzer 55572 479986 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 490358 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 169860 32334 0 3 0x4000082 thrsleep syz-fuzzer 55572 110248 32334 0 3 0x4000082 thrsleep syz-fuzzer 32334 217249 6140 0 3 0x10008a pause ksh 6140 162923 22473 0 3 0x92 select sshd 22473 35689 1 0 3 0x80 select sshd 97336 64962 11615 74 3 0x100092 bpf pflogd 11615 241746 1 0 3 0x80 netio pflogd 96173 366496 4322 73 3 0x100090 kqread syslogd 4322 339152 1 0 3 0x100082 netio syslogd 99222 265455 1 77 3 0x100090 poll dhclient 20173 436114 1 0 3 0x80 poll dhclient 42753 276575 0 0 3 0x14200 bored smr 39681 410206 0 0 2 0x14200 zerothread 32481 197242 0 0 3 0x14200 aiodoned aiodoned 7871 246515 0 0 3 0x14200 syncer update 56552 98963 0 0 3 0x14200 cleaner cleaner 50350 75854 0 0 3 0x14200 reaper reaper 5760 108450 0 0 3 0x14200 pgdaemon pagedaemon 75990 216826 0 0 3 0x14200 bored crynlk 70951 463818 0 0 3 0x14200 bored crypto 16683 355510 0 0 3 0x40014200 acpi0 acpi0 74117 119496 0 0 3 0x40014200 idle1 23329 400310 0 0 3 0x14200 bored softnet 6763 56519 0 0 3 0x14200 bored systqmp 24005 465253 0 0 3 0x14200 bored systq 370 314129 0 0 3 0x40014200 bored softclock 61741 424489 0 0 3 0x40014200 idle0 1 160805 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 44836 (syz-executor.0) thread 0xffff800020e47878 (52446) exclusive rwlock netlock r = 0 (0xffffffff827578e8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 in_ioctl_change_ifaddr+0x91 #2 in_ioctl+0x2fb sys/netinet/in.c:246 #3 ifioctl+0xe70 sys/net/if.c:2282 #4 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #5 sys_ioctl+0x4a5 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82928050) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9490 6413K 6660K 78643K 10701 0 pcb 13 8K 8K 78643K 36 0 rtable 104 3K 4K 78643K 276 0 ifaddr 54 12K 12K 78643K 94 0 counters 45 34K 34K 78643K 59 0 ioctlops 0 0K 4K 78643K 1477 0 iov 0 0K 16K 78643K 47 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1271 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 32 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 143 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 83K 78643K 456 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 8 0 in_multi 36 2K 2K 78643K 68 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 212 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 127 39K 39K 78643K 1418 0 UVM aobj 6 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 8 0K 0K 78643K 22 0 temp 82 3857K 3921K 78643K 2332 0 kqueue 4 6K 8K 78643K 15 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 57 0 15 2 0 2 2 0 8 0 unpcb 120 117 0 107 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 36 0 36 1 1 0 1 0 8 0 tcpcb 544 44 0 38 1 0 1 1 0 8 0 inpcb 296 148 0 139 1 0 1 1 0 8 0 nd6 48 11 0 7 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 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 25 0 3 1 0 1 1 0 8 0 pfstkey 112 25 0 3 1 0 1 1 0 8 0 pfstate 328 25 0 3 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 222 0 42 13 1 12 12 0 8 0 art_table 32 223 0 42 2 0 2 2 0 8 0 art_node 16 56 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 30 0 20 1 0 1 1 0 8 0 shmpl 112 10 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1598 0 190 89 0 89 89 0 8 0 ffsino 272 1598 0 190 94 0 94 94 0 8 0 nchpl 144 1973 0 360 60 0 60 60 0 8 0 uvmvnodes 72 1671 0 0 31 0 31 31 0 8 0 vnodes 208 1671 0 0 88 0 88 88 0 8 0 namei 1024 5332 0 5332 1 0 1 1 0 8 1 percpumem 16 40 0 7 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 1 1 0 1 1 0 8 0 scxspl 192 5782 0 5782 8 3 5 7 0 8 5 plimitpl 152 22 0 14 1 0 1 1 0 8 0 sigapl 424 360 0 327 4 0 4 4 0 8 0 futexpl 56 1916 0 1914 1 0 1 1 0 8 0 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 78 0 73 1 0 1 1 0 8 0 pipelkpl 48 162 0 150 1 0 1 1 0 8 0 pipepl 120 324 0 303 1 0 1 1 0 8 0 fdescpl 496 344 0 327 3 0 3 3 0 8 0 filepl 152 2041 0 1933 5 0 5 5 0 8 0 lockfpl 104 48 0 47 1 0 1 1 0 8 0 lockfspl 48 23 0 22 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 158 0 149 1 0 1 1 0 8 0 zombiepl 144 327 0 327 1 0 1 1 0 8 1 processpl 984 360 0 327 5 0 5 5 0 8 0 procpl 624 623 0 577 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 284 0 263 5 1 4 5 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 157 0 0 19 0 19 19 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 197 0 0 12 0 12 12 0 8 0 bufpl 280 3485 0 132 240 0 240 240 0 8 0 anonpl 16 46573 0 30249 68 1 67 67 0 124 0 amapchunkpl 152 1702 0 1537 8 0 8 8 0 158 0 amappl16 192 1411 0 523 45 0 45 45 0 8 0 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 83 0 77 1 0 1 1 0 8 0 amappl13 168 29 0 26 1 0 1 1 0 8 0 amappl12 160 70 0 65 2 1 1 1 0 8 0 amappl11 152 113 0 96 1 0 1 1 0 8 0 amappl10 144 28 0 19 1 0 1 1 0 8 0 amappl9 136 379 0 378 1 0 1 1 0 8 0 amappl8 128 354 0 325 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 76 0 68 1 0 1 1 0 8 0 amappl5 104 253 0 235 1 0 1 1 0 8 0 amappl4 96 494 0 463 1 0 1 1 0 8 0 amappl3 88 127 0 122 1 0 1 1 0 8 0 amappl2 80 1865 0 1786 2 0 2 2 0 8 0 amappl1 72 17456 0 17003 23 13 10 18 0 8 0 amappl 80 874 0 824 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 11 0 6 1 0 1 1 0 8 0 uaddrrnd 24 346 0 328 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 346 0 328 1 0 1 1 0 8 0 vmmpekpl 168 7067 0 7031 2 0 2 2 0 8 0 vmmpepl 168 48944 0 46794 114 12 102 110 0 357 8 vmsppl 368 345 0 328 2 0 2 2 0 8 0 pdppl 4096 699 0 657 6 0 6 6 0 8 0 pvpl 32 161586 0 141958 165 1 164 165 0 265 2 pmappl 232 345 0 328 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 258 0 5 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826f0ff0) 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(ffffffff82927e48) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82927e48) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82927e48) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82927e48) at __mp_lock+0x127 sys/kern/kern_lock.c:147 sys_futex(ffff800020e47608,ffff800022705230,ffff800022705280) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff800022705300) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022705300) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaf3e4e89940, count: -10 ddb{0}> machine ddbcpu 1 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> trace memcpy() at memcpy+0x15 rtm_msg1(c,ffff800022727078) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_addr(c,ffff800000b26f00) at rtm_addr+0x9b sys/net/rtsock.c:1740 rt_ifa_add(ffff800000b26f00,240404,ffff800000b26f40,0) at rt_ifa_add+0x2a7 sys/net/route.c:1140 rt_ifa_addlocal(ffff800000b26f00) at rt_ifa_addlocal+0x16d sys/net/route.c:1238 in_ifinit(ffff800000af6000,ffff800000b26f00,ffff800000b26f58,0) at in_ifinit+0x1cf sys/netinet/in.c:688 in_ioctl_change_ifaddr(8040691a,ffff8000227275e0,ffff800000af6000,1) at in_ioctl_change_ifaddr+0x68c sys/netinet/in.c:519 in_ioctl(8040691a,ffff8000227275e0,ffff800000af6000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd806f686af0,8040691a,ffff8000227275e0,ffff800020e47878) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd807d7ec448,8040691a,ffff8000227275e0,ffff800020e47878) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e47878,ffff8000227276f8,ffff800022727740) at sys_ioctl+0x4a5 syscall(ffff8000227277c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000227277c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaa5750d6a10, count: -13