Thread (2 messages) 2 messages, 2 authors, 2015-12-30

Re: crypto: use-after-free in rng_recvmsg

From: Stephan Mueller <hidden>
Date: 2015-12-30 20:54:16
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help