[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c5477e87-10b5-0a0f-af10-b524cb980fe1@cumulusnetworks.com>
Date:   Wed, 11 Apr 2018 15:48:14 -0600
From:   David Ahern <dsa@...ulusnetworks.com>
To:     Eric Dumazet <edumazet@...gle.com>,
        "David S . Miller" <davem@...emloft.net>
Cc:     netdev <netdev@...r.kernel.org>,
        Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH net] net: validate attribute sizes in neigh_dump_table()
On 4/11/18 3:46 PM, Eric Dumazet wrote:
> Since neigh_dump_table() calls nlmsg_parse() without giving policy
> constraints, attributes can have arbirary size that we must validate
> 
...
> 
> Fixes: 21fdd092acc7 ("net: Add support for filtering neigh dump by master device")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: David Ahern <dsa@...ulusnetworks.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
> ---
>  net/core/neighbour.c | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
Acked-by: David Ahern <dsa@...ulusnetworks.com>
Thanks for fixing, Eric.
Powered by blists - more mailing lists
 
