On 21/1/22 07:32, Klaus Jensen wrote:
From: Klaus Jensen <k.jen...@samsung.com>

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...@outlook.com>
Reviewed-by: Keith Busch <kbu...@kernel.org>
Signed-off-by: Klaus Jensen <k.jen...@samsung.com>
---
  hw/nvme/ctrl.c | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to