mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
While writing a message in 'lsi_do_msgin', message length value in 'msg_len' could be invalid due to an invalid migration stream. Add an assertion to avoid an out of bounds access, and reject the incoming migration data if it contains an invalid message length. Discovered by Deja vu Security. Reported by Oracle. Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-Id: <20181026194314.18663-1-ppandit@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commite58ccf0396
) *CVE-2018-18849 *avoid context dep. onc921370b22
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>