[PATCH v4 2/7] crypto: aead - disallow en/decrypt for non-task or non-softirq context

Ard Biesheuvel ardb at kernel.org
Fri May 21 00:30:11 PDT 2021


On Wed, 19 May 2021 at 13:51, Herbert Xu <herbert at gondor.apana.org.au> wrote:
>
> On Wed, May 19, 2021 at 01:36:37PM +0200, Ard Biesheuvel wrote:
> >
> > So if we do need to check this, we should check it here. If we don't,
> > then we can drop these patches.
>
> Historically other things would break in nasty ways if you tried
> to do crypto in hard IRQ contexts, e.g., overwritten kmap slots
> back when we had individual slots for each context, but I don't
> think we've ever found anyone crazy enough to do that to warrant
> a run-time check.
>
> I'd just leave it out for now.
>

Fair enough. Would you like me to resend the series with these patches
left out Or are you ok to just take the remaining ones (assuming there
are no issues reported with those)?



More information about the linux-arm-kernel mailing list