Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1412365rdh; Fri, 27 Oct 2023 13:32:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWCKgGqkhJAOwdBtA6+xY/9u+kYHNs7RHakboYQyhMRBcoZhY8n5mXkNpk87bJwc1fWt31 X-Received: by 2002:a25:cad2:0:b0:d9b:76c3:4143 with SMTP id a201-20020a25cad2000000b00d9b76c34143mr3613461ybg.6.1698438739689; Fri, 27 Oct 2023 13:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698438739; cv=none; d=google.com; s=arc-20160816; b=mUNcjeg6d9IKwLJ6MZjw0bkh6VL9SWAGe/D9/Nw0lPNYNkys51QvJkrgGd23NYCAo2 Z/yXeoSFRo5tCaoIk0HQl/xGEjubFCQcT1ZWrp2YR7QrW0cIU1oy630bXGDtZEVBcy0/ MvGbY435dYFkIrcxgfga0Rp7cVthARz/x7cMdf3W6qPoqw9z9+BuB9HowfYySDUEu/zN GcL/yYmgH+ILH24hoapKUgCMv1U1lLvin66enmy2daevcMTZ297nZmDuO4j7WMnlnKQX E8w2fxG/x+zL+nGvm/N3Q1naiRklr6xy8xK5Wp+4rOw1P9n32U7oI896YhVJNUTFu6gx ryhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=1lTzpCGesgN6IAUMFkwz7tguruiobljqLaF266P9JnU=; fh=MamJU/SIVp6iCTKfl40kzENBT37jG+bR5OEtxjeHYis=; b=ywA1Emlnkz76PUPsQ5hRdSEUfpGOie5u1BK9CXhZSN1f2yUHAr/lycoEypdDRHNClh oAVkLlAFrthRjXvSWSqwdL1CNfhnjvyScqDi0e7Cw/ISRf+S5RBgZEf7khGUMVKcCOfQ /SH5VnsE5e8t5oK11YtFYpXnM3Jl3n6g75Ul1Be9MN87ZKxwOz/khjzt995bzzYfrkSn TlPc7MpzzAOWDXszmgFGiccB40bKc9Sc3KenxewNFz+E0ByjYz1iEAf5RcdCZxf9tAfF UExVd0KoD+at5AVYEDEZMtEIA05kY8bhDOe7kaAqmbufaLiMi6SLIjbieuNa8lEu6WEA CRxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w194-20020a25c7cb000000b00d7b8e93f88csi4065874ybe.631.2023.10.27.13.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 13:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5E89180792D2; Fri, 27 Oct 2023 13:30:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232617AbjJ0UaT convert rfc822-to-8bit (ORCPT + 99 others); Fri, 27 Oct 2023 16:30:19 -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== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 13:30:30 -0700 (PDT) ----- 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 ;-)