Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756692AbbHZKfj (ORCPT ); Wed, 26 Aug 2015 06:35:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60495 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754105AbbHZKfi (ORCPT ); Wed, 26 Aug 2015 06:35:38 -0400 Date: Wed, 26 Aug 2015 12:35:31 +0200 From: Jiri Benc To: Sasha Levin Cc: davem@davemloft.net, roopa@cumulusnetworks.com, tgraf@suug.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] route: put lwstate before freeing dst to avoid use after free Message-ID: <20150826123531.4f27f124@griffin> In-Reply-To: <1440527114-12746-1-git-send-email-sasha.levin@oracle.com> References: <1440527114-12746-1-git-send-email-sasha.levin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 667 Lines: 19 On Tue, 25 Aug 2015 14:25:14 -0400, Sasha Levin wrote: > Commit 61adedf3 ("route: move lwtunnel state to dst_entry") is trying to > release lwstate after getting rid of dst, which causes a use-after-free > trying to access dst->lwstate. > > Fixes: 61adedf3 ("route: move lwtunnel state to dst_entry") > Signed-off-by: Sasha Levin Already fixed by e252b3d1a174 in net-next. Jiri -- Jiri Benc -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/