aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2018-04-16 09:43:57 +0000
committerLinus Torvalds <[email protected]>2018-04-16 18:20:34 +0000
commite6f39e87b6439939a14cb7fdd94086a082b63b87 (patch)
tree6df2d211a3e49359466e8b0dd3183a5d2d285495 /lib/mpi/mpi-inline.h
parentLinux 4.17-rc1 (diff)
downloadkernel-e6f39e87b6439939a14cb7fdd94086a082b63b87.tar.gz
kernel-e6f39e87b6439939a14cb7fdd94086a082b63b87.zip
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 <[email protected]> Acked-by: Dave Hansen <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions