public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment
@ 2019-07-01 21:33 Eric Biggers
  2019-07-02  9:49 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Biggers @ 2019-07-01 21:33 UTC (permalink / raw)
  To: ltp

From: Eric Biggers <ebiggers@google.com>

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 <ebiggers@google.com>
---
 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 <errno.h>
-- 
2.22.0.410.gd8fdbe21b5-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment
  2019-07-01 21:33 [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment Eric Biggers
@ 2019-07-02  9:49 ` Cyril Hrubis
  2019-07-02 18:56   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2019-07-02  9:49 UTC (permalink / raw)
  To: ltp

Hi!
Thanks for catching this, applied.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment
  2019-07-02  9:49 ` Cyril Hrubis
@ 2019-07-02 18:56   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2019-07-02 18:56 UTC (permalink / raw)
  To: ltp

Hi Eric,

> Hi!
> Thanks for catching this, applied.

Sorry for removing it, thanks for a fix!

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-02 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-01 21:33 [LTP] [PATCH] crypto/pcrypt_aead01: add back deleted file comment Eric Biggers
2019-07-02  9:49 ` Cyril Hrubis
2019-07-02 18:56   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox