Re: FAILED: patch "[PATCH] crypto: ccree - only try to map auth tag if needed" failed to apply to 4.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 16, 2020 at 4:37 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> On Wed, Apr 15, 2020 at 01:07:08PM +0200, gregkh@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx>.
> >
> >thanks,
> >
> >greg k-h
> >
> >------------------ original commit in Linus's tree ------------------
> >
> >From 504e84abec7a635b861afd8d7f92ecd13eaa2b09 Mon Sep 17 00:00:00 2001
> >From: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
> >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@xxxxxxxxx>
> >Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> >Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
> >Cc: stable@xxxxxxxxxxxxxxx # v4.19+
> >Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
>
> 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.
>

Acked-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>

Thanks,
Gilad
-- 
Gilad Ben-Yossef
Chief Coffee Drinker

values of β will give rise to dom!
Acked-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>

Thanks,
Gilad




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux