Re: [PATCH v2 3/3] mtd: maps: vmu-flash: Fix NULL pointer dereference in initialization

From: Miquel Raynal

Date: Mon Apr 27 2026 - 08:40:00 EST


On 27/04/2026 at 13:47:50 +02, Florian Fuchs <fuchsfl@xxxxxxxxx> wrote:

> The mtd_info contains a struct device, which must be linked to its
> parent. Without this, the initialization of the MTD fails with a NULL
> pointer dereference.
>
> Signed-off-by: Florian Fuchs <fuchsfl@xxxxxxxxx>
> ---

For how long as this been broken? Is it really used?

Anyway, also here you will need to Cc stable and add a fixes tag.

Thanks,
Miquèl