diff options
| author | Kees Cook <[email protected]> | 2017-07-06 15:36:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-07-06 16:24:31 -0700 |
| commit | 7660a6fddcbae344de8583aa4092071312f110c3 (patch) | |
| tree | cf87d66431e544a85cd754cd5b54e2db68d25b13 /include/linux | |
| parent | e07719502916a675023d9d31b9fd4370c7413b68 (diff) | |
mm: allow slab_nomerge to be set at build time
Some hardened environments want to build kernels with slab_nomerge
already set (so that they do not depend on remembering to set the kernel
command line option). This is desired to reduce the risk of kernel heap
overflows being able to overwrite objects from merged caches and changes
the requirements for cache layout control, increasing the difficulty of
these attacks. By keeping caches unmerged, these kinds of exploits can
usually only damage objects in the same cache (though the risk to
metadata exploitation is unchanged).
Link: http://lkml.kernel.org/r/20170620230911.GA25238@beast
Signed-off-by: Kees Cook <[email protected]>
Cc: Daniel Micay <[email protected]>
Cc: David Windsor <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Daniel Micay <[email protected]>
Cc: David Windsor <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Daniel Mack <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions