[Linux Kernel Bug] WARNING: zero-size vmalloc in ubi_read_volume_table
Richard Weinberger
richard at nod.at
Tue Jan 23 08:15:41 PST 2024
Chenyuan,
----- Ursprüngliche Mail -----
> Von: "Yang, Chenyuan" <cy54 at illinois.edu>
> An: "linux-mtd" <linux-mtd at lists.infradead.org>, "richard" <richard at nod.at>, "Miquel Raynal"
> <miquel.raynal at bootlin.com>, "Vignesh Raghavendra" <vigneshr at ti.com>
> CC: "syzkaller" <syzkaller at googlegroups.com>, "Zhao, Zijie" <zijie4 at illinois.edu>, "Zhang, Lingming"
> <lingming at illinois.edu>
> Gesendet: Dienstag, 23. Januar 2024 16:30:59
> Betreff: Re: [Linux Kernel Bug] WARNING: zero-size vmalloc in ubi_read_volume_table
> Dear Linux Kernel Developers for UBI,
>
> I am writing to inquire if there have been any updates regarding the crash issue
> previously discussed. I would like to suggest a potential solution: adding a
> check for the malloc size could possibly prevent crashes caused by zero-size
> vmalloc.
>
> Your insights on this matter would be greatly appreciated. Thank you for your
> time and dedication
Before we add a check, what MTD are you using?
Can you share the parameters? Erase size, etc...
Thanks,
//richard
More information about the linux-mtd
mailing list