[GIT PULL] hotfixes for 6.18-rc1

From: Andrew Morton

Date: Fri Oct 10 2025 - 18:03:35 EST



Linus, please merge this batch of hotfixes, thanks.



The following changes since commit 7a405dbb0f036f8d1713ab9e7df0cd3137987b07:

Merge tag 'mm-stable-2025-10-03-16-49' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2025-10-05 12:11:07 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2025-10-10-15-00

for you to fetch changes up to f52ce0ea90c83a28904c7cc203a70e6434adfecb:

mm: hugetlb: avoid soft lockup when mprotect to large memory area (2025-10-07 14:01:12 -0700)

----------------------------------------------------------------
7 hotfixes. All 7 are cc:stable and all 7 are for MM.

All singletons, please see the changelogs for details.

----------------------------------------------------------------
Jakub Acs (1):
mm/ksm: fix flag-dropping behavior in ksm_madvise

Lance Yang (2):
mm/thp: fix MTE tag mismatch when replacing zero-filled subpages
mm/rmap: fix soft-dirty and uffd-wp bit loss when remapping zero-filled mTHP subpage to shared zeropage

Ryan Roberts (1):
fsnotify: pass correct offset to fsnotify_mmap_perm()

SeongJae Park (1):
mm/damon/vaddr: do not repeat pte_offset_map_lock() until success

Shakeel Butt (1):
memcg: skip cgroup_file_notify if spinning is not allowed

Yang Shi (1):
mm: hugetlb: avoid soft lockup when mprotect to large memory area

include/linux/memcontrol.h | 26 +++++++++++++++++++-------
include/linux/mm.h | 2 +-
mm/damon/vaddr.c | 8 ++------
mm/huge_memory.c | 15 +++------------
mm/hugetlb.c | 2 ++
mm/memcontrol.c | 7 ++++---
mm/migrate.c | 23 +++++++++++------------
mm/util.c | 3 ++-
rust/bindings/bindings_helper.h | 1 +
9 files changed, 45 insertions(+), 42 deletions(-)