[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090609.052150.253563947.davem@davemloft.net>
Date: Tue, 09 Jun 2009 05:21:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: mingo@...e.hu, vegard.nossum@...il.com, john.dykstra1@...il.com,
netdev@...r.kernel.org, penberg@...helsinki.fi,
linux-kernel@...r.kernel.org, jpirko@...hat.com
Subject: Re: [PATCH net-next-2.6] net: dev_addr_init() fix
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 08 Jun 2009 15:49:24 +0200
> [PATCH net-next-2.6] net: dev_addr_init() fix
>
> commit f001fde5eadd915f4858d22ed70d7040f48767cf
> (net: introduce a list of device addresses dev_addr_list (v6))
> added one regression Vegard Nossum found in its testings.
>
> With kmemcheck help, Vegard found some uninitialized memory
> was read and reported to user, potentialy leaking kernel data.
> ( thread can be found on http://lkml.org/lkml/2009/5/30/177 )
>
> dev_addr_init() incorrectly uses sizeof() operator. We were
> initializing one byte instead of MAX_ADDR_LEN bytes.
>
> Reported-by: Vegard Nossum <vegard.nossum@...il.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> Acked-by: Jiri Pirko <jpirko@...hat.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists