summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-12-17 10:44:01 +0100
committerKlaus Jensen <k.jensen@samsung.com>2022-02-14 08:58:29 +0100
commit736b01642d85be832385063f278fe7cd4ffb5221 (patch)
tree59a771011265be7081cc7f14d56c0f540f82482e /scripts/qapi
parent48033ad678ae2def43bf0d543a2c4c3d2a93feaf (diff)
downloadfocaccia-qemu-736b01642d85be832385063f278fe7cd4ffb5221.tar.gz
focaccia-qemu-736b01642d85be832385063f278fe7cd4ffb5221.zip
hw/nvme: fix CVE-2021-3929
This fixes CVE-2021-3929 "locally" by denying DMA to the iomem of the
device itself. This still allows DMA to MMIO regions of other devices
(e.g. doing P2P DMA to the controller memory buffer of another NVMe
device).

Fixes: CVE-2021-3929
Reported-by: Qiuhao Li <Qiuhao.Li@outlook.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions