mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
arm64: mm: don't write garbage into TTBR1_EL1 register
Stable backport commit173358a491("arm64: kpti: Add ->enable callback to remap swapper using nG mappings") of upstream commitf992b4dfd5did not survive the backporting process unscathed, and ends up writing garbage into the TTBR1_EL1 register, rather than pointing it to the zero page to disable translations. Fix that. Cc: <stable@vger.kernel.org> #v4.14 Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
485595768d
commit
35d75b7bfc
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue