From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: gilad@benyossef.com, geert+renesas@glider.be,
herbert@gondor.apana.org.au, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] crypto: ccree - only try to map auth tag if needed" failed to apply to 4.19-stable tree
Date: Wed, 15 Apr 2020 21:37:57 -0400 [thread overview]
Message-ID: <20200416013757.GT1068@sasha-vm> (raw)
In-Reply-To: <158694882829120@kroah.com>
On Wed, Apr 15, 2020 at 01:07:08PM +0200, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 504e84abec7a635b861afd8d7f92ecd13eaa2b09 Mon Sep 17 00:00:00 2001
>From: Gilad Ben-Yossef <gilad@benyossef.com>
>Date: Wed, 29 Jan 2020 16:37:55 +0200
>Subject: [PATCH] crypto: ccree - only try to map auth tag if needed
>
>Make sure to only add the size of the auth tag to the source mapping
>for encryption if it is an in-place operation. Failing to do this
>previously caused us to try and map auth size len bytes from a NULL
>mapping and crashing if both the cryptlen and assoclen are zero.
>
>Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
>Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
>Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
>Cc: stable@vger.kernel.org # v4.19+
>Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Grabbing:
da3cf67f1bcf ("crypto: ccree - don't mangle the request assoclen")
9f31eb6e08cc ("crypto: ccree - zero out internal struct before use")
ccba2f1112d4 ("crypto: ccree - improve error handling")
resolved this conflict.
--
Thanks,
Sasha
next prev parent reply other threads:[~2020-04-16 1:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 11:07 FAILED: patch "[PATCH] crypto: ccree - only try to map auth tag if needed" failed to apply to 4.19-stable tree gregkh
2020-04-16 1:37 ` Sasha Levin [this message]
2020-04-16 12:43 ` Gilad Ben-Yossef
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200416013757.GT1068@sasha-vm \
--to=sashal@kernel.org \
--cc=geert+renesas@glider.be \
--cc=gilad@benyossef.com \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).