aboutsummaryrefslogtreecommitdiff
path: root/python/tests
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 /python/tests
parent48033ad678ae2def43bf0d543a2c4c3d2a93feaf (diff)
downloadqemu-736b01642d85be832385063f278fe7cd4ffb5221.zip
qemu-736b01642d85be832385063f278fe7cd4ffb5221.tar.gz
qemu-736b01642d85be832385063f278fe7cd4ffb5221.tar.bz2
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 'python/tests')
0 files changed, 0 insertions, 0 deletions