diff options
| author | Xie Yongji <[email protected]> | 2021-07-28 21:07:55 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2021-08-10 11:52:23 -0400 |
| commit | 0e398290cff997610b66e73573faaee70c9a700e (patch) | |
| tree | 0c425ba49923d309b859b3c5abcec1ab8a0a770c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 43bb40c5b92659966bdf4bfe584fde0a3575a049 (diff) | |
vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
The "msg->iova + msg->size" addition can have an integer overflow
if the iotlb message is from a malicious user space application.
So let's fix it.
Fixes: 1b48dc03e575 ("vhost: vdpa: report iova range")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions