Skip to content
Commit 959fad0f authored by Petr Matousek's avatar Petr Matousek Committed by Michael Roth
Browse files

fdc: force the fifo access to be in bounds of the allocated buffer



During processing of certain commands such as FD_CMD_READ_ID and
FD_CMD_DRIVE_SPECIFICATION_COMMAND the fifo memory access could
get out of bounds leading to memory corruption with values coming
from the guest.

Fix this by making sure that the index is always bounded by the
allocated memory.

This is CVE-2015-3456.

Signed-off-by: default avatarPetr Matousek <pmatouse@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
(cherry picked from commit e9077462)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent a4bb522e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment