Skip to content

Qemu: scsi: esp: check command buffer input length

P J P qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi: check command buffer length before write(CVE-2016-4439)hw/scsi/esp.c+5 -10 replies
2/2scsi: check dma length before reading scsi command(CVE-2016-4441)hw/scsi/esp.c+7 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Qemu: scsi: esp: check command buffer input length

From: Prasad J Pandit <[email protected]>

Hello,

The ESP 53C9X Fast SCSI Controller(FSC) comes with an internal 16-byte FIFO buffer. It is used to handle command and data transfer between controller and the bus. Couple of OOB write access issues were found and reported in its emulation by Mr Li Qiang of 360.cn Inc.

Please see below are the proposed patches to fix these issues.

Thank you.
--
Prasad J Pandit (2):
scsi: check command buffer length before write(CVE-2016-4439)
scsi: check dma length before reading scsi command(CVE-2016-4441)

 hw/scsi/esp.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

--
2.5.5