Herbert Xu
1371d1aac1
crypto: af_alg - Disallow multiple in-flight AIO requests
...
[ Upstream commit 67b164a871af1d736f131fd6fe78a610909f06f3 ]
Having multiple in-flight AIO requests results in unpredictable
output because they all share the same IV. Fix this by only allowing
one request at a time.
Fixes: 83094e5e9e49 ("crypto: af_alg - add async support to algif_aead")
Fixes: a596999b7ddf ("crypto: algif - change algif_skcipher to be asynchronous")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 19af0310c8767c993f2a5d5261e4df3f9f465ce1)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-02-02 11:33:39 +00:00
..
2023-09-23 10:47:01 +02:00
2017-11-02 11:10:55 +01:00
2015-06-25 23:29:24 +08:00
2016-10-25 11:08:33 +08:00
2016-06-23 18:29:53 +08:00
2018-10-03 17:00:45 -07:00
2017-04-21 20:30:50 +08:00
2017-01-13 00:24:39 +08:00
2017-02-11 17:50:43 +08:00
2019-02-12 19:45:57 +01:00
2024-02-02 11:33:39 +00:00
2019-03-23 14:35:18 +01:00
2017-01-13 00:24:39 +08:00
2020-02-14 16:32:14 -05:00
2020-06-25 15:42:01 +02:00
2020-10-29 09:07:00 +01:00
2020-07-09 09:36:30 +02:00
2015-04-22 09:30:21 +08:00
2020-10-29 09:07:01 +01:00
2015-04-22 09:30:18 +08:00
2021-05-22 10:57:16 +02:00
2022-04-20 09:08:12 +02:00
2019-01-23 08:09:47 +01:00
2018-10-03 17:00:45 -07:00
2017-03-09 18:34:39 +08:00
2019-05-21 18:50:20 +02:00
2022-06-25 11:46:31 +02:00
2019-07-31 07:28:35 +02:00
2016-10-21 11:03:42 +08:00
2017-02-11 17:52:28 +08:00
2016-10-21 11:03:42 +08:00
2018-02-16 20:23:00 +01:00
2018-02-16 20:23:00 +01:00
2019-05-21 18:50:15 +02:00
2019-07-10 09:54:38 +02:00
2017-06-19 14:19:54 +08:00
2016-07-18 17:35:44 +08:00
2019-12-17 20:38:55 +01:00
2017-08-04 09:27:15 +08:00
2017-02-11 17:52:28 +08:00
2017-04-24 18:11:08 +08:00
2017-11-21 09:49:21 +01:00
2017-11-21 09:49:20 +01:00
2022-06-25 11:46:41 +02:00
2017-11-02 11:10:55 +01:00
2019-12-17 20:38:55 +01:00
2017-06-10 12:04:35 +08:00
2021-03-03 18:22:43 +01:00
2021-01-12 20:09:09 +01:00
2016-09-13 18:44:57 +08:00
2015-04-23 14:18:09 +08:00
2019-05-21 18:50:15 +02:00
2017-04-05 21:58:35 +08:00
2019-07-31 07:28:35 +02:00
2015-12-20 15:27:12 +02:00
2017-12-20 10:10:17 +01:00
2020-02-14 16:32:14 -05:00
2016-11-17 23:34:52 +08:00
2015-06-25 23:18:33 +08:00
2019-02-12 19:45:57 +01:00
2016-02-01 22:27:05 +08:00
2017-01-13 00:24:39 +08:00
2020-05-20 08:17:11 +02:00
2017-04-10 19:17:27 +08:00
2017-04-10 19:17:27 +08:00
2017-05-08 17:15:13 -07:00
2018-09-19 22:43:37 +02:00
2018-02-16 20:23:00 +01:00
2022-06-25 11:46:26 +02:00
2022-06-25 11:46:26 +02:00
2019-03-23 14:35:21 +01:00
2023-11-28 16:45:43 +00:00
2018-02-16 20:23:00 +01:00
2015-04-23 14:18:09 +08:00
2017-11-02 11:10:55 +01:00
2017-07-28 17:56:00 +08:00
2017-12-20 10:10:17 +01:00
2023-03-11 16:26:37 +01:00
2017-06-10 12:04:30 +08:00
2016-07-05 23:05:26 +08:00
2015-10-14 22:23:16 +08:00
2019-05-21 18:50:19 +02:00
2016-11-22 15:02:25 +08:00
2017-08-03 13:52:44 +08:00
2023-03-11 16:26:37 +01:00
2019-07-31 07:28:30 +02:00
2015-12-22 20:43:35 +08:00
2018-02-03 17:38:51 +01:00
2015-12-22 20:43:35 +08:00
2015-04-10 21:39:41 +08:00
2021-07-20 16:17:32 +02:00
2018-12-01 09:42:53 +01:00
2019-10-11 18:18:32 +02:00
2018-11-13 11:15:07 -08:00
2015-07-17 21:20:20 +08:00
2019-03-23 14:35:18 +01:00
2019-04-27 09:35:37 +02:00
2020-01-27 14:46:13 +01:00
2018-08-17 21:01:10 +02:00
2018-02-22 15:42:23 +01:00
2020-05-20 08:17:11 +02:00