Skip to contentSkip to conversation

crypto/pcrypt_aead01: add back deleted file comment

PATCH New Eric Biggers 3 participants 3 messages Jul 1, 2019 – Jul 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/pcrypt_aead01: add back deleted file comment

From: Eric Biggers <[email protected]>

Add back some useful text that was accidentally deleted by commit acc16bcbf12a ("c: Replace GPL verbose text by SPDX license identifier").

---
 testcases/kernel/crypto/pcrypt_aead01.c | 8 ++++++++
 1 file changed, 8 insertions(+)
testcases/kernel/crypto/pcrypt_aead01.c +8 -0
index 5d9a123c7..d9c27f69d 100644
@@ -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>
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog
#1 lore raw

PATCH 1/1 crypto/pcrypt_aead01: add back deleted file comment

Hi!
Thanks for catching this, applied.

Signature · 2 lines
Cyril Hrubis
[email protected]
#2 lore raw

PATCH 1/1 crypto/pcrypt_aead01: add back deleted file comment

Hi Eric,

Quoted 2 lines

Hi!
Thanks for catching this, applied.

Sorry for removing it, thanks for a fix!

Kind regards,
Petr