Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp243878rdh; Mon, 18 Dec 2023 18:47:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+z9x9Hz9kK+eHNE+DfUcI+T8jUSUlx3KNj8baBpNXwooOLcYs92h9DYTO56UhiLPN8lEf X-Received: by 2002:ad4:5dc9:0:b0:67a:d843:e0d8 with SMTP id m9-20020ad45dc9000000b0067ad843e0d8mr595944qvh.18.1702954059525; Mon, 18 Dec 2023 18:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702954059; cv=none; d=google.com; s=arc-20160816; b=j+Cdz3poG76Zx3AcEnntkAvwtDOjcaejUzbGhNmLNbakSR7XUz1cK3jvDtLLvCIMMI gtVIx8PcV6xVd+wdI5SU7MWDt3terp8snYVwK+jfEswWbY9wEDu6kPpWHLwVkpG8GrBv RyucdHCzMy/4agFKHmJz/xs53Q5+lgxByQDvS9FbnZv+hjnl+G8BQFrUov7NmpcWBISE aK+fT76LndH9QHPVZPKkN87tZMemR75drz5SrhckwRfZ9jnrrpovhveqZTcZsTijRV/T c1EwK3SHuIE3M5cKkJUUajCLGkGxvSo+H2+lC1t3ScX3yTmi4fbSEHY4c45x+zq4BCU7 Vixg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sC/Syu1LO9CGekxHr4hyDiqB1I8nqPv3BQMH/cbp20c=; fh=2o3RQ2RQFE74Sc8QeyxA0IDhlRI4raQW2jlQwQfINXA=; b=VNKysUqk93V2F9vhO9XRtYVj5FrinwTAxTAd1+0+9uAl2MJJqiAAo8k7p9Va15KC5t mOGndhdtXhItwbYpjzeVjUtRpiEr6eHIDnWvuXhNsrq4seYx9g6NLqmZuR+hRZMQeFXP SyC6rzGNiicoaq//ZJ3OuYw/IF6h+DCTRMiqNqBP8BgjTbMk9vPyA7hwlwEwDQd7/oXF K4SWVfGpqAjuMJKqqo7ixnRbGww9ZQbASMfh9Bg3M5S4GK5pvnfEGjUzXnZf/QLK5g8E xytf0pIlsr/Vth/QvTNJC0yl8FIgrr/gT4hq/h7rNf51+cKkqN+pDKoujZ8V8YAWxnGw XQNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l5lRuXM/"; spf=pass (google.com: domain of linux-kernel+bounces-4614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h16-20020a0cf210000000b0067f29578bafsi6727549qvk.7.2023.12.18.18.47.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 18:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l5lRuXM/"; spf=pass (google.com: domain of linux-kernel+bounces-4614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 46F6E1C22ED2 for ; Tue, 19 Dec 2023 02:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C010579CF; Tue, 19 Dec 2023 02:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l5lRuXM/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4B407468 for ; Tue, 19 Dec 2023 02:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6d89f278cc9so861107b3a.0 for ; Mon, 18 Dec 2023 18:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702954053; x=1703558853; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sC/Syu1LO9CGekxHr4hyDiqB1I8nqPv3BQMH/cbp20c=; b=l5lRuXM/oFZigd2dq8kx16aWTHzDEp58H460x+KF8EcTPIMcQFl1eUYXNFWk2KJTte JPPuoBIUyFGk3zljPVft9gjkULxBMPNR+pW2k+u+195VBRQvyNsZsAtRLb2G4IFVD9R/ SieYfTvC+TmvgYCuJPxUZYK1QzReSmJswNAspsLFZKFL0YOM90zWEaL7cxlMqWlOIRQu MdrHXVgFmySps1LlM+XffdmkkRg6c3P3hEjTVGTUnQ0D+6n8yBi6fNxSLcMz+CkAskdX eUuQ4/st9DE+LDoaSlJh6q542va+ND3axviUhPNyXaKOVNdRliltmktA/vBquDQHXeoP 9jvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702954053; x=1703558853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sC/Syu1LO9CGekxHr4hyDiqB1I8nqPv3BQMH/cbp20c=; b=GVav6K48bAn5te3SpCTQhJji7F3KvxrjG2yezz6252xFyav4Io6jvHOcsETOepV8hg H3J68J7xuFLW/Uol0XKpIZojMcpya7bZyiEhFLbGaHkqR7ejq9/7K+RKH/xE2sMtgHpa pFTiExSuQSGcHbeCp0OZP4GLKrkNb21/AIMdwjNihoydLJ/BPGclwQ29WUF8yNhmB22C yv3EBnpaYNofYkzhy//RfT90AsWACfqfYiAHnb/U1T56CwJeN2nHG/CXjyr0J5l4STWq UgZ+jFy7dYCZ9cm5PQkKkuoD7dcpQeDqfokcVP3e/+qZhOxzB2g5RTKFnGXqU+7qJVJn yiog== X-Gm-Message-State: AOJu0YwXXo+oRgZahC85FOl/cUW8Qlfnq/q3IrbY/So5GDFXStLjmdPE s/e0hxtkD1OJCbE2ztaJmOk= X-Received: by 2002:a05:6a00:330c:b0:6d2:74fc:1f1e with SMTP id cq12-20020a056a00330c00b006d274fc1f1emr542127pfb.14.1702954052994; Mon, 18 Dec 2023 18:47:32 -0800 (PST) Received: from code.. ([144.202.108.46]) by smtp.gmail.com with ESMTPSA id h25-20020aa786d9000000b006d559d1a674sm3620275pfo.160.2023.12.18.18.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 18:47:32 -0800 (PST) From: Yuntao Wang To: fuqiang.wang@easystack.cn Cc: bhe@redhat.com, dyoung@redhat.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, vgoyal@redhat.com Subject: Re: [PATCH] kexec: avoid out of bounds in crash_exclude_mem_range() Date: Tue, 19 Dec 2023 10:47:27 +0800 Message-ID: <20231219024727.35016-1-ytcoode@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <2fc2ad7d-13be-4a9a-b984-67b1bf04c56b@easystack.cn> References: <2fc2ad7d-13be-4a9a-b984-67b1bf04c56b@easystack.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi fuqiang, Yesterday, I posted two patches that happen to address the bugs you an Baoquan are currently discussing here, I wasn't aware that you both were also working on fixing these issues. Baoquan suggested I talk to you about it. If you're interested, you can take a look at my patches and review them to see if there are any issues. If everything is fine, and if you're willing, you can also add a 'Reviewed-by' tag there. The following link is for the two patches I posted yesterday: https://lore.kernel.org/lkml/20231218081915.24120-3-ytcoode@gmail.com/t/#u Sincerely, Yuntao