All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] slab updates for 6.6
@ 2023-08-29 13:22 Vlastimil Babka
  2023-08-29 20:18 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Vlastimil Babka @ 2023-08-29 13:22 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Rientjes, Joonsoo Kim, Christoph Lameter, Pekka Enberg,
	Andrew Morton, linux-mm, LKML, patches, Roman Gushchin,
	Hyeonggon Yoo, Kees Cook

Hi Linus,

please pull the latest slab updates from:

  git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.6

This happens to be a small one (due to summer I guess), and all hardening
related.

Thanks,
Vlastimil

======================================

* 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.

----------------------------------------------------------------
GONG, Ruiqi (1):
      Randomized slab caches for kmalloc()

Jann Horn (1):
      mm/slub: refactor freelist to use custom type

Vlastimil Babka (3):
      mm/slub: remove redundant kasan_reset_tag() from freelist_ptr calculations
      mm/slub: remove freelist_dereference()
      Merge branch 'slab/for-6.6/random_kmalloc' into slab/for-next

 include/linux/percpu.h  | 12 +++++++---
 include/linux/slab.h    | 23 +++++++++++++++++---
 mm/Kconfig              | 17 +++++++++++++++
 mm/kfence/kfence_test.c |  7 ++++--
 mm/slab.c               |  2 +-
 mm/slab.h               |  2 +-
 mm/slab_common.c        | 49 ++++++++++++++++++++++++++++++++++++-----
 mm/slub.c               | 58 ++++++++++++++++++++++++++++---------------------
 8 files changed, 130 insertions(+), 40 deletions(-)
~                                                                 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] slab updates for 6.6
  2023-08-29 13:22 [GIT PULL] slab updates for 6.6 Vlastimil Babka
@ 2023-08-29 20:18 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-08-29 20:18 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: Linus Torvalds, David Rientjes, Joonsoo Kim, Christoph Lameter,
	Pekka Enberg, Andrew Morton, linux-mm, LKML, patches,
	Roman Gushchin, Hyeonggon Yoo, Kees Cook

The pull request you sent on Tue, 29 Aug 2023 15:22:37 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.6

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/651a00bc56403161351090a9d7ddbd7095975324

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-29 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 13:22 [GIT PULL] slab updates for 6.6 Vlastimil Babka
2023-08-29 20:18 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.