From patchwork Mon Jul 1 21:33:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 1125625 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Kb+xlsCa"; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45d0xC3BvBz9s8m for ; Tue, 2 Jul 2019 07:33:48 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 879643C1D94 for ; Mon, 1 Jul 2019 23:33:44 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) by picard.linux.it (Postfix) with ESMTP id 8624B3C1D74 for ; Mon, 1 Jul 2019 23:33:42 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 8AFCC6000E0 for ; Mon, 1 Jul 2019 23:33:41 +0200 (CEST) Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A522A206E0; Mon, 1 Jul 2019 21:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562016818; bh=uiXgpImSdFc4JplcCbCc4hVi5y7R1FxWzErkA7u2BUM=; h=From:To:Cc:Subject:Date:From; b=Kb+xlsCaDLkkZBPy/E3Bb5INpXgnd48Ra8yjC1ChakO9U8DTnoXGGdW4ptwBADck7 vII2pcUcI+zURc8sqvBeNa8B/Y6OsCQHZz6bV9+RHNVgbQHs2bW66pN8EQTV3/ADCQ M+9inAChA7CWR7OghdSZFJw6yR/EpdujA6AhT68k= From: Eric Biggers To: ltp@lists.linux.it Date: Mon, 1 Jul 2019 14:33:16 -0700 Message-Id: <20190701213316.120357-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-2.smtp.seeweb.it Subject: [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" From: Eric Biggers Add back some useful text that was accidentally deleted by commit acc16bcbf12a ("c: Replace GPL verbose text by SPDX license identifier"). Signed-off-by: Eric Biggers --- testcases/kernel/crypto/pcrypt_aead01.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testcases/kernel/crypto/pcrypt_aead01.c b/testcases/kernel/crypto/pcrypt_aead01.c index 5d9a123c7..d9c27f69d 100644 --- a/testcases/kernel/crypto/pcrypt_aead01.c +++ b/testcases/kernel/crypto/pcrypt_aead01.c @@ -6,6 +6,14 @@ * * Originally found by syzkaller: * https://groups.google.com/forum/#!topic/syzkaller-bugs/NKn_ivoPOpk + * + * Test for CVE-2017-5754 - pcrypt mishandles freeing instances. + * + * The test works by adding and then removing pcrypt-AEAD instances. + * See commit d76c68109f37 crypto: pcrypt - fix freeing pcrypt instances. + * + * If the bug is present then this will probably crash the kernel, but also + * sometimes the test simply times out. */ #include