summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKlaus Jensen2021-12-17 10:44:01 +0100
committerKlaus Jensen2022-02-14 08:58:29 +0100
commit736b01642d85be832385063f278fe7cd4ffb5221 (patch)
tree59a771011265be7081cc7f14d56c0f540f82482e /include
parentMerge remote-tracking branch 'remotes/vsementsov/tags/pull-nbd-2022-02-09-v2'... (diff)
downloadqemu-736b01642d85be832385063f278fe7cd4ffb5221.tar.gz
qemu-736b01642d85be832385063f278fe7cd4ffb5221.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions