Skip to contentSkip to conversation

CVE-2016-5403 results in a bug

Qemu-devel yue 3 participants 4 messages Oct 18, 2016 – Oct 20, 2016

lore
Share & tools
lore

yue

author
#0 lore raw

hi, all:
    i apply this patch, https://git.centos.org/blob/rpms!!qemu-kvm/6078803a0db76660aef491907f795bb23ad33357/SOURCES!kvm-virtio-error-out-if-guest-exceeds-virtqueue-size.patch;jsessionid=124pfc40q9ejezgb0b5qrnv6m#L33 .
  but this patch always results in a bug(bug?).  a vm always exits with '2016-10-17T07:33:40.393592Z qemu-kvm: Virtqueue size exceeded', if you suspend and resume . (please refer to https://wiki.openstack.org/wiki/Kvm-Pause-Suspend  to see the definiton of suspend and resume in openstack). this operation is very commonly used in openstack. i  am not sure if this patch is elegant .

what is your opinion?

thanks

#1 lore raw
Quoted 2 lines · yue
    i apply this patch, https://git.centos.org/blob/rpms!!qemu-kvm/6078803a0db76660aef491907f795bb23ad33357/SOURCES!kvm-virtio-error-out-if-guest-exceeds-virtqueue-size.patch;jsessionid=124pfc40q9ejezgb0b5qrnv6m#L33 .

but this patch always results in a bug(bug?). a vm always exits with '2016-10-17T07:33:40.393592Z qemu-kvm: Virtqueue size exceeded', if you suspend and resume . (please refer to https://wiki.openstack.org/wiki/Kvm-Pause-Suspend to see the definiton of suspend and resume in openstack). this operation is very commonly used in openstack. i am not sure if this patch is elegant .

Try these patches:
bccdef6b1a204db0f41ffb6e24ce373e4d7890d4..58a83c61496eeb0d31571a07a51bc19, 4b7f91ed0270a371e1933efa21ba600b6da23ab9

#2 lore raw
Quoted 7 lines · Stefan Hajnoczi
Quoted 2 lines · yue
     i apply this patch, https://git.centos.org/blob/rpms!!qemu-kvm/6078803a0db76660aef491907f795bb23ad33357/SOURCES!kvm-virtio-error-out-if-guest-exceeds-virtqueue-size.patch;jsessionid=124pfc40q9ejezgb0b5qrnv6m#L33 .

but this patch always results in a bug(bug?). a vm always exits with '2016-10-17T07:33:40.393592Z qemu-kvm: Virtqueue size exceeded', if you suspend and resume . (please refer to https://wiki.openstack.org/wiki/Kvm-Pause-Suspend to see the definiton of suspend and resume in openstack). this operation is very commonly used in openstack. i am not sure if this patch is elegant .

Try these patches:
bccdef6b1a204db0f41ffb6e24ce373e4d7890d4..58a83c61496eeb0d31571a07a51bc19, 4b7f91ed0270a371e1933efa21ba600b6da23ab9

Yue,

any progress? have you tried the above fixes?

Yadi

author
#3 lore raw

i basicly understand the code, i have it done next week. do you have any suggestion?

Quoted 14 lines · Yadi Hu
Quoted 7 lines · Stefan Hajnoczi
Quoted 2 lines · yue
     i apply this patch, https://git.centos.org/blob/rpms!!qemu-kvm/6078803a0db76660aef491907f795bb23ad33357/SOURCES!kvm-virtio-error-out-if-guest-exceeds-virtqueue-size.patch;jsessionid=124pfc40q9ejezgb0b5qrnv6m#L33 .

but this patch always results in a bug(bug?). a vm always exits with '2016-10-17T07:33:40.393592Z qemu-kvm: Virtqueue size exceeded', if you suspend and resume . (please refer to https://wiki.openstack.org/wiki/Kvm-Pause-Suspend to see the definiton of suspend and resume in openstack). this operation is very commonly used in openstack. i am not sure if this patch is elegant .

Try these patches:
bccdef6b1a204db0f41ffb6e24ce373e4d7890d4..58a83c61496eeb0d31571a07a51bc19, 4b7f91ed0270a371e1933efa21ba600b6da23ab9

Yue,

any progress? have you tried the above fixes?

Yadi