Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1372419pxb; Fri, 13 Nov 2020 10:56:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyo1R9c4W4XqN0ji6YgjyfaARdfA9fdvBn83KTVzYMjRnEPAK5pDGDxJAD3jf68dsx6SQdr X-Received: by 2002:a17:907:2063:: with SMTP id qp3mr3517438ejb.314.1605293794487; Fri, 13 Nov 2020 10:56:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605293794; cv=none; d=google.com; s=arc-20160816; b=M6P+w6DvxwlGmfp2MZVbIn7JiZTMmeQWw9rOEtN1RoyEhlru4tJHfVT2EmxNMW55N9 qU3Lw/tYwAcQvikQ2jqOC/HIUfYnFGip4jIYDRCNVfZKE8axCun/CStcmY0yvYC+hiRT 2OJ6lCv3hNS1hgTgnuAdK5Hgozguayc5Qn+0tl33ikqUVql+u/W6A8zjpK4iGHO0/FbG vLT4D9Hc0tVSY6yaq85e7oKvOLw7oRYk0QtdikYn0NdsKKGAmNsSZWk31G038GtH+ZHB cL/4mqmbyWkR2QbH/4F1melXImSAklvVEcd3CoOLEkEzGhYMXzocupiLSVQZRsyU0vBE 8OHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=tzL14T6rCTSN4RsuVPtTnWJiOyUZXc1z2gXeQlm5kq8=; b=mfN8IUU3bFi/qyAkiyxI5Yi87P4rJdScEhXXRmGOYmfAnR5TJYNZ0W+ZGChS/snxcy clwaM8GktSErKqM+ofZz4n7v1VOF6IsBGObyRA9GOnAR2QQBJO6HddslqPbdM1PbnATT 1YKKEzoF0aYnSkjw8Urubz+jj1MmjQzWqEGgcVtb3yEmxKy6et7HW4MAumjJ795aftnf j/qi1LFh2mZwrcseKqHmfovQPiWoGsmvzUYM4RUZWvmAfOkG6+YyTqCx1De5Uv1VQ0Ag lVgNpaFEGjacpnNuCnWjbJZPq7fCZ1VXRYbuoB5iKqt6SrDMIYCzQUph4YRmpjN/9dtN kJ2w== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si6860687edj.427.2020.11.13.10.56.11; Fri, 13 Nov 2020 10:56:34 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbgKMSy3 (ORCPT + 99 others); Fri, 13 Nov 2020 13:54:29 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:54081 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgKMSy2 (ORCPT ); Fri, 13 Nov 2020 13:54:28 -0500 Received: by mail-wm1-f66.google.com with SMTP id p22so9594820wmg.3; Fri, 13 Nov 2020 10:54:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tzL14T6rCTSN4RsuVPtTnWJiOyUZXc1z2gXeQlm5kq8=; b=gCvOupb3ISWmYY9xXbqcFv5BfoEfp9v+Q5AKWACfOj7Dx+ta7muduPNtC0Zn0KQeBy cYefoRUp3xnm1ou7naolKgLP0MjOcIhJ2JzQXDtVRlwn3GYi7JfPr7+sCitTaTKC4RVd 2dSknXtk1ac4FpPdRal04vGFR4BuXKYlg1B51qREVqTwqoSgNOgLUnTSp5FrK68xbcCZ PPeb2DXt8muR+LrCiKEYaOsxwQRggxFDDApb8nmbBtEzOwYYu2mG9hCS1wP8zS25HRVb VZTO59F/Y4yJlqQ7+fM6Ye5wIb0tBySvhDd+Bvd4jqyDTNEjVywZPei/xiE8+zSMaDuS Gv/A== X-Gm-Message-State: AOAM532LqRgi4YI7Im4QJBqxxH5Z/RViIG5kcU9je5nabhM/jLWUNSBJ T/8MH1Pq0LUmAJHoMZ9qO7s= X-Received: by 2002:a7b:c8c5:: with SMTP id f5mr889104wml.174.1605293666845; Fri, 13 Nov 2020 10:54:26 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id u5sm7158222wro.56.2020.11.13.10.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 10:54:26 -0800 (PST) Date: Fri, 13 Nov 2020 18:54:24 +0000 From: Wei Liu To: "Andrea Parri (Microsoft)" Cc: linux-kernel@vger.kernel.org, "K . Y . Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , linux-hyperv@vger.kernel.org, Andres Beltran , Michael Kelley , Saruhan Karademir , Juan Vazquez , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: Re: [PATCH v9 2/3] scsi: storvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening Message-ID: <20201113185424.ujdfx6ot7siqr5qh@liuwe-devbox-debian-v2> References: <20201109100402.8946-1-parri.andrea@gmail.com> <20201109100402.8946-3-parri.andrea@gmail.com> <20201113113327.dmium67e32iadqbz@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113113327.dmium67e32iadqbz@liuwe-devbox-debian-v2> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 11:33:27AM +0000, Wei Liu wrote: > On Mon, Nov 09, 2020 at 11:04:01AM +0100, Andrea Parri (Microsoft) wrote: > > From: Andres Beltran > > > > Currently, pointers to guest memory are passed to Hyper-V as > > transaction IDs in storvsc. In the face of errors or malicious > > behavior in Hyper-V, storvsc should not expose or trust the transaction > > IDs returned by Hyper-V to be valid guest memory addresses. Instead, > > use small integers generated by vmbus_requestor as requests > > (transaction) IDs. > > > > Signed-off-by: Andres Beltran > > Co-developed-by: Andrea Parri (Microsoft) > > Signed-off-by: Andrea Parri (Microsoft) > > Reviewed-by: Michael Kelley > > Cc: "James E.J. Bottomley" > > Cc: "Martin K. Petersen" > > Cc: linux-scsi@vger.kernel.org > > Reviewed-by: Wei Liu Martin already gave his ack back in July. I guess nothing substantial changed so it should have been carried over? Wei.