There was an error fetching the commit references. Please try again later.
Merge tag 'slab-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab updates from Vlastimil Babka: "The most prominent change this time is the kmem_buckets based hardening of kmalloc() allocations from Kees Cook. We have also extended the kmalloc() alignment guarantees for non-power-of-two sizes in a way that benefits rust. The rest are various cleanups and non-critical fixups. - Dedicated bucket allocator (Kees Cook) This series [1] enhances the probabilistic defense against heap spraying/grooming of CONFIG_RANDOM_KMALLOC_CACHES from last year. kmalloc() users that are known to be useful for exploits can get completely separate set of kmalloc caches that can't be shared with other users. The first converted users are alloc_msg() and memdup_user(). The hardening is enabled by CONFIG_SLAB_BUCKETS. - Extended kmalloc() alignment guarantees (Vlastimil Babka) For years now we have guaranteed natural alignment for power-...
Showing
- Documentation/core-api/memory-allocation.rst 4 additions, 2 deletionsDocumentation/core-api/memory-allocation.rst
- include/linux/mm.h 3 additions, 3 deletionsinclude/linux/mm.h
- include/linux/mm_types.h 7 additions, 2 deletionsinclude/linux/mm_types.h
- include/linux/poison.h 2 additions, 5 deletionsinclude/linux/poison.h
- include/linux/slab.h 65 additions, 32 deletionsinclude/linux/slab.h
- ipc/msgutil.c 12 additions, 1 deletionipc/msgutil.c
- kernel/configs/hardening.config 1 addition, 0 deletionskernel/configs/hardening.config
- lib/fortify_kunit.c 0 additions, 2 deletionslib/fortify_kunit.c
- lib/slub_kunit.c 1 addition, 1 deletionlib/slub_kunit.c
- mm/Kconfig 17 additions, 0 deletionsmm/Kconfig
- mm/slab.h 9 additions, 5 deletionsmm/slab.h
- mm/slab_common.c 104 additions, 7 deletionsmm/slab_common.c
- mm/slub.c 118 additions, 91 deletionsmm/slub.c
- mm/util.c 17 additions, 6 deletionsmm/util.c
- rust/kernel/alloc/allocator.rs 6 additions, 13 deletionsrust/kernel/alloc/allocator.rs
- scripts/kernel-doc 1 addition, 0 deletionsscripts/kernel-doc
- tools/include/linux/poison.h 2 additions, 5 deletionstools/include/linux/poison.h
Please register or sign in to comment