From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572AbcAMG5k (ORCPT ); Wed, 13 Jan 2016 01:57:40 -0500 Received: from helcar.hengli.com.au ([209.40.204.226]:44935 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbcAMG5j (ORCPT ); Wed, 13 Jan 2016 01:57:39 -0500 Date: Wed, 13 Jan 2016 14:57:29 +0800 From: Herbert Xu To: Dmitry Vyukov Cc: "David S. Miller" , linux-crypto@vger.kernel.org, LKML , syzkaller , Kostya Serebryany , Alexander Potapenko , Sasha Levin , Eric Dumazet Subject: Re: crypto: use-after-free in hash_sock_destruct_common Message-ID: <20160113065729.GA8123@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2016 at 07:31:03PM +0100, Dmitry Vyukov wrote: > > The following program triggers use-after-free in > hash_sock_destruct_common. This is on master of > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git > (cd7e98414462b9db70067ac29896c58210b13b69). I've also seen a similar > crash in skcipher_sock_destruct_common. OK the new compatibility nokey path introduced some new problems. Please try the following patches. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt