lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Nov 2017 23:17:20 +1100
From:   Herbert Xu <>
To:     Stephan Müller <>
Cc:     Eric Biggers <>,
Subject: Re: [PATCH v2] crypto: AF_ALG - race-free access of encryption flag

On Wed, Nov 29, 2017 at 12:05:13PM +0100, Stephan Müller wrote:
> Shouldn't we then create a patch for the pre-4.14 algif_skcipher code that 
> moves the wait out of the while loop to the beginning of the function in 
> recvmsg?

When I said dead-lock I just meant that the recvmsg will block
indefinitely.  It can still be interrupted from user-space.

As the behaviour is currently undefined anyway, I don't think we
need to backport this fix.  At least not until we maintain a list
of ctx->enc like we discussed.

Email: Herbert Xu <>
Home Page:
PGP Key:

Powered by blists - more mailing lists