Files
twx-linux/drivers
Oleksandr Tyshchenko 9bcd5ceef9 iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
[ Upstream commit ed46e66cc1 ]

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>
2017-10-08 10:14:19 +02:00
..
…
…
2017-10-05 09:41:45 +02:00
…
…
…
…
…
…
2017-08-06 19:19:47 -07:00
…
…
…
2017-08-06 19:19:41 -07:00
…
2017-10-05 09:41:47 +02:00
2017-10-08 10:14:19 +02:00
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
…
…
2017-10-05 09:41:48 +02:00
…