Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1606953pxb; Mon, 11 Oct 2021 09:21:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrUUGruaxPQroETy6BcTGDHnGSm1Gk64CDvoV4VEiCjkmUld2y9CMSFESb0oihVdRWZvVS X-Received: by 2002:a05:6402:4248:: with SMTP id g8mr42255976edb.91.1633969313777; Mon, 11 Oct 2021 09:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969313; cv=none; d=google.com; s=arc-20160816; b=QesELGwawOUuNy8cuG+kTZKUSwPExzDNsnIp82tfcsAZMeTNLiaipbXPE4lJz+Qarf 0qsxD+7FQyiDfYCy+tON1tW7urxhwJezG/i/jGHbjNuTpJlJ6TtfvJQPjByrPiTsn0l7 m8lsUffDH472lFIjqupuLqYWfT2DCvhpEHqLB7SimTlN7tqyNM3mXdKDjXC0RTo2iaLk ZJdZhVUWdzsPj8HnDQfSiPBWDPnEG/apKzWs3h6Y6bxy1GcF3gTOgjyP7cBF8Mtg8geu lK/VkXJPGHZpSgUYnmOS2/tAAr6ZVRmJojFYwfqG/ze2YN4F/gU7ILhBarPiZK+AdzmY Oguw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to :dkim-signature; bh=oR6LB/YYCviOzRyS9rHfDCuLWfRpmReRbWc3k8+yM1g=; b=pT5J9ntQu4JODd0plcCpl1VDR/AzTsAYaI2De1xLwp72P2f93A6gTFlK4l0EEPrU6V 459Ji4FJUhdCM4OboTpnqLHe60Z2WopiN+Se9znFQZ3S/ekBrlFdi/j4MZb4nf1/xrvy E2yi+rS7bACVxGiO44EiytmNHPxBu7EZTauLpQTfu6hkQAez0NkgepEqHEszvKxANhxY pVE1eNhFp2zp7DBZIxKhNp4Vyogw0n9AsxAyI1SrobsMqrV0wj8HvFXPqvoGrEcU67Bj F3ZnqcI7dd9ahc3HKSEGKpUOzrSfS8iFGInm0/UtjDyOVabL/x7XvLLgXtog15ePZ4wy e2iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lgq9UUjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si11341106ejv.694.2021.10.11.09.21.30; Mon, 11 Oct 2021 09:21:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lgq9UUjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236214AbhJKLZ7 (ORCPT + 99 others); Mon, 11 Oct 2021 07:25:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233912AbhJKLZ4 (ORCPT ); Mon, 11 Oct 2021 07:25:56 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60C7BC061570 for ; Mon, 11 Oct 2021 04:23:56 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id x27so72231370lfa.9 for ; Mon, 11 Oct 2021 04:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=oR6LB/YYCviOzRyS9rHfDCuLWfRpmReRbWc3k8+yM1g=; b=lgq9UUjXC03oWhJswAcwW8p/1VtyCst3H4y2N8KWKpt7t+rgzoxMFx7+G99NS+OL08 fcnUUu4Ro5yXvX7w3fubcHddO5KTAZUsuytdm4ag2kcHik7I+bq1uOCYD+/izIgancts yTwS3ao0BcOE1yk3aU03wLfkOMuvvJpwRLBhVT9zi/sTP64EtZKmtAggHjybjzmjxW/O qfD4Dt+m3xyS1dvhpaG/wzF5deY7maUQMgefdGmk+54XJax7t1mVXvuEZfGI17ptk43B yCAA9oilXEorDs8bezTSWhxnM/70ysjiEkuq4cWc7+oWl7ZTIGIhoGyU6CGNguBp94qG XmxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=oR6LB/YYCviOzRyS9rHfDCuLWfRpmReRbWc3k8+yM1g=; b=hiWRTqI5qysIpMJUOwE6hD+G2De4ohudfaLO0YoOg3kdRJBAre8z5Lo89HA4a5tk5H 05PFo3RMF84PdihPSXKE9ZL40ObXK4kK/yzd3yTXcY33jv2gJmQWAGS5T0RgzhJgRhpQ 9vZB/WvPXXpx29GgG6QLhDyhNi9JaDN+NTzjCrrPTWP1A4nM7pe9NL1UEN5urQ1MvtCJ +ZW7RNfhE0LLNWlc/LZNRjSXvnZWycP0mrpRQ3tP0n3kzr+8a+QlVRmBzkHE4GXoUe/f njl7COAOXTaGWjFqIy6vM4x2er+ZKbVQGrKR7ffGRCm5JbZzg6KRFWQVz9N+7OikArto YVeg== X-Gm-Message-State: AOAM533q2Tq9+sbnOpV8Oqv8013F8aQC5sNSZXuao8TBNOLcZn/+qQQM a8ALYn06QDUeLesRl7gaxr5gqA== X-Received: by 2002:a05:651c:88d:: with SMTP id d13mr21431439ljq.399.1633951434694; Mon, 11 Oct 2021 04:23:54 -0700 (PDT) Received: from [192.168.1.102] (62-248-207-242.elisa-laajakaista.fi. [62.248.207.242]) by smtp.gmail.com with ESMTPSA id x27sm707098lfn.226.2021.10.11.04.23.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Oct 2021 04:23:54 -0700 (PDT) To: Mike Rapoport Cc: lkml , linux-mm@kvack.org From: Vladimir Zapolskiy Subject: Panic on kmemleak scan Message-ID: <8ade5174-b143-d621-8c8e-dc6a1898c6fb@linaro.org> Date: Mon, 11 Oct 2021 14:23:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mike, commit a7259df767 ("memblock: make memblock_find_in_range method private") [1] invokes a kernel panic while running kmemleak on OF platforms with nomaped regions, basically it's similar to an issue reported and fixed earlier by [2]: Unable to handle kernel paging request at virtual address ffff000021e00000 [...] scan_block+0x64/0x170 scan_gray_list+0xe8/0x17c kmemleak_scan+0x270/0x514 kmemleak_write+0x34c/0x4ac I believe it would be a trivial problem to correct for you, thank you in advance! [1] https://lore.kernel.org/all/20210816122622.30279-1-rppt@kernel.org/T/#u [2] https://lore.kernel.org/lkml/20190119132832.GA29881@MBP.local/t/#m032124f36c07 -- Best wishes, Vladimir