aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2018-09-12 07:36:35 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-13 10:35:57 -0700
commit9824dfae5741275473a23a7ed5756c7b6efacc9d (patch)
tree60fb9379f5c1fd396025a630e9d21f0742e70563 /net/core/rtnetlink.c
parenthv_netvsc: fix schedule in RCU context (diff)
downloadlinux-dev-9824dfae5741275473a23a7ed5756c7b6efacc9d.tar.xz
linux-dev-9824dfae5741275473a23a7ed5756c7b6efacc9d.zip
net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
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>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions