From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755090AbbL3UyQ (ORCPT ); Wed, 30 Dec 2015 15:54:16 -0500 Received: from mail.eperm.de ([89.247.134.16]:41072 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753338AbbL3UyM (ORCPT ); Wed, 30 Dec 2015 15:54:12 -0500 From: Stephan Mueller To: Dmitry Vyukov Cc: Herbert Xu , "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 rng_recvmsg Date: Wed, 30 Dec 2015 21:54:09 +0100 Message-ID: <1770781.3L9ebnaMWA@myon.chronox.de> User-Agent: KMail/4.14.10 (Linux/4.2.6-301.fc23.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 28. Dezember 2015, 14:48:48 schrieb Dmitry Vyukov: Hi Dmitry, > Hello, > > On commit a88164345b81292b55a8d4829fdd35c8d611cd7d (Dec 23) > + crypto: algif_skcipher - Use new skcipher interface > + crypto: algif_skcipher - Require setkey before accept(2) > > The following program triggers use-after-free in rng_recvmsg: Thank you for the bug report. After applying the patch from Herbert [1], I was not able to reproduce the issue even after 1000 rounds of the test code. Considering the issue and the patch from Herbert, I would consider the issue being fixed. [1] http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg17450.html Thank you. -- Ciao Stephan