Joerg Roedel e6f39e87b6 x86/ldt: Fix support_pte_mask filtering in map_ldt_struct()
The |= operator will let us end up with an invalid PTE. Use
the correct &= instead.

[ The bug was also independently reported by Shuah Khan ]

Fixes: fb43d6cb91ef ('x86/mm: Do not auto-massage page protections')
Acked-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-16 11:20:34 -07:00
..
2018-03-08 12:04:59 +01:00
2017-08-31 21:34:48 +02:00
2018-04-12 09:05:58 +02:00
2017-12-12 11:32:24 +01:00
2018-04-09 11:42:31 -07:00
2018-03-20 10:01:57 +01:00
2018-03-15 09:47:24 +01:00
2018-04-02 20:16:14 +02:00
2017-12-23 21:13:01 +01:00
2018-03-14 09:21:01 +01:00
2017-09-25 20:51:58 +02:00