uvm_fault(0xffffffff823439e0, 0xffff8000039aa000, 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(0xffffffff823439e0, 0xffff8000039aa000, 0, 1) -> e memcpy(fffffd807a999158,ffff8000039a9f0d,0,fffffd807a999158,aaa120a6dc35a964,ffff800020c11608) at memcpy+0x15 end trace frame: 0xffff800020c11510, count: 0 ddb{1}> trace memcpy(fffffd807a999158,ffff8000039a9f0d,0,fffffd807a999158,aaa120a6dc35a964,ffff800020c11608) at memcpy+0x15 rtrequest(1,ffff800020c11608,38,ffff800020c11550,0) at rtrequest+0x83c sys/net/route.c:917 rtm_output(ffff8000039a9f00,ffff800020c11600,ffff800020c11608,38,0) at rtm_output+0x760 sys/net/rtsock.c:888 route_output(fffffd806e3b3900,fffffd80658fa198,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd80658fa198,9,fffffd806e3b3900,0,0,ffff800020b61c38) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd80658fa198,0,ffff800020c118c8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b61c38,4,ffff800020c11988,0,ffff800020c11a50) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b61c38,ffff800020c11a68,ffff800020c11a50) at sys_sendto+0x92 syscall(ffff800020c11b00) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c11b00) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,bfff4d2b010) at Xsyscall+0x128 end of kernel end trace frame: 0xc02e277a490, count: -10 ddb{1}> show registers rdi 0xffff8000039a9af0 rsi 0xffff8000039a9ffd rbp 0xffff800020c11400 rbx 0xffff8000039a9f0d rdx 0x100 rcx 0x2 rax 0xfffffffffffffaf3 r8 0 r9 0x5 r10 0x7e7c4f289d7fbfc2 r11 0xffff8000039a9a00 r12 0xffff8000039a9a00 r13 0x100 r14 0 r15 0xfffffd807a999158 rip 0xffffffff818f9605 memcpy+0x15 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800020c11398 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (syz-executor.1) pid=195980 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020b612d8,0xffffffff82383278 process=0xffff800020b8da58 user=0xffff800020c0c000, vmspace=0xfffffd807f00b708 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 52691 394477 30293 0 7 0 syz-executor.1 *52691 195980 30293 0 7 0x4000000 syz-executor.1 62628 125378 27123 0 3 0x82 nanosleep syz-executor.0 30293 133265 27123 0 3 0x82 nanosleep syz-executor.1 95475 98945 1 0 3 0x100083 ttyin getty 28299 336289 0 0 3 0x14200 bored sosplice 27123 446675 83975 0 3 0x82 thrsleep syz-fuzzer 27123 168201 83975 0 3 0x4000082 nanosleep syz-fuzzer 27123 473553 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 221858 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 467771 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 63564 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 188040 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 123364 83975 0 3 0x4000082 thrsleep syz-fuzzer 27123 161448 83975 0 3 0x4000082 kqread syz-fuzzer 27123 12602 83975 0 3 0x4000082 thrsleep syz-fuzzer 83975 37808 12920 0 3 0x10008a pause ksh 12920 170212 80135 0 3 0x92 select sshd 80135 500980 1 0 3 0x80 select sshd 41300 414506 33352 74 3 0x100092 bpf pflogd 33352 102276 1 0 3 0x80 netio pflogd 47225 474683 1945 73 2 0x100090 syslogd 1945 508854 1 0 3 0x100082 netio syslogd 24682 135665 1 77 3 0x100090 poll dhclient 71742 326052 1 0 3 0x80 poll dhclient 47770 312835 0 0 3 0x14200 pgzero zerothread 96092 143336 0 0 3 0x14200 aiodoned aiodoned 27687 371957 0 0 3 0x14200 syncer update 46956 345309 0 0 3 0x14200 cleaner cleaner 929 119203 0 0 3 0x14200 reaper reaper 54365 260881 0 0 3 0x14200 pgdaemon pagedaemon 5959 101457 0 0 3 0x14200 bored crynlk 60390 65397 0 0 3 0x14200 bored crypto 4535 250765 0 0 3 0x40014200 acpi0 acpi0 27059 294061 0 0 3 0x40014200 idle1 9098 127138 0 0 3 0x14200 bored softnet 93755 48553 0 0 3 0x14200 bored systqmp 35306 91829 0 0 3 0x14200 bored systq 3018 259153 0 0 3 0x40014200 bored softclock 67750 446516 0 0 3 0x40014200 idle0 89049 196832 0 0 3 0x14200 bored smr 1 210674 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 52691 (syz-executor.1) thread 0xffff800020b61c38 (195980) exclusive rwlock netlock r = 0 (0xffffffff821ac5d8) 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 (0xffffffff8235f818) locked @ /syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/trap.c:161 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9503 6419K 6435K 78643K 10916 0 0 pcb 27 9K 10K 78643K 508 0 0 rtable 103 4K 4K 78643K 709 0 0 ifaddr 52 12K 13K 78643K 201 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1489 0 0 iov 0 0K 16K 78643K 109 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 76K 78643K 1869 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 17 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 1K 1K 78643K 125 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 1019 0 0 sigio 0 0K 0K 78643K 20 0 0 proc 54 51K 71K 78643K 709 0 0 subproc 64 65538K 67586K 78643K 480 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 105 0 0 in_multi 33 2K 2K 78643K 178 0 0 ether_multi 1 0K 0K 78643K 3 0 0 mrt 0 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 339 0 0 pfkey data 0 0K 0K 78643K 2 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 21K 25K 78643K 4224 0 0 UVM aobj 56 3K 3K 78643K 62 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 68 0 0 NDP 10 0K 0K 78643K 69 0 0 temp 157 2375K 2443K 78643K 6555 0 0 kqueue 0 0K 0K 78643K 4 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 16 0 12 1 0 1 1 0 8 0 inpcbpl 280 502 0 495 1 0 1 1 0 8 0 plimitpl 152 68 0 60 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 151 0 110 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 7 0 7 1 1 0 1 0 8 0 tcpcb 544 195 0 191 1 0 1 1 0 8 0 nd6 48 28 0 24 1 0 1 1 0 8 0 ppxss 1128 16 0 16 7 6 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 36 0 25 1 0 1 1 0 8 0 pfstkey 112 36 0 25 1 0 1 1 0 8 0 pfstate 328 36 0 25 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 681 0 493 12 0 12 12 0 8 0 art_table 32 682 0 493 2 0 2 2 0 8 0 art_node 16 148 0 114 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 7 2 1 1 1 0 8 0 semapl 112 123 0 113 1 0 1 1 0 8 0 shmpl 112 60 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3128 0 1651 48 0 48 48 0 8 0 ffsino 272 3128 0 1651 99 0 99 99 0 8 0 nchpl 144 4738 0 3059 63 0 63 63 0 8 0 uvmvnodes 72 3455 0 0 63 0 63 63 0 8 0 vnodes 200 3455 0 0 182 0 182 182 0 8 0 namei 1024 14979 0 14979 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 15297 0 15297 16 15 1 6 0 8 1 sigapl 432 1183 0 1168 2 0 2 2 0 8 0 futexpl 56 10519 0 10519 1 0 1 1 0 8 1 knotepl 112 481 0 462 1 0 1 1 0 8 0 kqueuepl 104 257 0 255 1 0 1 1 0 8 0 pipepl 112 836 0 817 2 1 1 1 0 8 0 fdescpl 488 1184 0 1168 3 0 3 3 0 8 0 filepl 152 7283 0 7182 5 0 5 5 0 8 1 lockfpl 104 300 0 300 4 3 1 1 0 8 1 lockfspl 32 392 0 392 4 3 1 1 0 8 1 sessionpl 112 31 0 20 1 0 1 1 0 8 0 pgrppl 48 47 0 36 1 0 1 1 0 8 0 ucredpl 96 1631 0 1622 1 0 1 1 0 8 0 zombiepl 144 1168 0 1167 2 1 1 1 0 8 0 processpl 840 1200 0 1167 4 0 4 4 0 8 0 procpl 600 3305 0 3262 4 0 4 4 0 8 0 srpgc 64 72 0 72 6 5 1 1 0 8 1 sosppl 128 11 0 11 3 2 1 1 0 8 1 sockpl 384 936 0 915 4 1 3 3 0 8 0 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 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 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 126 0 0 15 0 15 15 0 8 0 mtagpl 80 2 0 0 1 0 1 1 0 8 0 mbufpl 256 231 0 0 9 0 9 9 0 8 0 bufpl 256 7557 0 1157 400 0 400 400 0 8 0 anonpl 16 132985 0 125279 66 28 38 49 0 125 0 amapchunkpl 152 7242 0 7156 16 11 5 9 0 158 1 amappl16 192 5244 0 4774 57 31 26 35 0 8 0 amappl15 184 287 0 282 1 0 1 1 0 8 0 amappl14 176 285 0 281 2 1 1 1 0 8 0 amappl13 168 439 0 436 1 0 1 1 0 8 0 amappl12 160 279 0 276 4 3 1 1 0 8 0 amappl11 152 205 0 190 1 0 1 1 0 8 0 amappl10 144 179 0 176 1 0 1 1 0 8 0 amappl9 136 644 0 641 1 0 1 1 0 8 0 amappl8 128 214 0 194 1 0 1 1 0 8 0 amappl7 120 161 0 155 1 0 1 1 0 8 0 amappl6 112 177 0 170 1 0 1 1 0 8 0 amappl5 104 422 0 403 1 0 1 1 0 8 0 amappl4 96 1260 0 1229 2 1 1 2 0 8 0 amappl3 88 375 0 369 1 0 1 1 0 8 0 amappl2 80 9298 0 9241 2 0 2 2 0 8 0 amappl1 72 36450 0 36001 25 15 10 20 0 8 0 amappl 72 3639 0 3604 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 61 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1184 0 1168 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1184 0 1168 1 0 1 1 0 8 0 vmmpekpl 168 13685 0 13660 2 0 2 2 0 8 0 vmmpepl 168 137957 0 136470 121 35 86 86 0 357 15 vmsppl 360 1183 0 1168 2 0 2 2 0 8 0 pdppl 4096 2375 0 2336 6 0 6 6 0 8 0 pvpl 32 403834 0 392845 168 58 110 136 0 265 7 pmappl 224 1183 0 1168 3 1 2 2 0 8 1 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 556 0 4 16 0 16 16 0 8 0