The patch titled Subject: mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix has been added to the -mm mm-hotfixes-unstable branch. Its filename is mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix.patch This patch will later appear in the mm-hotfixes-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix Date: Tue Jun 11 07:39:46 PM PDT 2024 default to `y' if 32-bit, per Rafael Cc: Arnd Bergmann <arnd@xxxxxxxx> Cc: Heiko Carstens <hca@xxxxxxxxxxxxx> Cc: Mike Rapoport (IBM) <rppt@xxxxxxxxxx> Cc: Paul E. McKenney <paulmck@xxxxxxxxxx> Cc: Petr Mladek <pmladek@xxxxxxxx> Cc: Rafael Aquini <aquini@xxxxxxxxxx> Cc: Samuel Holland <samuel.holland@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/Kconfig~mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix +++ a/arch/Kconfig @@ -1048,7 +1048,7 @@ config ARCH_MMAP_RND_BITS_DEFAULT config FORCE_MAX_MMAP_RND_BITS bool "Force maximum number of bits to use for ASLR of mmap base address" - default n + default y if !64BIT help ARCH_MMAP_RND_BITS and ARCH_MMAP_RND_COMPAT_BITS represent the number of bits to use for ASLR and if no custom value is assigned (EXPERT) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-mmap-allow-for-the-maximum-number-of-bits-for-randomizing-mmap_base-by-default-fix.patch writeback-factor-out-balance_wb_limits-to-remove-repeated-code-v3-fix.patch mm-allow-reuse-of-the-lower-16-bit-of-the-page-type-with-an-actual-type-fix.patch mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-fix.patch