[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361640939.6781.3.camel@edumazet-glaptop>
Date: Sat, 23 Feb 2013 09:35:39 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Mathias Krause <minipli@...glemail.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Dave Jones <davej@...hat.com>
Subject: Re: [PATCH 1/2] sock_diag: Fix out-of-bounds access to
sock_diag_handlers[]
On Sat, 2013-02-23 at 12:13 +0100, Mathias Krause wrote:
> Userland can send a netlink message requesting SOCK_DIAG_BY_FAMILY
> with a family greater or equal then AF_MAX -- the array size of
> sock_diag_handlers[]. The current code does not test for this
> condition therefore is vulnerable to an out-of-bound access opening
> doors for a privilege escalation.
>
> Signed-off-by: Mathias Krause <minipli@...glemail.com>
> ---
> net/core/sock_diag.c | 3 +++
> 1 file changed, 3 insertions(+)
Thanks for fixing this.
It seems trinity didnt catch it !
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists