Re: [PATCH] spi: axiado: fix use-after-free on probe failure

From: Mark Brown

Date: Tue Mar 17 2026 - 13:38:42 EST


On Thu, Mar 12, 2026 at 11:28:11AM +0100, Johan Hovold wrote:
> The SPI controller allocation is device managed and must not be released
> before returning on probe failures (e.g. probe deferral) to avoid
> use-after-free.

Felix Gu already sent a version of this which was applied, please check
if there's anything remaining to be fixed here.

Attachment: signature.asc
Description: PGP signature