Re: kernel BUG in __put_mtd_device

From: Richard Weinberger
Date: Mon Jul 31 2023 - 01:36:21 EST


----- Ursprüngliche Mail -----
> Von: "Zheng Zhang" <zheng.zhang@xxxxxxxxxxxxx>
> An: "Miquel Raynal" <miquel.raynal@xxxxxxxxxxx>, "richard" <richard@xxxxxx>, "Vignesh Raghavendra" <vigneshr@xxxxxx>,
> "linux-mtd" <linux-mtd@xxxxxxxxxxxxxxxxxxx>, "linux-kernel" <linux-kernel@xxxxxxxxxxxxxxx>
> Gesendet: Montag, 31. Juli 2023 01:27:09
> Betreff: kernel BUG in __put_mtd_device

> Miquel, Richard, Vignesh and to whom it may concern:
>
> Hello! We have found a bug in MTD driver in the Linux kernel version 6.2.0
> by Syzkaller with our own templates.
> It's triggered for multiple times. Unfortunately, it doesn't generate a
> reproducer.
> Attached is the report, log generated by syzkaller.
> Please let me know if there is any additional information that I can
> provide to help debug this issue.

Isn't this related to "[PATCH] mtd: fix use-after-free in mtd release"?

Thanks,
//richard