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

Juergen Gross posted 4 patches 2 years ago
Failed in applying to current master (apply log)
There is a newer version of this series
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(-)
[PATCH v2 0/4] xen/pv-scsi: update header and harden frontend
Posted by Juergen Gross 2 years ago
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(-)

-- 
2.34.1
Re: [PATCH v2 0/4] xen/pv-scsi: update header and harden frontend
Posted by Boris Ostrovsky 2 years ago
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@oracle.com>