Re: [PATCH] crypto: caam/jr: fix use-after-free in interrupt handler teardown

From: Herbert Xu

Date: Wed Aug 12 2026 - 21:10:24 EST


On Wed, Aug 12, 2026 at 11:54:00AM -0700, Rosen Penev wrote:
>
> > The driver needs to be modified so that it can fail gracefully
> > if the hardware is forcefully unbound while a crypto op is ongoing.
> That's a much bigger change than this one, which I cannot test.

The thing is that as Sashiko has pointed out, if we apply fixes
like this without solving the bigger problem, it'll just make that
issue worse.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt