[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230614174643.3836590-1-dima@arista.com>
Date: Wed, 14 Jun 2023 18:46:40 +0100
From: Dmitry Safonov <dima@...sta.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
linux-kernel@...r.kernel.org
Cc: Dmitry Safonov <dima@...sta.com>,
Bob Gilligan <gilligan@...sta.com>,
David Ahern <dsahern@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Dmitry Safonov <0x7f454c46@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Francesco Ruggeri <fruggeri05@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Salam Noureddine <noureddine@...sta.com>,
linux-crypto@...r.kernel.org
Subject: [PATCH-next 0/3] crypto: cmac - clone fixes
Make cipher cloning possible in atomic contexts + prevent use-after-free
on the crypto algorithm.
Those seems to be all pitfalls I found while adapting TCP-AO patches to
use crypto clone-tfm and dropping per-CPU requests allocations.
Cc: Bob Gilligan <gilligan@...sta.com>
Cc: David Ahern <dsahern@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Dmitry Safonov <0x7f454c46@...il.com>
Cc: Eric Dumazet <edumazet@...gle.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Francesco Ruggeri <fruggeri05@...il.com>
Cc: Jakub Kicinski <kuba@...nel.org>
Cc: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Paolo Abeni <pabeni@...hat.com>
Cc: Salam Noureddine <noureddine@...sta.com>
Cc: linux-kernel@...r.kernel.org
Cc: linux-crypto@...r.kernel.org
Thanks,
Dmitry
Dmitry Safonov (3):
crypto: api - Remove crypto_init_ops()
crypto: api - Provide gfp mask for tfm allocation
crypto: cipher - On clone do crypto_mod_get()
crypto/algapi.c | 2 +-
crypto/api.c | 20 +++-----------------
crypto/cipher.c | 9 +++++++--
crypto/internal.h | 2 +-
include/crypto/algapi.h | 1 -
5 files changed, 12 insertions(+), 22 deletions(-)
base-commit: b16049b21162bb649cdd8519642a35972b7910fe
--
2.40.0
Powered by blists - more mailing lists