Re: [PATCH v4 2/3] scsi: storvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening
From: Wei Liu <wei.liu@kernel.org>
Date: 2020-07-01 16:53:48
Also in:
linux-scsi, lkml
From: Wei Liu <wei.liu@kernel.org>
Date: 2020-07-01 16:53:48
Also in:
linux-scsi, lkml
On Tue, Jun 30, 2020 at 08:12:20PM -0400, Andres Beltran wrote:
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. Cc: "James E.J. Bottomley" <redacted> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org
James and Martin, FYI I'm going to take this patch via hyperv tree because it depends on the first patch. Wei.