From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: thunderx: fix NULL pointer dereference in nic_remove Date: Tue, 27 Nov 2018 16:19:16 -0800 (PST) Message-ID: <20181127.161916.1064966549359537523.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Sunil.Goutham@cavium.com To: lorenzo.bianconi@redhat.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:46734 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbeK1LSx (ORCPT ); Wed, 28 Nov 2018 06:18:53 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Lorenzo Bianconi Date: Mon, 26 Nov 2018 15:07:16 +0100 > Fix a possible NULL pointer dereference in nic_remove routine > removing the nicpf module if nic_probe fails. > The issue can be triggered with the following reproducer: > > $rmmod nicvf > $rmmod nicpf > > [ 521.412008] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000014 ... > Fixes: 4863dea3fab0 ("net: Adding support for Cavium ThunderX network controller") > Signed-off-by: Lorenzo Bianconi Applied.