Re: [PATCH v2 0/4] xen/pv-scsi: update header and harden frontend

From: Boris Ostrovsky
Date: Fri Apr 29 2022 - 18:26:40 EST



On 4/28/22 3:53 AM, Juergen Gross wrote:
Update the Xen PV-scsi interface from the Xen tree and adapt the
related drivers to use the new definitions.

Harden the frontend driver to be no longer vulnerable to a malicious
backend.

Juergen Gross (4):
xen: update vscsiif.h
xen/scsiback: use new command result macros
xen/scsifront: use new command result macros
xen/scsifront: harden driver against malicious backend

drivers/scsi/xen-scsifront.c | 168 ++++++++++++++++++++++-------
drivers/xen/xen-scsiback.c | 82 +++++++++++++-
include/xen/interface/io/vscsiif.h | 133 ++++++++++++++++++++++-
3 files changed, 340 insertions(+), 43 deletions(-)


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>