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 ECE3EC25B47 for ; Fri, 27 Oct 2023 20:30:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346419AbjJ0UaU convert rfc822-to-8bit (ORCPT ); Fri, 27 Oct 2023 16:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjJ0UaT (ORCPT ); Fri, 27 Oct 2023 16:30:19 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 696541B5 for ; Fri, 27 Oct 2023 13:30:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id EBDE8608890D; Fri, 27 Oct 2023 22:30:12 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id G447C4Tn4azn; Fri, 27 Oct 2023 22:30:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 2EF69622F591; Fri, 27 Oct 2023 22:30:12 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YQUC60C59djK; Fri, 27 Oct 2023 22:30:12 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id C747B608890D; Fri, 27 Oct 2023 22:30:11 +0200 (CEST) Date: Fri, 27 Oct 2023 22:30:10 +0200 (CEST) From: Richard Weinberger To: Miquel Raynal Cc: ZhaoLong Wang , Vignesh Raghavendra , Artem Bityutskiy , dpervushin , linux-mtd , linux-kernel , chengzhihao1 , yi zhang , yangerkun Message-ID: <174426702.13324.1698438610904.JavaMail.zimbra@nod.at> In-Reply-To: <20231027194026.1bc32dfe@xps-13> References: <20231027012033.50280-1-wangzhaolong1@huawei.com> <20231027194026.1bc32dfe@xps-13> Subject: Re: [PATCH v3] mtd: Fix gluebi NULL pointer dereference caused by ftl notifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: Fix gluebi NULL pointer dereference caused by ftl notifier Thread-Index: 9idq5YltiezeBp0v4nFqPZqAKQMSSA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Miquel Raynal" >> Detailed reproduction information available at the link[1], >> >> The solution for the gluebi module is to run jffs2 on the UBI >> volume without considering working with ftl or mtdblock.[2]. > > I am sorry but ftl, gluebi, mtdblock, jffs2 and ubi in the same report > seem a little bit fuzzy. Are you sure about this sentence? ZhaoLong Wang found an interesting bug while stacking various MTD components. I suggested to just deny mtdblock on top of gluebi to avoid the whole problem class instead of adding more duct tape. Thanks, //richard The issue reminds me of one of my favorite Monty Python sketches, https://www.youtube.com/watch?v=LFrdqQZ8FFc ;-)