uvm_fault(0xffffffff8263e320, 0xffff800000ab2000, 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(0xffffffff8263e320, 0xffff800000ab2000, 0, 1) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff800024211050, count: 0 ddb{0}> trace memcpy() at memcpy+0x15 rtm_msg1(c,ffff800024211068) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_addr(c,ffff800000ab1f00) at rtm_addr+0x9b sys/net/rtsock.c:1740 rt_ifa_add(ffff800000ab1f00,240404,ffff800000ab1f40,0) at rt_ifa_add+0x2a7 sys/net/route.c:1140 rt_ifa_addlocal(ffff800000ab1f00) at rt_ifa_addlocal+0x16d sys/net/route.c:1238 in_ifinit(ffff8000009d5000,ffff800000ab1f00,ffff800000ab1f58,0) at in_ifinit+0x1cf sys/netinet/in.c:688 in_ioctl_change_ifaddr(8040691a,ffff8000242115d0,ffff8000009d5000,1) at in_ioctl_change_ifaddr+0x68c sys/netinet/in.c:519 in_ioctl(8040691a,ffff8000242115d0,ffff8000009d5000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd806eb34648,8040691a,ffff8000242115d0,ffff800023170508) at ifioctl+0xe70 sys/net/if.c:2289 soo_ioctl(fffffd80674131e8,8040691a,ffff8000242115d0,ffff800023170508) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800023170508,ffff8000242116e8,ffff800024211730) at sys_ioctl+0x4a5 syscall(ffff8000242117b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242117b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x805f229c6d0, count: -13 ddb{0}> show registers rdi 0xfffffd806db27f98 rsi 0xffff800000ab2000 rbp 0xffff800024210fe0 rbx 0 rdx 0xa0 rcx 0x5 rax 0x7d806d075f98 r8 0x2 r9 0x1 r10 0x1e2d7ef63d84e6be r11 0xfffffd806db27f20 r12 0xa0 r13 0xa0 r14 0xffff800000ab1f88 r15 0xfffffd806db27f00 rip 0xffffffff811668a5 memcpy+0x15 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800024210f18 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor.0) pid=452312 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=56, nice=20 forw=0xffffffffffffffff, list=0xffff800023171138,0xffff800023171b08 process=0xffff8000241fe038 user=0xffff80002420c000, vmspace=0xfffffd807efffb80 estcpu=15, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30881 517880 82870 0 2 0 syz-executor.1 30881 108641 82870 0 3 0x4000080 fsleep syz-executor.1 67619 299714 13836 0 2 0 syz-executor.0 *67619 452312 13836 0 7 0x4000000 syz-executor.0 67619 271561 13836 0 3 0x4000080 fsleep syz-executor.0 17358 284271 0 0 3 0x14200 bored sosplice 32688 265876 0 0 3 0x14280 nfsidl nfsio 9240 211562 0 0 3 0x14280 nfsidl nfsio 13351 477137 0 0 3 0x14280 nfsidl nfsio 18937 327705 0 0 3 0x14280 nfsidl nfsio 76760 43070 0 0 3 0x14280 nfsidl nfsio 78334 136920 0 0 3 0x14280 nfsidl nfsio 21598 138937 0 0 3 0x14280 nfsidl nfsio 67541 1438 0 0 3 0x14280 nfsidl nfsio 87651 300684 0 0 3 0x14280 nfsidl nfsio 12373 368851 0 0 3 0x14280 nfsidl nfsio 79083 114106 0 0 3 0x14280 nfsidl nfsio 55172 468724 0 0 3 0x14280 nfsidl nfsio 6584 385601 0 0 3 0x14280 nfsidl nfsio 59812 166247 0 0 3 0x14280 nfsidl nfsio 59220 394064 0 0 3 0x14280 nfsidl nfsio 36401 439210 0 0 3 0x14280 nfsidl nfsio 79378 201241 0 0 3 0x14280 nfsidl nfsio 64841 301104 0 0 3 0x14280 nfsidl nfsio 7285 395356 0 0 3 0x14280 nfsidl nfsio 74406 485344 0 0 3 0x14280 nfsidl nfsio 82870 131576 99572 0 3 0x82 nanosleep syz-executor.1 13836 187019 99572 0 2 0x482 syz-executor.0 99572 177455 33183 0 3 0x82 thrsleep syz-fuzzer 99572 425587 33183 0 2 0x4000482 syz-fuzzer 99572 65398 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 234375 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 128950 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 330325 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 114817 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 130220 33183 0 3 0x4000082 kqread syz-fuzzer 99572 288390 33183 0 3 0x4000082 thrsleep syz-fuzzer 99572 506797 33183 0 3 0x4000082 thrsleep syz-fuzzer 33183 474185 36734 0 3 0x10008a pause ksh 36734 32854 21334 0 3 0x92 select sshd 86708 302904 1 0 3 0x100083 ttyin getty 21334 504944 1 0 3 0x80 select sshd 82876 293251 96688 74 3 0x100092 bpf pflogd 96688 57201 1 0 3 0x80 netio pflogd 36956 332689 51977 73 7 0x100090 syslogd 51977 351097 1 0 3 0x100082 netio syslogd 8094 183701 1 77 3 0x100090 poll dhclient 77192 483601 1 0 3 0x80 poll dhclient 92795 364436 0 0 3 0x14200 bored smr 14920 86458 0 0 2 0x14200 zerothread 5856 375694 0 0 3 0x14200 aiodoned aiodoned 99158 281551 0 0 3 0x14200 syncer update 50529 384669 0 0 3 0x14200 cleaner cleaner 18365 168306 0 0 3 0x14200 reaper reaper 95176 235407 0 0 3 0x14200 pgdaemon pagedaemon 64502 253600 0 0 3 0x14200 bored crynlk 56347 125363 0 0 3 0x14200 bored crypto 38909 227827 0 0 3 0x40014200 acpi0 acpi0 23039 97649 0 0 3 0x40014200 idle1 48603 63999 0 0 3 0x14200 bored softnet 24309 140918 0 0 3 0x14200 bored systqmp 10716 374963 0 0 3 0x14200 bored systq 34776 34253 0 0 3 0x40014200 bored softclock 95537 14183 0 0 3 0x40014200 idle0 1 15475 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 67619 (syz-executor.0) thread 0xffff800023170508 (452312) exclusive rwlock netlock r = 0 (0xffffffff824b44a8) #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:2289 #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 (0xffffffff8268a470) #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 9492 6409K 7248K 78643K 11369 0 pcb 13 8K 8K 78643K 55 0 rtable 115 4K 4K 78643K 252 0 ifaddr 71 16K 16K 78643K 86 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1480 0 iov 0 0K 12K 78643K 24 0 mount 1 1K 1K 78643K 1 0 vnodes 1215 76K 77K 78643K 1419 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 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 221 0 sigio 0 0K 0K 78643K 3 0 proc 61 63K 95K 78643K 461 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 47 0 in_multi 89 4K 4K 78643K 105 0 ether_multi 1 0K 0K 78643K 8 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 230 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 128 23K 24K 78643K 1643 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 8 0K 0K 78643K 14 0 temp 85 3034K 3100K 78643K 10223 0 kqueue 3 4K 8K 78643K 8 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 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 52 0 6 2 0 2 2 0 8 0 unpcb 120 162 0 152 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 315 0 315 1 1 0 1 0 8 0 tcpcb 544 126 0 119 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 280 351 0 341 3 1 2 2 0 8 1 nd6 48 7 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 1 1 1 0 8 1 pffrag 232 3 0 3 1 1 0 1 0 482 0 pffrnode 88 3 0 3 1 1 0 1 0 8 0 pffrent 40 6 0 6 1 1 0 1 0 8 0 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 28 0 4 1 0 1 1 0 8 0 pfstkey 112 28 0 4 1 0 1 1 0 8 0 pfstate 328 28 0 4 3 0 3 3 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 228 0 2 15 0 15 15 0 8 0 art_table 32 229 0 2 2 0 2 2 0 8 0 art_node 16 49 0 7 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1711 0 310 89 1 88 89 0 8 0 ffsino 272 1711 0 310 95 1 94 94 0 8 0 nchpl 144 2208 0 599 60 0 60 60 0 8 0 uvmvnodes 72 1913 0 0 35 0 35 35 0 8 0 vnodes 208 1913 0 0 101 0 101 101 0 8 0 namei 1024 6032 0 6032 3 2 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6394 0 6394 7 6 1 5 0 8 1 plimitpl 152 33 0 25 1 0 1 1 0 8 0 sigapl 424 457 0 404 6 0 6 6 0 8 0 futexpl 56 3181 0 3179 2 1 1 1 0 8 0 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 24 0 22 1 0 1 1 0 8 0 pipelkpl 48 104 0 94 1 0 1 1 0 8 0 pipepl 120 208 0 189 1 0 1 1 0 8 0 fdescpl 496 421 0 404 3 0 3 3 0 8 0 filepl 152 2433 0 2330 6 1 5 5 0 8 1 lockfpl 104 57 0 56 1 0 1 1 0 8 0 lockfspl 48 19 0 18 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 250 0 241 1 0 1 1 0 8 0 zombiepl 144 404 0 404 2 1 1 1 0 8 1 processpl 984 457 0 404 8 1 7 7 0 8 0 procpl 624 876 0 811 6 0 6 6 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 538 0 516 7 3 4 4 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 174 0 0 21 0 21 21 0 8 0 mtagpl 80 117 0 0 3 0 3 3 0 8 0 mbufpl 256 338 0 0 20 0 20 20 0 8 0 bufpl 280 4076 0 133 282 0 282 282 0 8 0 anonpl 16 50889 0 36661 61 1 60 60 0 124 0 amapchunkpl 152 2304 0 2155 10 2 8 10 0 158 0 amappl16 192 1742 0 961 41 1 40 40 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 26 0 20 1 0 1 1 0 8 0 amappl13 168 30 0 27 1 0 1 1 0 8 0 amappl12 160 93 0 91 2 1 1 1 0 8 0 amappl11 152 63 0 47 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 486 0 483 1 0 1 1 0 8 0 amappl8 128 460 0 423 2 0 2 2 0 8 0 amappl7 120 118 0 106 1 0 1 1 0 8 0 amappl6 112 24 0 19 2 1 1 1 0 8 0 amappl5 104 403 0 385 1 0 1 1 0 8 0 amappl4 96 487 0 458 1 0 1 1 0 8 0 amappl3 88 118 0 112 1 0 1 1 0 8 0 amappl2 80 2429 0 2349 2 0 2 2 0 8 0 amappl1 72 19234 0 18782 22 11 11 18 0 8 0 amappl 80 1116 0 1069 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 421 0 404 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 421 0 404 1 0 1 1 0 8 0 vmmpekpl 168 7354 0 7319 2 0 2 2 0 8 0 vmmpepl 168 57942 0 55897 111 20 91 105 0 357 2 vmsppl 368 420 0 404 2 0 2 2 0 8 0 pdppl 4096 850 0 808 6 0 6 6 0 8 0 pvpl 32 176686 0 159096 152 5 147 150 0 265 2 pmappl 232 420 0 404 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 276 0 10 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+0x15 rtm_msg1(c,ffff800024211068) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_addr(c,ffff800000ab1f00) at rtm_addr+0x9b sys/net/rtsock.c:1740 rt_ifa_add(ffff800000ab1f00,240404,ffff800000ab1f40,0) at rt_ifa_add+0x2a7 sys/net/route.c:1140 rt_ifa_addlocal(ffff800000ab1f00) at rt_ifa_addlocal+0x16d sys/net/route.c:1238 in_ifinit(ffff8000009d5000,ffff800000ab1f00,ffff800000ab1f58,0) at in_ifinit+0x1cf sys/netinet/in.c:688 in_ioctl_change_ifaddr(8040691a,ffff8000242115d0,ffff8000009d5000,1) at in_ioctl_change_ifaddr+0x68c sys/netinet/in.c:519 in_ioctl(8040691a,ffff8000242115d0,ffff8000009d5000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd806eb34648,8040691a,ffff8000242115d0,ffff800023170508) at ifioctl+0xe70 sys/net/if.c:2289 soo_ioctl(fffffd80674131e8,8040691a,ffff8000242115d0,ffff800023170508) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800023170508,ffff8000242116e8,ffff800024211730) at sys_ioctl+0x4a5 syscall(ffff8000242117b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242117b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x805f229c6d0, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020e00ff0) 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(ffffffff8268a268) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8268a268) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8268a268,2) 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(ffff800020ee4a90,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ee4a90,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ee4a90,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806e9acea0,118,ffffffff8224bed1,7a0) at tsleep+0x1cc sys/kern/kern_synch.c:155 kqueue_sleep(fffffd806e9acea0,ffff800020ee4f20) at kqueue_sleep+0x101 sys/kern/kern_event.c:860 kqueue_scan(fffffd806e9acea0,40,1812286a2800,ffff800020ee4f20,ffff800020ed0eb0,ffff800020ee4f6c) at kqueue_scan+0x2b6 sys/kern/kern_event.c:903 sys_kevent(ffff800020ed0eb0,ffff800020ee4fe0,ffff800020ee5030) at sys_kevent+0x464 sys/kern/kern_event.c:615 syscall(ffff800020ee50b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ee50b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3920, count: -14