Skip to content
Commit 08e90b29 authored by Yan Zhao's avatar Yan Zhao Committed by Greg Kroah-Hartman
Browse files

vfio: avoid possible overflow in vfio_iommu_type1_pin_pages

commit 0ea971f8 upstream.

add parentheses to avoid possible vaddr overflow.

Fixes: a54eb550

 ("vfio iommu type1: Add support for mediated devices")
Signed-off-by: default avatarYan Zhao <yan.y.zhao@intel.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44e2a98e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment