From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net] net/neigh: fix NULL deref in pneigh_dump_table() Date: Fri, 26 Oct 2018 11:07:30 -0600 Message-ID: References: <20181026163327.219797-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev , Eric Dumazet To: Eric Dumazet , "David S . Miller" Return-path: Received: from mail-pg1-f196.google.com ([209.85.215.196]:45529 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726113AbeJ0BpV (ORCPT ); Fri, 26 Oct 2018 21:45:21 -0400 Received: by mail-pg1-f196.google.com with SMTP id s3-v6so807172pga.12 for ; Fri, 26 Oct 2018 10:07:33 -0700 (PDT) In-Reply-To: <20181026163327.219797-1-edumazet@google.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 10/26/18 10:33 AM, Eric Dumazet wrote: > pneigh can have NULL device pointer, so we need to make hmmm.. missed that. > neigh_master_filtered() and neigh_ifindex_filtered() more robust. > ... > Fixes: 6f52f80e8530 ("net/neigh: Extend dump filter to proxy neighbor dumps") > Signed-off-by: Eric Dumazet > Cc: David Ahern > Reported-by: syzbot > --- > net/core/neighbour.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks for the fix Reviewed-by: David Ahern Tested-by: David Ahern