From: Mathias Krause Date: Sun, 7 Apr 2013 01:51:55 +0000 (+0000) Subject: l2tp: fix info leak in l2tp_ip6_recvmsg() X-Git-Tag: v3.9-rc7~26^2~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b860d3cc62877fad02863e2a08efff69a19382d2;p=pandora-kernel.git l2tp: fix info leak in l2tp_ip6_recvmsg() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed