Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp349791iol; Thu, 9 Jun 2022 05:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxom6kYJVzvkoIrNZBpJIx2gt2OqRP/JYJ+jH9MZ4zfbCF37qhesF9KHfnC6G/3OirnFFuX X-Received: by 2002:a65:6459:0:b0:3fc:700a:ce88 with SMTP id s25-20020a656459000000b003fc700ace88mr35077066pgv.143.1654776918695; Thu, 09 Jun 2022 05:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654776918; cv=none; d=google.com; s=arc-20160816; b=v3L7jYYfjgupiwcUwT7IQKWsiBUKTI0a2fVZLycsitoLzhDqCUD9mdrlrzgWq3cURf 7iHUMD42zf7/mJ4VWHoLa227voC2TFLfQ+eKAX4Ldju0gNKfPwhX6/j8u3sdhOvf5qOc qnMBbDeDVJsutk5T1vcuITm2S82JDd7XVxWSI/lcLtFe9FHU93krSXkppcclglBTzPIj sJrv9qj9HuP+2HPI9ffZydsldMQvsyMq+pABtaT2fFsSGM/G+jMJUU77C8j6VhIirHiD AoxRZPMj/rMwV7hRH//fhLBd3sZlJvPtz90H34EoItZZZns13QN26LTMyyQbLclAe/G6 yaeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eA2rSMTUFSewTOnPsmOrnE6HCmgRpXaUuyafBR4ipFo=; b=R9CdRXLvOP5fIZ7zW2ZzYTsM9dgL2HFv3tAJ5NvzSjS3Yas5AFkaMCkbbc9CRHodcp KBN2zg9KcamwmE8UBwYURiEmp6GgmxtsHpqfhRUWWHVVYx++/9245iWtU1/xhz4FCi7l 3Sef9pOuRa6OljqhGv5m5sRs2nw3MTJWABKM5jUzklYGVzFBRaePMakhugq+XpK4qhWD gXHul7zj63Zj0pfOH3Sg2QwVJ16uwt6SzydWAqVy0z8RfWRFWJ+e9F7rSh5tU0Y+kUnM xn85uWflU/t4hRxzzQzjgTOT7gCmv3RIXSnEyq+qnbB8kBhKGcGSEpM1G9Lm/AN0lLeW 8CKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="PhF2l/vt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi4-20020a17090b4b4400b001e85d664617si22239659pjb.76.2022.06.09.05.15.03; Thu, 09 Jun 2022 05:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="PhF2l/vt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229654AbiFILCu (ORCPT + 99 others); Thu, 9 Jun 2022 07:02:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234749AbiFILCs (ORCPT ); Thu, 9 Jun 2022 07:02:48 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7FE923170 for ; Thu, 9 Jun 2022 04:02:47 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id g205so20762373pfb.11 for ; Thu, 09 Jun 2022 04:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eA2rSMTUFSewTOnPsmOrnE6HCmgRpXaUuyafBR4ipFo=; b=PhF2l/vtHVZjCKAqz4OpktNX8yi0juQT7/9mlOjaRI+WJ/8mFLlvmrChupswhPlMoa bc7vMTDPOhZSuBdmsu8Ao+uRlmChD/jUJbcP2miIjzmjYzQ9L3TWeewo4w8AdkVg1o6p 4Y0jslyAC5Xw0nkFpxZEl70DVxJkswiTrwXxo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eA2rSMTUFSewTOnPsmOrnE6HCmgRpXaUuyafBR4ipFo=; b=g2jIbx6CbrNhqLO1lqnJSEsK1bWUXSQGRr4XQxpSrFX9aLdJj0oeTDzRo3EsoAKRj+ hUx2yBdNb0JF5Ed2iP+Gvs7cVu5uU1K7MH5oTi6p+bNkObvATeRzcGpCQ928UXxrwu1e AUYGKXGiDhSC2d3NRbPxY7ag+EVeJVszml7veJQId0QSPSX2ovwFEU3VSY30DE+yONFR KjzOCVZ8INkF3cVcVRF00zZDUOIYFjEB/4gszPiP45BnMuwtzd6f4nWVH3QngrWOmPXV UgcS1HqGYrQWBbvjqHDiG9cxrilah/5bWlXWEh1vLr3kUQuDqOpKYoh4P+Pkswi7pHms CMlw== X-Gm-Message-State: AOAM530QRh9adr93VfmaaR8sBwpDIDL/s6Yg6OfE50gzb6cZ+YovGzkW tKQs2964KBUH9iL3qCxpIZ4Pjg== X-Received: by 2002:a63:8242:0:b0:3fe:3601:747f with SMTP id w63-20020a638242000000b003fe3601747fmr6713986pgd.314.1654772567192; Thu, 09 Jun 2022 04:02:47 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:1572:8d44:6d26:109d]) by smtp.gmail.com with ESMTPSA id t1-20020a1709027fc100b00163f2f9f07csm194145plb.48.2022.06.09.04.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 04:02:46 -0700 (PDT) Date: Thu, 9 Jun 2022 20:02:41 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Sergey Senozhatsky , Naresh Kamboju , open list , linux-fsdevel@vger.kernel.org, Linux ARM , "open list:KERNEL SELFTEST FRAMEWORK" , linux-block , regressions@lists.linux.dev, Jens Axboe , Nitin Gupta Subject: Re: qemu-arm: zram: mkfs.ext4 : Unable to handle kernel NULL pointer dereference at virtual address 00000140 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On (22/06/08 13:45), Minchan Kim wrote: > > I am trying to understand the problem. AFAIK, the mapping_area was > static allocation per cpu so in zs_cpu_down, we never free the > mapping_area itself. Then, why do we need to reinitialize the local > lock again? Well... Something zero-s out that memory. NULL deref in strcmp() in lockdep points at NULL ->name. So I'm merely testing my theories here. If it's not area lock then it's pool->migrate_lock?