[GIT PULL] hotfixes for 6.12-rc6

From: Andrew Morton
Date: Mon Oct 28 2024 - 23:37:53 EST



Linus, please merge this batch of hotfixes, thanks.

The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-10-28-20-32

for you to fetch changes up to d7adb730fe497970555350e496478b243b5c7ec5:

mm: avoid unconditional one-tick sleep when swapcache_prepare fails (2024-10-25 17:14:18 -0700)

----------------------------------------------------------------
23 hotfixes. 13 are cc:stable. 15 are MM and 8 are non-MM.

No particular theme here - mainly singletons, a couple of doubletons.
Please see the changelogs.

----------------------------------------------------------------
Barry Song (1):
mm: avoid unconditional one-tick sleep when swapcache_prepare fails

David Hildenbrand (1):
mm/pagewalk: fix usage of pmd_leaf()/pud_leaf() without present check

Edward Adam Davis (1):
ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow

Edward Liaw (3):
Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM"
Revert "selftests/mm: replace atomic_bool with pthread_barrier_t"
selftests/mm: fix deadlock for fork after pthread_create with atomic_bool

Gregory Price (1):
resource,kexec: walk_system_ram_res_rev must retain resource flags

Huang Ying (1):
resource: remove dependency on SPARSEMEM from GET_FREE_REGION

Jann Horn (1):
mm: mark mas allocation in vms_abort_munmap_vmas as __GFP_NOFAIL

Jeff Xu (1):
mseal: update mseal.rst

Jeongjun Park (1):
mm: shmem: fix data-race in shmem_getattr()

John Hubbard (2):
mm/gup: stop leaking pinned pages in low memory conditions
mm/gup: memfd: stop leaking pinned pages in low memory conditions

Kirill A. Shutemov (1):
mm: split critical region in remap_file_pages() and invoke LSMs in between

Liam R. Howlett (1):
mm/mmap: fix race in mmap_region() with ftruncate()

Lorenzo Stoakes (4):
fork: do not invoke uffd on fork if error occurs
fork: only invoke khugepaged, ksm hooks if no error
mm/vma: add expand-only VMA merge mode and optimise do_brk_flags()
tools: testing: add expand-only mode VMA test

Matt Fleming (1):
mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves

Nobuhiro Iwamatsu (1):
mm: numa_clear_kernel_node_hotplug: Add NUMA_NO_NODE check for node id

Ryusuke Konishi (1):
nilfs2: fix kernel bug due to missing clearing of checked flag

Sabyrzhan Tasbolatov (1):
x86/traps: move kmsan check after instrumentation_begin

Documentation/userspace-api/mseal.rst | 307 +++++++++++++--------------
arch/x86/kernel/traps.c | 12 +-
fs/nilfs2/page.c | 1 +
fs/ocfs2/file.c | 8 +
fs/userfaultfd.c | 28 +++
include/linux/ksm.h | 10 +-
include/linux/userfaultfd_k.h | 5 +
kernel/fork.c | 12 +-
kernel/resource.c | 4 +-
mm/Kconfig | 1 -
mm/gup.c | 52 +++--
mm/memory.c | 15 +-
mm/mmap.c | 84 ++++++--
mm/numa_memblks.c | 2 +-
mm/page_alloc.c | 10 +-
mm/pagewalk.c | 16 +-
mm/shmem.c | 2 +
mm/vma.c | 23 +-
mm/vma.h | 26 ++-
tools/testing/selftests/mm/uffd-common.c | 5 +-
tools/testing/selftests/mm/uffd-common.h | 3 +-
tools/testing/selftests/mm/uffd-unit-tests.c | 24 +--
tools/testing/vma/vma.c | 40 ++++
23 files changed, 419 insertions(+), 271 deletions(-)