<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git, branch stable-6.0</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=stable-6.0</id>
<link rel='self' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=stable-6.0'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/'/>
<updated>2021-10-28T23:10:51+00:00</updated>
<entry>
<title>Update version for 6.0.1 release</title>
<updated>2021-10-28T23:10:51+00:00</updated>
<author>
<name>Michael Roth</name>
<email>michael.roth@amd.com</email>
</author>
<published>2021-10-28T23:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=9654e55a747575e2dafbb235a15645c0a48b08c4'/>
<id>urn:sha1:9654e55a747575e2dafbb235a15645c0a48b08c4</id>
<content type='text'>
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>Partially revert "build: -no-pie is no functional linker flag"</title>
<updated>2021-10-27T17:01:30+00:00</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@jrtc27.com</email>
</author>
<published>2021-08-05T19:25:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=db882c5c1871874d0b79dad380129479cb7b3c09'/>
<id>urn:sha1:db882c5c1871874d0b79dad380129479cb7b3c09</id>
<content type='text'>
This partially reverts commit bbd2d5a8120771ec59b86a80a1f51884e0a26e53.

This commit was misguided and broke using --disable-pie on any distro
that enables PIE by default in their compiler driver, including Debian
and its derivatives. Whilst -no-pie is not a linker flag, it is a
compiler driver flag that ensures -pie is not automatically passed by it
to the linker. Without it, all compile_prog checks will fail as any code
built with the explicit -fno-pie will fail to link with the implicit
default -pie due to trying to use position-dependent relocations. The
only bug that needed fixing was LDFLAGS_NOPIE being used as a flag for
the linker itself in pc-bios/optionrom/Makefile.

Note this does not reinstate exporting LDFLAGS_NOPIE, as it is unused,
since the only previous use was the one that should not have existed. I
have also updated the comment for the -fno-pie and -no-pie checks to
reflect what they're actually needed for.

Fixes: bbd2d5a8120771ec59b86a80a1f51884e0a26e53
Cc: Christian Ehrhardt &lt;christian.ehrhardt@canonical.com&gt;
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Cc: qemu-stable@nongnu.org
Signed-off-by: Jessica Clarke &lt;jrtc27@jrtc27.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>hw/display/artist: Fix bug in coordinate extraction in artist_vram_read() and artist_vram_write()</title>
<updated>2021-10-27T16:57:47+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2021-05-25T20:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=62a012b0f40658fe6a5e75a7d6373080dcbcc5dd'/>
<id>urn:sha1:62a012b0f40658fe6a5e75a7d6373080dcbcc5dd</id>
<content type='text'>
The CDE desktop on HP-UX 10 shows wrongly rendered pixels when the local screen
menu is closed. This bug was introduced by commit c7050f3f167b
("hw/display/artist: Refactor x/y coordination extraction") which converted the
coordinate extraction in artist_vram_read() and artist_vram_write() to use the
ADDR_TO_X and ADDR_TO_Y macros, but forgot to right-shift the address by 2 as
it was done before.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Fixes: c7050f3f167b ("hw/display/artist: Refactor x/y coordination extraction")
Cc: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Cc: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Cc: Sven Schnelle &lt;svens@stackframe.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;YK1aPb8keur9W7h2@ls3530&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
(cherry picked from commit 01f750f5fef1afd8f6abc0548910f87d473e26d5)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>libvhost-user: fix VHOST_USER_REM_MEM_REG skipping mmap_addr</title>
<updated>2021-10-27T16:50:35+00:00</updated>
<author>
<name>David Hildenbrand</name>
<email>david@redhat.com</email>
</author>
<published>2021-10-11T20:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=487a0956a1b802d4db37afaeb4b8b8bb9fe1655f'/>
<id>urn:sha1:487a0956a1b802d4db37afaeb4b8b8bb9fe1655f</id>
<content type='text'>
We end up not copying the mmap_addr of all existing regions, resulting
in a SEGFAULT once we actually try to map/access anything within our
memory regions.

Fixes: 875b9fd97b34 ("Support individual region unmap in libvhost-user")
Cc: qemu-stable@nongnu.org
Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Cc: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
Cc: "Marc-André Lureau" &lt;marcandre.lureau@redhat.com&gt;
Cc: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Cc: Coiby Xu &lt;coiby.xu@gmail.com&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Message-Id: &lt;20211011201047.62587-1-david@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
(cherry picked from commit 6889eb2d431ae962e3e083b57bff47cd573cb1c4)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>vhost-user: fix duplicated notifier MR init</title>
<updated>2021-10-27T16:49:50+00:00</updated>
<author>
<name>Xueming Li</name>
<email>xuemingl@nvidia.com</email>
</author>
<published>2021-10-08T08:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=c18bc855ade093a1df850a01daf851c478a9cca7'/>
<id>urn:sha1:c18bc855ade093a1df850a01daf851c478a9cca7</id>
<content type='text'>
In case of device resume after suspend, VQ notifier MR still valid.
Duplicated registrations explode memory block list and slow down device
resume.

Fixes: 44866521bd6e ("vhost-user: support registering external host notifiers")
Cc: tiwei.bie@intel.com
Cc: qemu-stable@nongnu.org
Cc: Yuwei Zhang &lt;zhangyuwei.9149@bytedance.com&gt;

Signed-off-by: Xueming Li &lt;xuemingl@nvidia.com&gt;
Message-Id: &lt;20211008080215.590292-1-xuemingl@nvidia.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
(cherry picked from commit a1ed9ef1de87c3e86ff68589604298ec90875a14)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>pvrdma: Fix the ring init error flow (CVE-2021-3608)</title>
<updated>2021-10-18T01:27:51+00:00</updated>
<author>
<name>Marcel Apfelbaum</name>
<email>marcel.apfelbaum@gmail.com</email>
</author>
<published>2021-06-30T11:52:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=27c6f20d9d8725ddd4d0744022c4a66ec4878c6d'/>
<id>urn:sha1:27c6f20d9d8725ddd4d0744022c4a66ec4878c6d</id>
<content type='text'>
Do not unmap uninitialized dma addresses.

Fixes: CVE-2021-3608
Reviewed-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Tested-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Message-Id: &lt;20210630115246.2178219-1-marcel@redhat.com&gt;
Tested-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Reviewed-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel.apfelbaum@gmail.com&gt;
(cherry picked from commit 66ae37d8cc313f89272e711174a846a229bcdbd3)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>pvrdma: Ensure correct input on ring init (CVE-2021-3607)</title>
<updated>2021-10-18T01:27:24+00:00</updated>
<author>
<name>Marcel Apfelbaum</name>
<email>marcel.apfelbaum@gmail.com</email>
</author>
<published>2021-06-30T11:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=46d3c9e9f5b067a784f24a40134ed9a97e145094'/>
<id>urn:sha1:46d3c9e9f5b067a784f24a40134ed9a97e145094</id>
<content type='text'>
Check the guest passed a non zero page count
for pvrdma device ring buffers.

Fixes: CVE-2021-3607
Reported-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Reviewed-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Message-Id: &lt;20210630114634.2168872-1-marcel@redhat.com&gt;
Reviewed-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Tested-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel.apfelbaum@gmail.com&gt;
(cherry picked from commit 32e5703cfea07c91e6e84bcb0313f633bb146534)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>hw/rdma: Fix possible mremap overflow in the pvrdma device (CVE-2021-3582)</title>
<updated>2021-10-18T01:27:12+00:00</updated>
<author>
<name>Marcel Apfelbaum</name>
<email>marcel@redhat.com</email>
</author>
<published>2021-06-16T11:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=d25db58213557663140afb57bf3416b93a93a3e6'/>
<id>urn:sha1:d25db58213557663140afb57bf3416b93a93a3e6</id>
<content type='text'>
Ensure mremap boundaries not trusting the guest kernel to
pass the correct buffer length.

Fixes: CVE-2021-3582
Reported-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Tested-by: VictorV (Kunlun Lab) &lt;vv474172261@gmail.com&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Message-Id: &lt;20210616110600.20889-1-marcel.apfelbaum@gmail.com&gt;
Reviewed-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Tested-by: Yuval Shaia &lt;yuval.shaia.ml@gmail.com&gt;
Reviewed-by: Prasad J Pandit &lt;pjp@fedoraproject.org&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcel.apfelbaum@gmail.com&gt;
(cherry picked from commit 284f191b4abad213aed04cb0458e1600fd18d7c4)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset' (CVE-2021-3546)</title>
<updated>2021-10-18T01:26:37+00:00</updated>
<author>
<name>Li Qiang</name>
<email>liq3ea@163.com</email>
</author>
<published>2021-05-16T03:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=4787501893f8b18e84f4d72ccbea4854ad9f5c9b'/>
<id>urn:sha1:4787501893f8b18e84f4d72ccbea4854ad9f5c9b</id>
<content type='text'>
If 'virgl_cmd_get_capset' set 'max_size' to 0,
the 'virgl_renderer_fill_caps' will write the data after the 'resp'.
This patch avoid this by checking the returned 'max_size'.

virtio-gpu fix: abd7f08b23 ("display: virtio-gpu-3d: check
virgl capabilities max_size")

Fixes: CVE-2021-3546
Reported-by: Li Qiang &lt;liq3ea@163.com&gt;
Reviewed-by: Prasad J Pandit &lt;pjp@fedoraproject.org&gt;
Signed-off-by: Li Qiang &lt;liq3ea@163.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20210516030403.107723-8-liq3ea@163.com&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
(cherry picked from commit 9f22893adcb02580aee5968f32baa2cd109b3ec2)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
<entry>
<title>vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing' (CVE-2021-3544)</title>
<updated>2021-10-18T01:26:28+00:00</updated>
<author>
<name>Li Qiang</name>
<email>liq3ea@163.com</email>
</author>
<published>2021-05-16T03:04:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=07daff4a9a5f9dd6e79e3aa4a9664aee3156bd7d'/>
<id>urn:sha1:07daff4a9a5f9dd6e79e3aa4a9664aee3156bd7d</id>
<content type='text'>
If 'virgl_renderer_resource_attach_iov' failed, the 'res_iovs' will
be leaked.

Fixes: CVE-2021-3544
Reported-by: Li Qiang &lt;liq3ea@163.com&gt;
virtio-gpu fix: 33243031da ("virtio-gpu-3d: fix memory leak
in resource attach backing")

Signed-off-by: Li Qiang &lt;liq3ea@163.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20210516030403.107723-7-liq3ea@163.com&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
(cherry picked from commit 63736af5a6571d9def93769431e0d7e38c6677bf)
Signed-off-by: Michael Roth &lt;michael.roth@amd.com&gt;
</content>
</entry>
</feed>
