diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-08-29 23:04:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-08-29 23:04:15 +0300 |
commit | 651a00bc56403161351090a9d7ddbd7095975324 (patch) | |
tree | 921e3e06b419384d76b8ebd7c08b610dbe0d6b7b /arch/powerpc/kvm/book3s_hv_uvmem.c | |
parent | 9d6b14cd1e993d2ff98df0cef6d935ce6fd4dbec (diff) | |
parent | 3d053e8060430b86bad0854b7c7f03f15be3a7e5 (diff) | |
download | linux-651a00bc56403161351090a9d7ddbd7095975324.tar.xz |
Merge tag 'slab-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab updates from Vlastimil Babka:
"This happens to be a small one (due to summer I guess), and all
hardening related:
- Randomized kmalloc caches, by GONG, Ruiqi.
A new opt-in hardening feature to make heap spraying harder. It
creates multiple (16) copies of kmalloc caches, reducing the chance
of an attacker-controllable allocation site to land in the same
slab as e.g. an allocation site with use-after-free vulnerability.
The selection of the copy is derived from the allocation site
address, including a per-boot random seed.
- Stronger typing for hardened freelists in SLUB, by Jann Horn
Introduces a custom type for hardened freelist entries instead of
"void *" as those are not directly dereferencable. While reviewing
this, I've noticed opportunities for further cleanups in that code
and added those on top"
* tag 'slab-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
Randomized slab caches for kmalloc()
mm/slub: remove freelist_dereference()
mm/slub: remove redundant kasan_reset_tag() from freelist_ptr calculations
mm/slub: refactor freelist to use custom type
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_uvmem.c')
0 files changed, 0 insertions, 0 deletions