Re: [PATCH] ieee802154: ca8210: fix cas_ctl leak on spi_async failure
From: Miquel Raynal
Date: Tue Apr 21 2026 - 03:53:39 EST
Hello,
On 21/04/2026 at 13:02:59 +0530, Shitalkumar Gandhi <shital.gandhi45@xxxxxxxxx> wrote:
> ca8210_spi_transfer() allocates cas_ctl with kzalloc_obj(GFP_ATOMIC)
> and relies entirely on the SPI completion callback
> ca8210_spi_transfer_complete() to free it.
[...]
> Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Shitalkumar Gandhi <shitalkumar.gandhi@xxxxxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
Thanks,
Miquèl