Wind River Support Network

HomeDefectsLIN7-9683
Fixed

LIN7-9683 : fail to connect qemu VM client with VNC .

Created: Apr 16, 2018    Updated: Sep 13, 2018
Resolved Date: Apr 22, 2018
Found In Version: 7.0.0.28
Fix Version: 7.0.0.29
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

This issue was introduced by CVE-2017-15124.
Since this CVE was applied, the connection between VM and VNC client would be failed with segment fault .

Workaround

remove the CVE-2017-15124 patches in qemu layer located in layers/oe-core layer.

Steps to Reproduce

1.configure host and guest
1.1  host
 wrlinux_8_0_head/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=ovp-kvm+installer-support --enable-addons=wr-ovp --enable-jobs=40 --enable-parallel-pkgbuilds=40 --enable-reconfig --with-layer=wr-dpdk --enable-bootimage=hdd,tar.bz2 --with-bootimage-space=1024 --enable-checkout-all-layers=yes --enable-rm-oldimgs=yes --with-init=sysvinit --enable-internet-download=yes --with-rcpl-version=0
1.2  guest
 wrlinux_8_0_head/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=ovp-guest+installer-support --enable-addons=wr-ovp --enable-jobs=40 --enable-parallel-pkgbuilds=40 --enable-reconfig --with-layer=wr-dpdk --enable-bootimage=hdd,tar.bz2 --with-bootimage-space=1024 --enable-checkout-all-layers=yes --enable-rm-oldimgs=yes --with-init=sysvinit --enable-internet-download=yes --with-rcpl-version=0
2. build the host and guest 
make fs

2.start qemu with vnc
qemu-system-x86_64 -m 1024 -drive file=./wrlinux8.qcow2,if=virtio -enable-kvm -cpu host -vnc :1 

it fails with the following error:
qemu-system-x86[29338]: segfault at 0 ip 000056167b91b51e sp 00007f0077dec480 error 6 in qemu-system-x86_64[56167b629000+4ac000]

Other Downloads


Live chat
Online