From: David Ahern Subject: Re: [PATCH net] ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy Date: Mon, 23 Apr 2018 09:48:36 -0600 Message-ID: References: <20180423012923.121147-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-pg0-f53.google.com ([74.125.83.53]:40557 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755121AbeDWPsj (ORCPT ); Mon, 23 Apr 2018 11:48:39 -0400 Received: by mail-pg0-f53.google.com with SMTP id e9so8670510pgr.7 for ; Mon, 23 Apr 2018 08:48:39 -0700 (PDT) In-Reply-To: <20180423012923.121147-1-edumazet@google.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 4/22/18 7:29 PM, Eric Dumazet wrote: > KMSAN reported use of uninit-value that I tracked to lack > of proper size check on RTA_TABLE attribute. > > I also believe RTA_PREFSRC lacks a similar check. > > Fixes: 86872cb57925 ("[IPv6] route: FIB6 configuration using struct fib6_config") > Fixes: c3968a857a6b ("ipv6: RTA_PREFSRC support for ipv6 route source address selection") > Signed-off-by: Eric Dumazet > Reported-by: syzbot > --- > net/ipv6/route.c | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: David Ahern