[PATCH v2 2/3] mtd: maps: vmu-flash: fix fault in unaligned fixup
Miquel Raynal
miquel.raynal at bootlin.com
Mon Apr 27 05:34:35 PDT 2026
On 27/04/2026 at 13:47:49 +02, Florian Fuchs <fuchsfl at gmail.com> wrote:
> Use kzalloc_obj() / kzalloc_objs() to allocate the memcard structs,
> instead of kmalloc_obj() / kmalloc_objs() to prevent access to
> uninitialized data.
>
> Fixes runtime error: Fault in unaligned fixup: 0000 [#1] at
> mtd_get_fact_prot_info.
Shall this patch receive a Fixes tag if it actually fixes runtime
behaviour?
Also, please add the 'Cc: stable' line in your fixes.
Thanks,
Miquèl
More information about the linux-mtd
mailing list