This is a note to let you know that I've just added the patch titled mm/slub.c: include swab.h to the 5.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mm-slub.c-include-swab.h.patch and it can be found in the queue-5.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 1b3865d016815cbd69a1879ca1c8a8901fda1072 Mon Sep 17 00:00:00 2001 From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 15 Jun 2021 18:23:39 -0700 Subject: mm/slub.c: include swab.h From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> commit 1b3865d016815cbd69a1879ca1c8a8901fda1072 upstream. Fixes build with CONFIG_SLAB_FREELIST_HARDENED=y. Hopefully. But it's the right thing to do anwyay. Fixes: 1ad53d9fa3f61 ("slub: improve bit diffusion for freelist ptr obfuscation") Link: https://bugzilla.kernel.org/show_bug.cgi?id=213417 Reported-by: <vannguye@xxxxxxxxx> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- mm/slub.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/slub.c +++ b/mm/slub.c @@ -15,6 +15,7 @@ #include <linux/module.h> #include <linux/bit_spinlock.h> #include <linux/interrupt.h> +#include <linux/swab.h> #include <linux/bitops.h> #include <linux/slab.h> #include "slab.h" Patches currently in stable-queue which might be from akpm@xxxxxxxxxxxxxxxxxxxx are queue-5.12/mm-slub.c-include-swab.h.patch queue-5.12/mm-memory-failure-make-sure-wait-for-page-writeback-.patch queue-5.12/mm-swap-fix-pte_same_as_swp-not-removing-uffd-wp-bit-when-compare.patch queue-5.12/mm-hwpoison-fix-race-with-hugetlb-page-allocation.patch queue-5.12/crash_core-vmcoreinfo-append-section_size_bits-to-vmcoreinfo.patch queue-5.12/mm-hugetlb-expand-restore_reserve_on_error-functionality.patch queue-5.12/mm-slub-actually-fix-freelist-pointer-vs-redzoning.patch queue-5.12/mm-slub-clarify-verification-reporting.patch queue-5.12/mm-slub-fix-redzoning-for-small-allocations.patch