]> xenbits.xensource.com Git - qemu-xen-traditional.git/commit
ide: Clear DRQ after handling all expected accesses xen-4.6.0-rc1 xen-4.6.0-rc2
authorKevin Wolf <kwolf@redhat.com>
Wed, 3 Jun 2015 12:41:27 +0000 (14:41 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 29 Jul 2015 15:32:02 +0000 (16:32 +0100)
commit7f057440b31da38196e3398fd1b618fc36ad97d6
tree0925e28fff460564792cb83c8ef48f9432dd5a35
parentd18ac5938d38ed9a9d51e380a2baf8343468f65d
ide: Clear DRQ after handling all expected accesses

This is additional hardening against an end_transfer_func that fails to
clear the DRQ status bit. The bit must be unset as soon as the PIO
transfer has completed, so it's better to do this in a central place
instead of duplicating the code in all commands (and forgetting it in
some).

[ This is XSA-138 / CVE-2015-5154. ]

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide.c