regression between v4.1.17 and v4.1.18 (crypto)

From: Andreas Amann
Date: Fri Feb 19 2016 - 21:41:09 EST


Hi,

after upgrading to v4.1.18 (LTS) I cannot unlock my root
partition. The error is:

Enter passphrase for /dev/sda2:
Failed to setup dm-crypt key mapping for device /dev/sda2.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more
info).

This seems to be the same as described in

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Bisecting for the problematic commit brings up this one as
the culprit:

commit 0571ba52a19e18a1c20469454231eef681cb1310
Author: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Wed Dec 30 11:47:53 2015 +0800

crypto: af_alg - Disallow bind/setkey/... after accept(2)

[ Upstream commit c840ac6af3f8713a71b4d2363419145760bd6044 ]


Could this commit be reverted/fixed?

Andreas