uvm_fault(0xffffffff82259780, 0xffff80000299c000, 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(0xffffffff82259780, 0xffff80000299c000, 0, 1) -> e memcpy(fffffd80784ef0e8,ffff80000299bf0d,7,fffffd80784ef0e8,2708650d20201c5a,ffff800020c50c38) at memcpy+0x15 end trace frame: 0xffff800020c50b40, count: 0 ddb{0}> trace memcpy(fffffd80784ef0e8,ffff80000299bf0d,7,fffffd80784ef0e8,2708650d20201c5a,ffff800020c50c38) at memcpy+0x15 rtrequest(1,ffff800020c50c38,38,ffff800020c50b80,7) at rtrequest+0x83c sys/net/route.c:917 rtm_output(ffff80000299bf00,ffff800020c50c30,ffff800020c50c38,38,7) at rtm_output+0x760 sys/net/rtsock.c:888 route_output(fffffd806f2ece00,fffffd806f73f900,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806f73f900,9,fffffd806f2ece00,0,0,ffff800020b75c38) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806f73f900,0,ffff800020c50ef8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b75c38,3,ffff800020c50fb8,0,ffff800020c51080) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b75c38,ffff800020c51098,ffff800020c51080) at sys_sendto+0x92 syscall(ffff800020c51130) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c51130) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,6afe1b61010) at Xsyscall+0x128 end of kernel end trace frame: 0x6b29339a990, count: -10 ddb{0}> show registers rdi 0xffff80000299b0f0 rsi 0xffff80000299bffd rbp 0xffff800020c50a30 rbx 0xffff80000299bf0d rdx 0x100 rcx 0x2 rax 0xfffffffffffff0f3 r8 0 r9 0x5 r10 0xde592658a9d7fb4d r11 0xffff80000299b000 r12 0xffff80000299b000 r13 0x100 r14 0 r15 0xfffffd80784ef0e8 rip 0xffffffff810902a5 memcpy+0x15 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800020c509c8 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor.0) pid=60988 stat=onproc flags process=0 proc=4000000 pri=68, usrpri=68, nice=20 forw=0xffffffffffffffff, list=0xffff800020b75530,0xffffffff8235c268 process=0xffff800020b8c018 user=0xffff800020c4c000, vmspace=0xfffffd807effe9d8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 9121 446206 51521 0 2 0 syz-executor.0 * 9121 60988 51521 0 7 0x4000000 syz-executor.0 7439 201891 32035 0 2 0 syz-executor.1 7439 290248 32035 0 3 0x4000000 biowait syz-executor.1 44514 27818 0 0 3 0x14200 bored sosplice 51521 127348 70091 0 2 0x482 syz-executor.0 32035 210058 70091 0 2 0x482 syz-executor.1 70091 400335 19987 0 3 0x82 thrsleep syz-fuzzer 70091 361733 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 127307 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 108262 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 30662 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 112799 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 88933 19987 0 3 0x4000082 kqread syz-fuzzer 70091 279623 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 369190 19987 0 3 0x4000082 thrsleep syz-fuzzer 70091 495369 19987 0 3 0x4000082 thrsleep syz-fuzzer 19987 292854 78417 0 3 0x10008a pause ksh 78417 30508 55218 0 3 0x92 select sshd 54700 497044 1 0 3 0x100083 ttyin getty 55218 118928 1 0 3 0x80 select sshd 76668 39722 73008 74 3 0x100092 bpf pflogd 73008 186771 1 0 3 0x80 netio pflogd 77267 68145 75895 73 7 0x100090 syslogd 75895 214421 1 0 3 0x100082 netio syslogd 33080 509931 1 77 3 0x100090 poll dhclient 83845 223402 1 0 3 0x80 poll dhclient 93424 221710 0 0 2 0x14200 zerothread 43445 419635 0 0 3 0x14200 aiodoned aiodoned 19888 276417 0 0 3 0x14200 syncer update 63737 48533 0 0 3 0x14200 cleaner cleaner 34465 154162 0 0 3 0x14200 reaper reaper 9965 133816 0 0 3 0x14200 pgdaemon pagedaemon 56220 498855 0 0 3 0x14200 bored crynlk 75261 188576 0 0 3 0x14200 bored crypto 6119 395388 0 0 3 0x40014200 acpi0 acpi0 65625 515481 0 0 3 0x40014200 idle1 43598 132614 0 0 3 0x14200 bored softnet 81120 393927 0 0 3 0x14200 bored systqmp 71474 307507 0 0 3 0x14200 bored systq 50276 484287 0 0 3 0x40014200 bored softclock 21115 109273 0 0 3 0x40014200 idle0 91429 304846 0 0 3 0x14200 bored smr 1 14881 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 9121 (syz-executor.0) thread 0xffff800020b75c38 (60988) exclusive rwlock netlock r = 0 (0xffffffff821c45d8) locked @ /syzkaller/managers/multicore/kernel/sys/net/rtsock.c:883 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 rtm_output+0x6b0 sys/net/rtsock.c:884 #2 route_output+0x79b sys/net/rtsock.c:806 #3 route_usrreq+0x35d sys/net/rtsock.c:271 #4 sosend+0x6eb sys/kern/uipc_socket.c:513 #5 sendit+0x590 sys/kern/uipc_syscalls.c:662 #6 sys_sendto+0x92 #7 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #7 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff823681d0) locked @ /syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/softintr.c:87 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 solock+0x7e sys/kern/uipc_socket2.c:292 #2 sosend+0x586 sys/kern/uipc_socket.c:501 #3 sendit+0x590 sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x92 #5 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #5 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #6 Xsyscall+0x128 Process 7439 (syz-executor.1) thread 0xffff800020b74978 (290248) exclusive rrwlock inode r = 0 (0xfffffd80688acf80) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 #0 witness_lock+0x594 sys/kern/subr_witness.c:1201 #1 _rw_enter+0x45d sys/kern/kern_rwlock.c:280 #2 _rrw_enter+0x60 sys/kern/kern_rwlock.c:410 #3 VOP_LOCK+0x57 sys/kern/vfs_vops.c:602 #4 vn_write+0x169 vn_lock sys/kern/vfs_vnops.c:549 [inline] #4 vn_write+0x169 sys/kern/vfs_vnops.c:393 #5 dofilewritev+0x1b0 sys/kern/sys_generic.c:364 #6 sys_pwritev+0xd9 sys/kern/vfs_syscalls.c:3161 #7 syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] #7 syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9518 6413K 6414K 78643K 10689 0 0 pcb 26 9K 10K 78643K 173 0 0 rtable 106 4K 4K 78643K 286 0 0 ifaddr 58 13K 13K 78643K 93 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1475 0 0 iov 1 12K 24K 78643K 119 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1196 75K 75K 78643K 1364 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 11 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 1K 78643K 45 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 6 17K 21K 78643K 341 0 0 proc 54 51K 79K 78643K 654 0 0 subproc 64 65538K 67586K 78643K 102 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 25 0 0 in_multi 33 2K 2K 78643K 59 0 0 ether_multi 1 0K 0K 78643K 5 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 215 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 86 20K 21K 78643K 1949 0 0 UVM aobj 24 2K 2K 78643K 26 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 14 0 0 NDP 12 0K 0K 78643K 26 0 0 temp 142 2368K 2433K 78643K 4092 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 5 0 1 1 0 1 1 0 8 0 inpcbpl 280 149 0 142 1 0 1 1 0 8 0 plimitpl 152 25 0 17 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 51 0 10 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 6 0 6 1 1 0 1 0 8 0 tcpcb 544 49 0 45 1 0 1 1 0 8 0 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1128 7 0 7 2 2 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 16 0 8 1 0 1 1 0 8 0 pfstkey 112 16 0 8 1 0 1 1 0 8 0 pfstate 328 16 0 8 1 0 1 1 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 226 0 41 12 0 12 12 0 8 0 art_table 32 227 0 41 2 0 2 2 0 8 0 art_node 16 49 0 15 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 41 0 31 1 0 1 1 0 8 0 shmpl 112 24 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2060 0 641 46 0 46 46 0 8 0 ffsino 272 2060 0 641 95 0 95 95 0 8 0 nchpl 144 2813 0 1177 61 0 61 61 0 8 0 uvmvnodes 72 2146 0 0 40 0 40 40 0 8 0 vnodes 200 2146 0 0 113 0 113 113 0 8 0 namei 1024 7747 0 7747 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 14279 0 14278 15 12 3 6 0 8 2 sigapl 432 537 0 521 2 0 2 2 0 8 0 futexpl 56 3623 0 3623 1 0 1 1 0 8 1 knotepl 112 92 0 73 1 0 1 1 0 8 0 kqueuepl 104 71 0 69 1 0 1 1 0 8 0 pipepl 112 268 0 249 2 1 1 1 0 8 0 fdescpl 488 538 0 521 3 0 3 3 0 8 0 filepl 152 2939 0 2838 5 0 5 5 0 8 1 lockfpl 104 277 0 276 2 1 1 1 0 8 0 lockfspl 32 214 0 213 2 1 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 538 0 529 1 0 1 1 0 8 0 zombiepl 144 521 0 521 2 1 1 1 0 8 1 processpl 840 554 0 521 4 0 4 4 0 8 0 procpl 600 1273 0 1229 4 0 4 4 0 8 0 srpgc 64 6 0 6 1 1 0 1 0 8 0 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 384 287 0 267 3 0 3 3 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 126 0 0 15 0 15 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 144 0 0 8 0 8 8 0 8 0 bufpl 256 10108 0 3084 440 0 440 440 0 8 0 anonpl 16 65965 0 57273 39 2 37 37 0 125 0 amapchunkpl 152 2729 0 2630 9 4 5 9 0 158 0 amappl16 192 2798 0 2348 24 0 24 24 0 8 0 amappl15 184 238 0 232 1 0 1 1 0 8 0 amappl14 176 32 0 29 2 1 1 1 0 8 0 amappl13 168 31 0 27 1 0 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 25 0 10 1 0 1 1 0 8 0 amappl10 144 197 0 191 1 0 1 1 0 8 0 amappl9 136 594 0 591 1 0 1 1 0 8 0 amappl8 128 145 0 131 1 0 1 1 0 8 0 amappl7 120 32 0 28 1 0 1 1 0 8 0 amappl6 112 59 0 52 1 0 1 1 0 8 0 amappl5 104 112 0 97 1 0 1 1 0 8 0 amappl4 96 772 0 741 2 1 1 2 0 8 0 amappl3 88 127 0 122 1 0 1 1 0 8 0 amappl2 80 3761 0 3696 2 0 2 2 0 8 0 amappl1 72 21205 0 20741 26 16 10 20 0 8 0 amappl 72 1516 0 1477 1 0 1 1 0 75 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 25 0 2 1 0 1 1 0 8 0 uaddrrnd 24 538 0 521 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 538 0 521 1 0 1 1 0 8 0 vmmpekpl 168 8524 0 8503 2 0 2 2 0 8 0 vmmpepl 168 64587 0 63040 96 26 70 76 0 357 1 vmsppl 360 537 0 521 2 0 2 2 0 8 0 pdppl 4096 1084 0 1042 6 0 6 6 0 8 0 pvpl 32 228275 0 216235 120 14 106 106 0 265 5 pmappl 224 537 0 521 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 591 0 4 17 0 17 17 0 8 0