aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-04-07 01:51:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-01 09:46:02 -0700
commit9f657ed0185e64510e6b37b6e3edce47e8d0cf04 (patch)
tree78d8fdd40c0cfb52e0c949d531f297557b0ef114 /net/tipc/socket.c
parent9d22aa4b113691ce0ed033d52997a25530e3f3d0 (diff)
l2tp: fix info leak in l2tp_ip6_recvmsg()
[ Upstream commit b860d3cc62877fad02863e2a08efff69a19382d2 ] The L2TP code for IPv6 fails to initialize the l2tp_conn_id member of struct sockaddr_l2tpip6 and therefore leaks four bytes kernel stack in l2tp_ip6_recvmsg() in case msg_name is set. Initialize l2tp_conn_id with 0 to avoid the info leak. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions