Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp721572rdb; Fri, 22 Dec 2023 03:08:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9cWsmXxV91S3kJ8FvYg6jQk12UMzqPvtka4+bf2DzZJBSM+LrqnRuTw4w7giwd9uMO2eL X-Received: by 2002:a05:620a:12d0:b0:781:273d:cf85 with SMTP id e16-20020a05620a12d000b00781273dcf85mr1153693qkl.123.1703243338580; Fri, 22 Dec 2023 03:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703243338; cv=none; d=google.com; s=arc-20160816; b=gO9TsOUG4c2i978/eeGWOwEGNoW1yoZhkjFS4/NYvaLsKWmpJC+dfrrlPBbdcGH/do PW7xe8pfKAQk9YSe2+LUUWroRDKtly12cZdPeHPZpZ9AB9Bw9plbbHX2TRJ5GsZNP0Ek OsG0AP7MoiJKGufxRsRnTQDT3Hdqfv7u3pvL3MKglWOwaUcp6+ZOfKOgqPt5/Pxr6gvt pXK3MGypNF5tFFVEDITDci33KSVaJmPka6tV5ZFNPyJGuEdCOMValqJIhLRx7pZfYkRr deY5ktXEWOcMRL43STDpFAv+S93YJINgshMf+IapC6w1YOWQ9c+ghtoX5IJjvkzbUjoZ YKYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=x1TkxTgOHqhF5k3pRawAjW4ZGGphAJDsr/0EtXWYg9E=; fh=+ZT8Mzn5GLoIkLY6fcX0jlCWB0PzKU5sShlDaxsWzXY=; b=S/ejPSoN3AkdWmimAHTySTOiy0MR1E3LnLJQCCT0wN5Gtclp0Cye0IIQ3DrMivR01k fzdcmmpL9KtN3oZdVzEVtcQZZkLhAKw+2h5wptLVXRCkltDfTsRrSynRJ1QdAM7MRflP 28TACEpcTvKk+2o5YjvcosbQOsXAzPHvMgrY7rOnK2+4n9tSUTDJ9eos6/r2oqzRnn1C NHMLLSesnYFuQFCeVYjP2Z8u98Be28pEZ8zgHEXsn+lr2f6sRi3tvUm19ArHuwRZYQpD q+0+mNMfKyYSajI1Xad8IvCX3OzHkQkBhfoe5YyRpwaBjLJw8OQN3LS8f+PvS8b0Mu1i ijXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=easystack.cn Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x25-20020a05620a0b5900b0078120e0f33dsi2960055qkg.156.2023.12.22.03.08.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:08:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=easystack.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 589541C22223 for ; Fri, 22 Dec 2023 11:08:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56A1E17998; Fri, 22 Dec 2023 11:08:53 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-m17238.xmail.ntesmail.com (mail-m17238.xmail.ntesmail.com [45.195.17.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33EEF17992 for ; Fri, 22 Dec 2023 11:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=easystack.cn Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=easystack.cn Received: from [10.9.0.94] (unknown [211.103.144.18]) by smtp.qiye.163.com (Hmail) with ESMTPA id BEF3A4C0174; Fri, 22 Dec 2023 19:08:09 +0800 (CST) Message-ID: <5a791f12-9c88-4dca-ac9d-dee4ba36bf9c@easystack.cn> Date: Fri, 22 Dec 2023 19:08:09 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] kexec: Fix potential out of bounds in crash_exclude_mem_range() To: Baoquan He Cc: Vivek Goyal , Dave Young , Yuntao Wang , kexec@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231220055733.100325-1-fuqiang.wang@easystack.cn> <20231220055733.100325-3-fuqiang.wang@easystack.cn> Content-Language: en-US From: fuqiang wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFJQjdXWS1ZQUlXWQ8JGhUIEh9ZQVkZHUhNVk1CSElOHUMfSk1LQ1UZERMWGhIXJBQOD1 lXWRgSC1lBWUlKSlVKS0hVSk9PVUpDWVdZFhoPEhUdFFlBWU9LSFVKTU9JTE5VSktLVUpCS0tZBg ++ X-HM-Tid: 0a8c9136165c022ekunmbef3a4c0174 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Mk06Qgw5Hjc#ISgKAhE9NR4B MBcKCUNVSlVKTEtISU9ISUJLTk9DVTMWGhIXVR0OChIaFRxVDBoVHDseGggCCA8aGBBVGBVFWVdZ EgtZQVlJSkpVSktIVUpPT1VKQ1lXWQgBWUFKQ0NMNwY+ 在 2023/12/21 19:42, Baoquan He 写道: > You may need rebase your work on next/master branch to avoid conflict. > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > In the current, below commit exists, then code change in this patch may > not be needed. > 86d80cbb61ca crash_core: fix and simplify the logic of crash_exclude_mem_range() > Yes, Baoquan, you are right. It's my mistake. Thank you very much ~