From: David Miller Subject: Re: [PATCH net] ipmr: properly check rhltable_init() return value Date: Tue, 22 May 2018 15:32:16 -0400 (EDT) Message-ID: <20180522.153216.56101769719018280.davem@davemloft.net> References: <20180521175153.27484-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com, nikolay@cumulusnetworks.com, yuvalm@mellanox.com To: edumazet@google.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:46708 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718AbeEVTcS (ORCPT ); Tue, 22 May 2018 15:32:18 -0400 In-Reply-To: <20180521175153.27484-1-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Mon, 21 May 2018 10:51:53 -0700 > commit 8fb472c09b9d ("ipmr: improve hash scalability") > added a call to rhltable_init() without checking its return value. > > This problem was then later copied to IPv6 and factorized in commit > 0bbbf0e7d0e7 ("ipmr, ip6mr: Unite creation of new mr_table") ... > Fixes: 8fb472c09b9d ("ipmr: improve hash scalability") > Fixes: 0bbbf0e7d0e7 ("ipmr, ip6mr: Unite creation of new mr_table") > Signed-off-by: Eric Dumazet > Cc: Nikolay Aleksandrov > Cc: Yuval Mintz > Reported-by: syzbot Applied and queued up for -stable, thanks Eric.