summaryrefslogtreecommitdiff
path: root/examples/vhost_scsi
diff options
context:
space:
mode:
authorMaxime Coquelin <maxime.coquelin@redhat.com>2018-03-13 19:43:48 +0100
committerMaxime Coquelin <maxime.coquelin@redhat.com>2018-04-23 17:12:13 +0200
commit82c93a567d3b987f9a93909e2087432450680a63 (patch)
treeecdcb166245b5f93c288c78ede6dac1d5b735adf /examples/vhost_scsi
parentfb3815cc614dc754a96e5933165a2ded66b87164 (diff)
downloaddpdk-82c93a567d3b987f9a93909e2087432450680a63.zip
dpdk-82c93a567d3b987f9a93909e2087432450680a63.tar.gz
dpdk-82c93a567d3b987f9a93909e2087432450680a63.tar.xz
examples/vhost: move to safe GPA translation API
This patch uses the new rte_vhost_va_from_guest_pa() API to ensure the application doesn't perform out-of-bound accesses either because of a malicious guest providing an incorrect descriptor length, or because the buffer is contiguous in guest physical address space but not in the host process virtual address space. This issue has been assigned CVE-2018-1059. Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Diffstat (limited to 'examples/vhost_scsi')
0 files changed, 0 insertions, 0 deletions