mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
Merge: CVE-2026-43493 kernel: crypto: pcrypt - Fix handling of MAY_BACKLOG requests [rhel-9.9]
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/8638 JIRA: https://redhat.atlassian.net/browse/RHEL-226701 CVE: CVE-2026-43493 commit 915b692e6cb723aac658c25eb82c58fd81235110 Author: Herbert Xu <herbert@gondor.apana.org.au> Date: Thu Apr 16 17:00:50 2026 +0800 crypto: pcrypt - Fix handling of MAY_BACKLOG requests Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> Approved-by: Vladislav Dronov <vdronov@redhat.com> Approved-by: Thomas Huth <thuth@redhat.com> Approved-by: Lenny Szubowicz <lszubowi@redhat.com> Approved-by: Bruno Meneguele <bmeneg@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
This commit is contained in:
+5
-2
@@ -69,6 +69,9 @@ static void pcrypt_aead_done(struct crypto_async_request *areq, int err)
|
||||
struct pcrypt_request *preq = aead_request_ctx(req);
|
||||
struct padata_priv *padata = pcrypt_request_padata(preq);
|
||||
|
||||
if (err == -EINPROGRESS)
|
||||
return;
|
||||
|
||||
padata->info = err;
|
||||
|
||||
padata_do_serial(padata);
|
||||
@@ -82,7 +85,7 @@ static void pcrypt_aead_enc(struct padata_priv *padata)
|
||||
|
||||
ret = crypto_aead_encrypt(req);
|
||||
|
||||
if (ret == -EINPROGRESS)
|
||||
if (ret == -EINPROGRESS || ret == -EBUSY)
|
||||
return;
|
||||
|
||||
padata->info = ret;
|
||||
@@ -133,7 +136,7 @@ static void pcrypt_aead_dec(struct padata_priv *padata)
|
||||
|
||||
ret = crypto_aead_decrypt(req);
|
||||
|
||||
if (ret == -EINPROGRESS)
|
||||
if (ret == -EINPROGRESS || ret == -EBUSY)
|
||||
return;
|
||||
|
||||
padata->info = ret;
|
||||
|
||||
Reference in New Issue
Block a user