[GIT PULL] slab fixes for 6.9-rc7
From: Vlastimil Babka
Date: Mon May 06 2024 - 06:03:28 EST
Hi Linus,
please pull the latest slab hot-fixes from:
git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.9-rc7-fixes
Thanks,
Vlastimil
======================================
- Fix for cleanup infrastructure (Dan Carpenter)
This makes the __free(kfree) cleanup hooks not crash on error pointers.
- SLUB fix for freepointer checking (Nicolas Bouchinet)
This fixes a recently introduced bug that manifests when init_on_free,
CONFIG_SLAB_FREELIST_HARDENED and consistency checks (slub_debug=F) are
all enabled, and results in false-positive freepointer corrupt reports
for caches that store freepointer outside of the object area.
----------------------------------------------------------------
Dan Carpenter (1):
mm/slab: make __free(kfree) accept error pointers
Nicolas Bouchinet (1):
mm/slub: avoid zeroing outside-object freepointer for single free
include/linux/slab.h | 4 ++--
mm/slub.c | 52 +++++++++++++++++++++++++++++-----------------------
2 files changed, 31 insertions(+), 25 deletions(-)