[GIT PULL] hotfixes for 6.1-rc3
From: Andrew Morton
Date: Fri Oct 28 2022 - 17:06:24 EST
Linus, please merge this batch of hotfixes.
The following changes since commit 97061d441110528dc02972818f2f1dad485107f9:
nouveau: fix migrate_to_ram() for faulting page (2022-10-20 21:27:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2022-10-28
for you to fetch changes up to dda1c41a07b4a4c3f99b5b28c1e8c485205fe860:
mm: multi-gen LRU: move lru_gen_add_mm() out of IRQ-off region (2022-10-28 13:37:23 -0700)
----------------------------------------------------------------
23 hotfixes.
Eight fix pre-6.0 bugs and the remainder address issues which were
introduced in the 6.1-rc merge cycle, or address issues which aren't
considered sufficiently serious to warrant a -stable backport.
----------------------------------------------------------------
Alexander Potapenko (5):
mm: kmsan: export kmsan_copy_page_meta()
x86/purgatory: disable KMSAN instrumentation
Kconfig.debug: disable CONFIG_FRAME_WARN for KMSAN by default
x86: asm: make sure __put_user_size() evaluates pointer once
x86: fortify: kmsan: fix KMSAN fortify builds
Andrew Morton (2):
ipc/msg.c: fix percpu_counter use after free
fs/ext4/super.c: remove unused `deprecated_msg'
Baolin Wang (1):
mm: migrate: fix return value if all subpages of THPs are migrated successfully
Huang Ying (1):
memory tier, sysfs: rename attribute "nodes" to "nodelist"
Hugh Dickins (1):
mm: prep_compound_tail() clear page->private
Ira Weiny (2):
mm/userfaultfd: replace kmap/kmap_atomic() with kmap_local_page()
mm/shmem: ensure proper fallback if page faults
Liam Howlett (1):
mmap: fix remap_file_pages() regression
Lukas Bulwahn (1):
lib: maple_tree: remove unneeded initialization in mtree_range_walk()
Maria Yu (1):
mm/page_isolation: fix clang deadcode warning
Palmer Dabbelt (1):
MAINTAINERS: git://github.com -> https://github.com for nilfs2
Peter Xu (1):
mm/uffd: fix vma check on userfault for wp
Phillip Lougher (3):
squashfs: fix read regression introduced in readahead code
squashfs: fix extending readahead beyond end of file
squashfs: fix buffer release race condition in readahead code
Rik van Riel (1):
mm,madvise,hugetlb: fix unexpected data loss with MADV_DONTNEED on hugetlbfs
Sebastian Andrzej Siewior (1):
mm: multi-gen LRU: move lru_gen_add_mm() out of IRQ-off region
Waiman Long (1):
mm/kmemleak: prevent soft lockup in kmemleak_scan()'s object iteration loops
.../ABI/testing/sysfs-kernel-mm-memory-tiers | 4 +-
MAINTAINERS | 2 +-
arch/x86/include/asm/string_64.h | 11 ++--
arch/x86/include/asm/uaccess.h | 13 ++---
arch/x86/purgatory/Makefile | 1 +
fs/exec.c | 2 +-
fs/ext4/super.c | 4 --
fs/squashfs/file.c | 23 ++++----
fs/squashfs/page_actor.c | 3 ++
fs/squashfs/page_actor.h | 6 ++-
include/linux/fortify-string.h | 17 +++++-
include/linux/kmsan_string.h | 21 ++++++++
include/linux/userfaultfd_k.h | 6 +--
ipc/msg.c | 4 +-
lib/Kconfig.debug | 3 +-
lib/maple_tree.c | 4 +-
mm/huge_memory.c | 2 +-
mm/kmemleak.c | 61 +++++++++++++++-------
mm/kmsan/instrumentation.c | 1 +
mm/kmsan/shadow.c | 1 +
mm/madvise.c | 12 ++++-
mm/memory-tiers.c | 8 +--
mm/migrate.c | 7 +++
mm/mmap.c | 3 ++
mm/page_alloc.c | 1 +
mm/page_isolation.c | 2 +-
mm/shmem.c | 17 ++++++
mm/userfaultfd.c | 25 +++++++--
28 files changed, 196 insertions(+), 68 deletions(-)
create mode 100644 include/linux/kmsan_string.h