[GIT PULL] slab fixes for 7.1-rc1

From: Vlastimil Babka (SUSE)

Date: Sun May 03 2026 - 04:36:54 EST


Hi Linus,

please pull the latest slab fixes from:

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

Thanks,
Vlastimil

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

- Stable fixes for CONFIG_SMP=n where _nolock() allocations in NMI both at
kmalloc and page allocator levels are not properly protected by the
spin_trylock() semantics on !SMP. (Harry Yoo)

----------------------------------------------------------------
The following changes since commit 082a6d03a2d685a83a332666b500ad3966349588:

slub: fix data loss and overflow in krealloc() (2026-04-17 11:07:48 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 5b31044e649e3e54c2caef135c09b371c2fbcd08:

mm/slab: return NULL early from kmalloc_nolock() in NMI on UP (2026-04-27 09:14:36 +0200)

----------------------------------------------------------------
slab fixes for 7.1-rc1

----------------------------------------------------------------
Harry Yoo (Oracle) (2):
mm/page_alloc: return NULL early from alloc_frozen_pages_nolock() in NMI on UP
mm/slab: return NULL early from kmalloc_nolock() in NMI on UP

mm/page_alloc.c | 5 +++++
mm/slub.c | 4 ++++
2 files changed, 9 insertions(+)