This is a note to let you know that I've just added the patch titled l2tp: fix info leak in l2tp_ip6_recvmsg() to the 3.8-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: l2tp-fix-info-leak-in-l2tp_ip6_recvmsg.patch and it can be found in the queue-3.8 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 6671ade6feb2e93861cb30cce6933b6ce7684791 Mon Sep 17 00:00:00 2001 From: Mathias Krause <minipli@xxxxxxxxxxxxxx> Date: Sun, 7 Apr 2013 01:51:55 +0000 Subject: l2tp: fix info leak in l2tp_ip6_recvmsg() From: Mathias Krause <minipli@xxxxxxxxxxxxxx> [ 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@xxxxxxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/l2tp/l2tp_ip6.c | 1 + 1 file changed, 1 insertion(+) --- a/net/l2tp/l2tp_ip6.c +++ b/net/l2tp/l2tp_ip6.c @@ -684,6 +684,7 @@ static int l2tp_ip6_recvmsg(struct kiocb lsa->l2tp_addr = ipv6_hdr(skb)->saddr; lsa->l2tp_flowinfo = 0; lsa->l2tp_scope_id = 0; + lsa->l2tp_conn_id = 0; if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) lsa->l2tp_scope_id = IP6CB(skb)->iif; } Patches currently in stable-queue which might be from minipli@xxxxxxxxxxxxxx are queue-3.8/irda-fix-missing-msg_namelen-update-in-irda_recvmsg_dgram.patch queue-3.8/bluetooth-rfcomm-fix-missing-msg_namelen-update-in-rfcomm_sock_recvmsg.patch queue-3.8/llc-fix-missing-msg_namelen-update-in-llc_ui_recvmsg.patch queue-3.8/nfc-llcp-fix-info-leaks-via-msg_name-in-llcp_sock_recvmsg.patch queue-3.8/atm-update-msg_namelen-in-vcc_recvmsg.patch queue-3.8/iucv-fix-missing-msg_namelen-update-in-iucv_sock_recvmsg.patch queue-3.8/ax25-fix-info-leak-via-msg_name-in-ax25_recvmsg.patch queue-3.8/tipc-fix-info-leaks-via-msg_name-in-recv_msg-recv_stream.patch queue-3.8/netrom-fix-info-leak-via-msg_name-in-nr_recvmsg.patch queue-3.8/caif-fix-missing-msg_namelen-update-in-caif_seqpkt_recvmsg.patch queue-3.8/l2tp-fix-info-leak-in-l2tp_ip6_recvmsg.patch queue-3.8/bluetooth-sco-fix-missing-msg_namelen-update-in-sco_sock_recvmsg.patch queue-3.8/bluetooth-fix-possible-info-leak-in-bt_sock_recvmsg.patch queue-3.8/rose-fix-info-leak-via-msg_name-in-rose_recvmsg.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html