From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbdGQPR5 (ORCPT ); Mon, 17 Jul 2017 11:17:57 -0400 Received: from mail.us.es ([193.147.175.20]:58584 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbdGQPR4 (ORCPT ); Mon, 17 Jul 2017 11:17:56 -0400 Date: Mon, 17 Jul 2017 17:17:45 +0200 From: Pablo Neira Ayuso To: Jiri Slaby Cc: linux-kernel@vger.kernel.org, Gao Feng , Jozsef Kadlecsik , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: Re: [PATCH 1/1] netfilter: nf_ct_expect: fix expect removal Message-ID: <20170717151745.GA25741@salvia> References: <20170717150648.10058-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170717150648.10058-1-jslaby@suse.cz> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri, On Mon, Jul 17, 2017 at 05:06:48PM +0200, Jiri Slaby wrote: > Commit ec0e3f01114a ("netfilter: nf_ct_expect: Add > nf_ct_remove_expect()") introduced a helper nf_ct_remove_expect. It was > used over the code, but one location used a wrong variable and it > resulted in a crash in this call stack: > -> nf_ct_expect_related_report > -> nf_ct_remove_expect > -> del_timer > -> detach_if_pending > > Switch to the proper variable. > > Fixes: ec0e3f01114a > Signed-off-by: Jiri Slaby I have pushed out a similar fix from Florian: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git/commit/?id=36ac344e16e04e3e55e8fed7446095a6458c64e6 Thanks for the fix anyway.