From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH] net: Fix double free and memory corruption in get_net_ns_by_id() Date: Tue, 19 Dec 2017 10:31:09 -0800 Message-ID: <1513708269.64874.1.camel@gmail.com> References: <87vah3aj1b.fsf@xmission.com> <20171218.152320.827340066666299976.davem@davemloft.net> <87d13aaaqr.fsf@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: David Miller , ktkhai@virtuozzo.com, security@kernel.org, secalert@redhat.com, stephen@networkplumber.org, Nicolas Dichtel To: "Eric W. Biederman" , netdev@vger.kernel.org Return-path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:37694 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbdLSSbO (ORCPT ); Tue, 19 Dec 2017 13:31:14 -0500 Received: by mail-wm0-f66.google.com with SMTP id f140so5479655wmd.2 for ; Tue, 19 Dec 2017 10:31:13 -0800 (PST) In-Reply-To: <87d13aaaqr.fsf@xmission.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2017-12-19 at 11:27 -0600, Eric W. Biederman wrote: > (I can trivially verify that that idr_remove in cleanup_net happens > after the network namespace count has dropped to zero --EWB) > Reviewed-by: Eric Dumazet Thanks !