Commit f266dd39 authored by Kunkun Jiang's avatar Kunkun Jiang Committed by Zheng Zengkai
Browse files

vfio/iommu: Fix uncorrect type parameters which used in bitmap operations

virt inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I573P1


CVE: NA

------------------------------

Some parameters in iommu_clear_dirty_log/vfio_iova_dirty_log_clear
have uncorrect type, which used in bitmap operations. In some cases,
it will cause data overflow.

Fixes: bbf3b39e (iommu: Introduce dirty log tracking framework)
Fixes: f1c9b9fa (vfio/iommu_type1: Add support for manual dirty log clear)
Signed-off-by: default avatarKunkun Jiang <jiangkunkun@huawei.com>
Reviewed-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 1fdf2dea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment