Re: [PATCH] crypto: ccp: kill v5 IRQ tasklet during teardown
From: Herbert Xu
Date: Wed Sep 23 2026 - 05:12:13 EST
On Mon, Sep 21, 2026 at 01:34:17AM +0800, Jiale Yao wrote:
> On PCI devices using MSI-X, ccp5_irq_handler() schedules irq_tasklet.
> The teardown paths release the IRQ but do not drain a tasklet that was
> already queued, so it can access ccp after the device-managed allocation
> has been released.
>
> Kill the tasklet after releasing the IRQ in both the initialization
> error path and ccp5_destroy().
>
> Fixes: 6263b51eb319 ("crypto: ccp - Change ISR handler method for a v5 CCP")
>
> Signed-off-by: Jiale Yao <yaojiale02@xxxxxxx>
> ---
> drivers/crypto/ccp/ccp-dev-v5.c | 4 ++++
> 1 file changed, 4 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt