Re: [PATCH v7 7/8] iio: accel: mma8452: Fix use-after-free bug in error error path
From: Esben Haabendal
Date: Mon Aug 31 2026 - 14:43:10 EST
"Andy Shevchenko" <andriy.shevchenko@xxxxxxxxx> writes:
> On Mon, Aug 31, 2026 at 02:17:10PM +0200, Esben Haabendal wrote:
>> If mma8452_probe() fails in iio_device_register() or later, we could end up
>> with runtime suspend callback being called with a now freed device pointer.
>
>> Fixes: 96c0cb2bbfe0 ("iio: mma8452: add support for runtime power management")
>
> Can this be popped up in the series? I think previous couple of patches are not
> fixes...
Yes, popping it in front of all the other code patches in the series
does not seem to cause problems. I have scheduled that for v8.
/Esben