mirror of https://gitee.com/openkylin/linux.git
9824dfae57
Fields ->dev and ->next of struct ipddp_route may be copied to userspace on the SIOCFINDIPDDPRT ioctl. This is only accessible to CAP_NET_ADMIN though. Let's manually copy the relevant fields instead of using memcpy(). BugLink: http://blog.infosectcbr.com.au/2018/09/linux-kernel-infoleaks.html Cc: Jann Horn <jannh@google.com> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cops.c | ||
cops.h | ||
cops_ffdrv.h | ||
cops_ltdrv.h | ||
ipddp.c | ||
ipddp.h | ||
ltpc.c | ||
ltpc.h |