summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorAndrey Ryabinin2015-07-02 11:09:35 +0200
committerIngo Molnar2015-07-06 14:53:14 +0200
commit241d2c54c62fa0939fc9a9512b48ac3434e90a89 (patch)
tree3860303ff60c73f7acb1bc930b9f66d56995b223 /arch/c6x
parentx86/kasan: Fix KASAN shadow region page tables (diff)
downloadkernel-qcow2-linux-241d2c54c62fa0939fc9a9512b48ac3434e90a89.tar.gz
kernel-qcow2-linux-241d2c54c62fa0939fc9a9512b48ac3434e90a89.tar.xz
kernel-qcow2-linux-241d2c54c62fa0939fc9a9512b48ac3434e90a89.zip
x86/kasan: Flush TLBs after switching CR3
load_cr3() doesn't cause tlb_flush if PGE enabled. This may cause tons of false positive reports spamming the kernel to death. To fix this __flush_tlb_all() should be called explicitly after CR3 changed. Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com> Cc: <stable@vger.kernel.org> # 4.0+ Cc: Alexander Popov <alpopov@ptsecurity.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <adech.fo@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1435828178-10975-4-git-send-email-a.ryabinin@samsung.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions