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

Miquel Raynal <[email protected]>
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.drivers.mtd,gmane.linux.kernel
Message-ID <[email protected]>
On 27/04/2026 at 13:47:50 +02, Florian Fuchs <[email protected]> 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 <[email protected]>
> ---

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.