Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 656801a8 authored by Arun KS's avatar Arun KS
Browse files

iommu: arm-smmu: Fix use after free of pgtbl_ops



During hibernation restore, new pgtbl_ops was allocated
but not assigned to smmu_domian structure. Hence in the
subsequent freeze call uses outdated pointer and cause
a use after free. Fix it by assigning the newly allocated
pgtbl_ops to smmu_domain.

Change-Id: I8200f5a105c1d78239d0aade357007d27cd8b20e
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent b62aaff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment