uvm_fault(0xffffffff8225d700, 0xffff80000199c000, 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(0xffffffff8225d700, 0xffff80000199c000, 0, 1) -> e memcpy(fffffd807d782a88,ffff80000199bf0d,7,fffffd807d782a88,16cc2a21b4cfa972,ffff800020c41238) at memcpy+0x15 end trace frame: 0xffff800020c41140, count: 0 ddb{1}> trace memcpy(fffffd807d782a88,ffff80000199bf0d,7,fffffd807d782a88,16cc2a21b4cfa972,ffff800020c41238) at memcpy+0x15 rtrequest(1,ffff800020c41238,38,ffff800020c41180,7) at rtrequest+0x83c sys/net/route.c:917 rtm_output(ffff80000199bf00,ffff800020c41230,ffff800020c41238,38,7) at rtm_output+0x760 sys/net/rtsock.c:888 route_output(fffffd806d2cc600,fffffd806b08d610,0,0) at route_output+0x79b sys/net/rtsock.c:806 route_usrreq(fffffd806b08d610,9,fffffd806d2cc600,0,0,ffff800020b75530) at route_usrreq+0x35d sys/net/rtsock.c:271 sosend(fffffd806b08d610,0,ffff800020c414f8,0,0,0) at sosend+0x6eb sys/kern/uipc_socket.c:513 sendit(ffff800020b75530,c,ffff800020c415b8,0,ffff800020c41680) at sendit+0x590 sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020b75530,ffff800020c41698,ffff800020c41680) at sys_sendto+0x92 syscall(ffff800020c41730) at syscall+0x5b8 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c41730) at syscall+0x5b8 sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffd8,0,6,f5b65156010) at Xsyscall+0x128 end of kernel end trace frame: 0xf5db3eefd60, count: -10 ddb{1}> show registers rdi 0xffff80000199b5f0 rsi 0xffff80000199bffd rbp 0xffff800020c41030 rbx 0xffff80000199bf0d rdx 0x100 rcx 0x2 rax 0xfffffffffffff5f3 r8 0 r9 0x5 r10 0xf38e9f4650625e46 r11 0xffff80000199b500 r12 0xffff80000199b500 r13 0x100 r14 0 r15 0xfffffd807d782a88 rip 0xffffffff8143f675 memcpy+0x15 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800020c40fc8 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (syz-executor.1) pid=439234 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800020b74e28,0xffff800020b74be0 process=0xffff800020b8cd38 user=0xffff800020c3c000, vmspace=0xfffffd807effd708 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33270 335520 54179 0 2 0 syz-executor.1 *33270 439234 54179 0 7 0x4000000 syz-executor.1 33270 428522 54179 0 3 0x4000080 fsleep syz-executor.1 33270 204307 54179 0 3 0x4000080 fsleep syz-executor.1 85121 315461 0 0 3 0x14200 bored sosplice 54179 67111 32844 0 3 0x82 nanosleep syz-executor.1 88085 177752 32844 0 2 0x2 syz-executor.0 32844 519783 78887 0 2 0x82 syz-fuzzer 32844 350335 78887 0 3 0x4000082 nanosleep syz-fuzzer 32844 384895 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 41379 78887 0 7 0x4000002 syz-fuzzer 32844 158232 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 456820 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 515851 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 458475 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 432627 78887 0 3 0x4000082 thrsleep syz-fuzzer 32844 210242 78887 0 3 0x4000082 thrsleep syz-fuzzer 78887 448047 29155 0 3 0x10008a pause ksh 29155 285318 5896 0 3 0x92 select sshd 59601 345298 1 0 3 0x100083 ttyin getty 5896 273849 1 0 3 0x80 select sshd 88843 186952 72823 74 3 0x100092 bpf pflogd 72823 55773 1 0 3 0x80 netio pflogd 63925 470397 99381 73 2 0x100090 syslogd 99381 178514 1 0 3 0x100082 netio syslogd 18912 461371 1 77 3 0x100090 poll dhclient 95125 514073 1 0 3 0x80 poll dhclient 64582 413714 0 0 3 0x14200 pgzero zerothread 420 87346 0 0 3 0x14200 aiodoned aiodoned 74234 195877 0 0 3 0x14200 syncer update 68422 384456 0 0 3 0x14200 cleaner cleaner 92736 322472 0 0 3 0x14200 reaper reaper 78587 468663 0 0 3 0x14200 pgdaemon pagedaemon 58030 284017 0 0 3 0x14200 bored crynlk 63534 337413 0 0 3 0x14200 bored crypto 38210 275618 0 0 3 0x40014200 acpi0 acpi0 27882 497201 0 0 3 0x40014200 idle1 67837 277702 0 0 3 0x14200 bored softnet 13581 188228 0 0 3 0x14200 bored systqmp 84978 483531 0 0 3 0x14200 bored systq 14051 370737 0 0 3 0x40014200 bored softclock 83688 387629 0 0 3 0x40014200 idle0 79243 244761 0 0 3 0x14200 bored smr 1 342431 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 33270 (syz-executor.1) thread 0xffff800020b75530 (439234) exclusive rwlock netlock r = 0 (0xffffffff821d9928) 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 (0xffffffff823780b8) 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 9492 6396K 6405K 78643K 10709 0 0 pcb 27 9K 11K 78643K 212 0 0 rtable 106 4K 4K 78643K 263 0 0 ifaddr 49 12K 12K 78643K 87 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1471 0 0 iov 0 0K 24K 78643K 25 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1208 76K 76K 78643K 1387 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 5 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 1K 1K 78643K 43 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12628 0 0 file desc 5 13K 21K 78643K 305 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 53 50K 71K 78643K 362 0 0 subproc 64 65538K 67586K 78643K 70 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 49 0 0 in_multi 33 2K 2K 78643K 48 0 0 ether_multi 1 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 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 209 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 81 20K 21K 78643K 1828 0 0 UVM aobj 11 2K 2K 78643K 13 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 11 0 0 NDP 9 0K 0K 78643K 22 0 0 temp 127 2368K 2435K 78643K 4013 0 0 kqueue 0 0K 0K 78643K 2 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 4 0 0 1 0 1 1 0 8 0 inpcbpl 280 179 0 172 1 0 1 1 0 8 0 plimitpl 152 30 0 22 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 43 0 2 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 54 0 50 1 0 1 1 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 8 0 8 3 2 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 15 0 6 1 0 1 1 0 8 0 pfstkey 112 15 0 6 1 0 1 1 0 8 0 pfstate 328 15 0 6 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 186 0 0 12 0 12 12 0 8 0 art_table 32 187 0 0 2 0 2 2 0 8 0 art_node 16 40 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 39 0 29 1 0 1 1 0 8 0 shmpl 112 11 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1979 0 562 46 0 46 46 0 8 0 ffsino 272 1979 0 562 95 0 95 95 0 8 0 nchpl 144 2632 0 1001 61 0 61 61 0 8 0 uvmvnodes 72 2075 0 0 38 0 38 38 0 8 0 vnodes 200 2075 0 0 110 0 110 110 0 8 0 namei 1024 7291 0 7291 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 7051 0 7051 10 9 1 6 0 8 1 sigapl 432 504 0 489 2 0 2 2 0 8 0 futexpl 56 3573 0 3571 1 0 1 1 0 8 0 knotepl 112 126 0 107 1 0 1 1 0 8 0 kqueuepl 104 101 0 99 1 0 1 1 0 8 0 pipepl 112 342 0 317 3 2 1 2 0 8 0 fdescpl 488 505 0 489 3 0 3 3 0 8 0 filepl 152 2998 0 2889 6 1 5 6 0 8 0 lockfpl 104 104 0 104 2 1 1 1 0 8 1 lockfspl 32 102 0 102 2 1 1 1 0 8 1 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 579 0 570 1 0 1 1 0 8 0 zombiepl 144 489 0 489 2 1 1 1 0 8 1 processpl 840 521 0 489 4 0 4 4 0 8 0 procpl 600 1171 0 1127 4 0 4 4 0 8 0 sosppl 128 6 0 6 2 2 0 1 0 8 0 sockpl 384 361 0 340 4 1 3 4 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 117 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 136 0 0 8 0 8 8 0 8 0 bufpl 256 6364 0 1145 327 0 327 327 0 8 0 anonpl 16 57766 0 48765 55 11 44 53 0 125 6 amapchunkpl 152 2485 0 2392 10 5 5 8 0 158 1 amappl16 192 2057 0 1578 36 10 26 36 0 8 1 amappl15 184 58 0 53 1 0 1 1 0 8 0 amappl14 176 23 0 20 2 1 1 1 0 8 0 amappl13 168 307 0 302 1 0 1 1 0 8 0 amappl12 160 13 0 11 1 0 1 1 0 8 0 amappl11 152 26 0 11 1 0 1 1 0 8 0 amappl10 144 216 0 212 1 0 1 1 0 8 0 amappl9 136 577 0 574 1 0 1 1 0 8 0 amappl8 128 132 0 119 1 0 1 1 0 8 0 amappl7 120 172 0 169 1 0 1 1 0 8 0 amappl6 112 55 0 48 1 0 1 1 0 8 0 amappl5 104 123 0 108 1 0 1 1 0 8 0 amappl4 96 735 0 706 2 1 1 2 0 8 0 amappl3 88 125 0 120 1 0 1 1 0 8 0 amappl2 80 3434 0 3380 2 0 2 2 0 8 0 amappl1 72 20360 0 19926 26 16 10 20 0 8 0 amappl 72 1408 0 1370 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 12 0 2 1 0 1 1 0 8 0 uaddrrnd 24 505 0 489 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 505 0 489 1 0 1 1 0 8 0 vmmpekpl 168 8284 0 8262 2 0 2 2 0 8 0 vmmpepl 168 60892 0 59426 97 27 70 79 0 357 1 vmsppl 360 504 0 489 2 0 2 2 0 8 0 pdppl 4096 1018 0 978 6 0 6 6 0 8 0 pvpl 32 194266 0 182005 143 15 128 136 0 265 27 pmappl 224 504 0 489 2 1 1 2 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 476 0 4 14 0 14 14 0 8 0