qemu: Add fix for CVE-2022-1050
PATCH 1/2 qemu: Add fix for CVE-2022-1050
Add a fix queued upstream for the issue in this CVE:
"""
Guest driver might execute HW commands when shared buffers are not yet allocated.
This might happen on purpose (malicious guest) or because some other guest/host address mapping.
We need to protect againts such case.
"""
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-devtools/qemu/qemu.inc | 1 + meta/recipes-devtools/qemu/qemu/pvrdma.patch | 45 ++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/pvrdma.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
@@ -32,6 +32,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ file://0001-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \ file://0001-vhost-vsock-detach-the-virqueue-element-in-case-of-e.patch \ file://0002-virtio-net-fix-map-leaking-on-error-during-receive.patch \ + file://pvrdma.patch \ " UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
meta/recipes-devtools/qemu/qemu/pvrdma.patch new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.32.0
PATCH 2/2 tiff: Add marker for CVE-2022-1056 being fixed
As far as I can tell, the patches being applied also fix CVE-2022-1056 so mark as such.
Signed-off-by Richard Purdie <[email protected]>
--- ...02-tiffcrop-fix-issue-380-and-382-heap-buffer-overflow-.patch | 1 + 1 file changed, 1 insertion(+)
meta/recipes-multimedia/libtiff/tiff/0002-tiffcrop-fix-issue-380-and-382-heap-buffer-overflow-.patch +1 -0
@@ -1,4 +1,5 @@ CVE: CVE-2022-0891 +CVE: CVE-2022-1056 Upstream-Status: Backport Signed-off-by: Ross Burton <[email protected]>
Signature · 1 line
2.32.0