From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB3D5C001DE for ; Mon, 31 Jul 2023 07:46:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230173AbjGaHqb (ORCPT ); Mon, 31 Jul 2023 03:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjGaHq2 (ORCPT ); Mon, 31 Jul 2023 03:46:28 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 526EAFB for ; Mon, 31 Jul 2023 00:46:26 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id BB4FBE000C; Mon, 31 Jul 2023 07:46:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1690789584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RzcoTOLofuT5l+F4dsnq95rIrhWtOgZ0f/pwXq6XCE4=; b=KObbDznBnsplRWxyhwVqdnRPjnADo5d9EIZsP0fXIZGpIoBhjzpO9Mtg8to6BQCOrxL8Kz zec8azFwupM46dqsGbtVyorEpXp9fuZqpEmz8XqWU1g5E3S7mR2SjzrTKz+USUH9OoByhV XFlzhlqtlEFB9cDRwuqEoW0RrRdi10nKoOjJBFNDBkXSVbQYMvW5QrZT9wkXIbHQXBYb0v pHGh3yj9HC7EdyNPfQQDHrpXFQyYqJu0xVqzor+vq5BsnU9X8Ur3CkS95ffI4+VV1rpaqQ 9ghYJS95Eh5jhv6az3KBu2nNIwz/IlHL4l7HGE+PWTz5Y+ZmzxpHQn+el+yUEA== Date: Mon, 31 Jul 2023 09:46:19 +0200 From: Miquel Raynal To: Richard Weinberger Cc: Zheng Zhang , Vignesh Raghavendra , linux-mtd , linux-kernel , Alexander Usyskin , Tomas Winkler , Vitaly Lubart , Andy Shevchenko , Zhang Xiaoxu Subject: Re: kernel BUG in __put_mtd_device Message-ID: <20230731094619.760e92a6@xps-13> In-Reply-To: <89021294.889167.1690781715755.JavaMail.zimbra@nod.at> References: <89021294.889167.1690781715755.JavaMail.zimbra@nod.at> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, richard@nod.at wrote on Mon, 31 Jul 2023 07:35:15 +0200 (CEST): > ----- Urspr=C3=BCngliche Mail ----- > > Von: "Zheng Zhang" > > An: "Miquel Raynal" , "richard" , "Vignesh Raghavendra" , > > "linux-mtd" , "linux-kernel" > > Gesendet: Montag, 31. Juli 2023 01:27:09 > > Betreff: kernel BUG in __put_mtd_device =20 >=20 > > Miquel, Richard, Vignesh and to whom it may concern: > >=20 > > 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. =20 >=20 > Isn't this related to "[PATCH] mtd: fix use-after-free in mtd release"? Yes, probably, we received two patches regarding the same issue, but so far no agreement on them because none fully fixes the issue apparently... Thanks, Miqu=C3=A8l