]>
Commit | Line | Data |
---|---|---|
59d5af67 | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
321d628a FG |
2 | From: Peter Zijlstra <peterz@infradead.org> |
3 | Date: Tue, 5 Dec 2017 13:34:50 +0100 | |
59d5af67 | 4 | Subject: [PATCH] x86/uv: Use the right TLB-flush API |
321d628a FG |
5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | CVE-2017-5754 | |
10 | ||
11 | Since uv_flush_tlb_others() implements flush_tlb_others() which is | |
12 | about flushing user mappings, we should use __flush_tlb_single(), | |
13 | which too is about flushing user mappings. | |
14 | ||
15 | Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> | |
16 | Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | |
17 | Acked-by: Andrew Banman <abanman@hpe.com> | |
18 | Cc: Andy Lutomirski <luto@kernel.org> | |
19 | Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> | |
20 | Cc: Borislav Petkov <bp@alien8.de> | |
21 | Cc: Brian Gerst <brgerst@gmail.com> | |
22 | Cc: Dave Hansen <dave.hansen@linux.intel.com> | |
23 | Cc: David Laight <David.Laight@aculab.com> | |
24 | Cc: Denys Vlasenko <dvlasenk@redhat.com> | |
25 | Cc: Eduardo Valentin <eduval@amazon.com> | |
26 | Cc: Greg KH <gregkh@linuxfoundation.org> | |
27 | Cc: H. Peter Anvin <hpa@zytor.com> | |
28 | Cc: Josh Poimboeuf <jpoimboe@redhat.com> | |
29 | Cc: Juergen Gross <jgross@suse.com> | |
30 | Cc: Linus Torvalds <torvalds@linux-foundation.org> | |
31 | Cc: Mike Travis <mike.travis@hpe.com> | |
32 | Cc: Peter Zijlstra <peterz@infradead.org> | |
33 | Cc: Will Deacon <will.deacon@arm.com> | |
34 | Cc: aliguori@amazon.com | |
35 | Cc: daniel.gruss@iaik.tugraz.at | |
36 | Cc: hughd@google.com | |
37 | Cc: keescook@google.com | |
38 | Cc: linux-mm@kvack.org | |
39 | Signed-off-by: Ingo Molnar <mingo@kernel.org> | |
40 | (cherry picked from commit 3e46e0f5ee3643a1239be9046c7ba6c66ca2b329) | |
41 | Signed-off-by: Andy Whitcroft <apw@canonical.com> | |
42 | Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> | |
43 | (cherry picked from commit 532216cdf02174dc08ca998b570c4699899fa355) | |
44 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
45 | --- | |
46 | arch/x86/platform/uv/tlb_uv.c | 2 +- | |
47 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
48 | ||
49 | diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c | |
50 | index f44c0bc95aa2..8538a6723171 100644 | |
51 | --- a/arch/x86/platform/uv/tlb_uv.c | |
52 | +++ b/arch/x86/platform/uv/tlb_uv.c | |
53 | @@ -299,7 +299,7 @@ static void bau_process_message(struct msg_desc *mdp, struct bau_control *bcp, | |
54 | local_flush_tlb(); | |
55 | stat->d_alltlb++; | |
56 | } else { | |
57 | - __flush_tlb_one(msg->address); | |
58 | + __flush_tlb_single(msg->address); | |
59 | stat->d_onetlb++; | |
60 | } | |
61 | stat->d_requestee++; | |
62 | -- | |
63 | 2.14.2 | |
64 |