[syzbot] linux-next boot error: general protection fault in add_mtd_device

Vanessa Page Vebpe at outlook.com
Thu Jul 21 21:31:27 PDT 2022


And yet you still keep sending them.

> On Jul 21, 2022, at 10:37 PM, Tetsuo Handa <penguin-kernel at i-love.sakura.ne.jp> wrote:
> 
> mtd_check_of_node() was added by commit ad9b10d1eaada169 ("mtd: core:
> introduce of support for dynamic partitions").
> 
> I guess that sometimes (depending on probe timing) mtd->parent is NULL.
> Please check what mtd->parent == NULL means.
> 
> +    /* Check if a partitions node exist */
> +       parent = mtd->parent;
> +       parent_dn = dev_of_node(&parent->dev);
> 
>> On 2022/06/30 18:32, syzbot wrote:
>> Hello,
>> 
>> syzbot found the following issue on:
>> 
>> HEAD commit:    6cc11d2a1759 Add linux-next specific files for 20220630
>> git tree:       linux-next
>> console output: https://syzkaller.appspot.com/x/log.txt?x=1640f850080000
>> kernel config:  https://syzkaller.appspot.com/x/.config?x=54f75b620e3845dd
>> dashboard link: https://syzkaller.appspot.com/bug?extid=fe013f55a2814a9e8cfd
>> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
>> 
>> IMPORTANT: if you fix the issue, please add the following tag to the commit:
>> Reported-by: syzbot+fe013f55a2814a9e8cfd at syzkaller.appspotmail.com
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/


More information about the linux-mtd mailing list