diff options
author | Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> | 2017-02-27 14:30:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-08 10:26:10 +0200 |
commit | 2d59530d991833c779aa2f6a385b2b27b494240c (patch) | |
tree | 6724d336f7b4e782e13d9708591d69c41b7c550e /mm | |
parent | 81080d2d83f6b633a363d06a4fa604da20a2c5e6 (diff) |
iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
[ Upstream commit ed46e66cc1b3d684042f92dfa2ab15ee917b4cac ]
Do a check for already installed leaf entry at the current level before
dereferencing it in order to avoid walking the page table down with
wrong pointer to the next level.
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
CC: Will Deacon <will.deacon@arm.com>
CC: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions