diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2020-03-20 07:32:30 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-03-27 13:03:04 +0300 |
commit | 902baf61adf6b187f0a6b789e70d788ea71ff5bc (patch) | |
tree | 91a72f88bcc5e8498465c609098468ab3880e457 /drivers/iommu/Kconfig | |
parent | f8788d86ab28f61f7b46eb6be375f8a726783636 (diff) | |
download | linux-902baf61adf6b187f0a6b789e70d788ea71ff5bc.tar.xz |
iommu/vt-d: Fix mm reference leak
Move canonical address check before mmget_not_zero() to avoid mm
reference leak.
Fixes: 9d8c3af31607 ("iommu/vt-d: IOMMU Page Request needs to check if address is canonical.")
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions