[GIT PULL] hotfixes for 6.3

From: Andrew Morton
Date: Wed Apr 19 2023 - 19:38:31 EST



Linus,

please merge this batch of hotfixes for mm/ and for other parts of the
kernel, thanks.



The following changes since commit c45ea315a602d45569b08b93e9ab30f6a63a38aa:

maple_tree: fix a potential concurrency bug in RCU mode (2023-04-05 18:06:25 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-04-19-16-36

for you to fetch changes up to ef832747a82dfbc22a3702219cc716f449b24e4a:

nilfs2: initialize unused bytes in segment summary blocks (2023-04-18 14:22:14 -0700)

----------------------------------------------------------------
22 hotfixes.

19 are cc:stable and the remainder address issues which were introduced
during this merge cycle, or aren't considered suitable for -stable
backporting.

19 are for MM and the remainder are for other subsystems.

----------------------------------------------------------------
Alexander Potapenko (2):
mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()

Baokun Li (1):
writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs

David Hildenbrand (1):
mm/userfaultfd: fix uffd-wp handling for THP migration entries

Jonathan Toppins (1):
mailmap: update jtoppins' entry to reference correct email

Liam R. Howlett (5):
mm/mprotect: fix do_mprotect_pkey() return on error
mm/mempolicy: fix use-after-free of VMA iterator
maple_tree: make maple state reusable after mas_empty_area_rev()
maple_tree: fix mas_empty_area() search
mm/mmap: regression fix for unmapped_area{_topdown}

Mathieu Desnoyers (1):
mm: fix memory leak on mm_init error handling

Mel Gorman (1):
mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages

Naoya Horiguchi (1):
mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO

Ondrej Mosnacek (1):
kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()

Peng Zhang (1):
maple_tree: fix a potential memory leak, OOB access, or other unpredictable bug

Peter Xu (2):
mm/khugepaged: check again on anon uffd-wp during isolation
Revert "userfaultfd: don't fail on unrecognized features"

Qi Zheng (1):
mm: swap: fix performance regression on sparsetruncate-tiny

Ryusuke Konishi (1):
nilfs2: initialize unused bytes in segment summary blocks

SeongJae Park (1):
tools/Makefile: do missed s/vm/mm/

Steve Chou (1):
tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used

Tetsuo Handa (1):
mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock

.mailmap | 2 +
fs/fs-writeback.c | 17 +++++---
fs/nilfs2/segment.c | 20 +++++++++
fs/userfaultfd.c | 6 ++-
include/linux/kmsan.h | 39 +++++++++--------
kernel/fork.c | 1 +
kernel/sys.c | 69 +++++++++++++++++-------------
lib/maple_tree.c | 66 ++++++++++++++--------------
mm/backing-dev.c | 12 +++++-
mm/huge_memory.c | 19 +++++++--
mm/khugepaged.c | 4 ++
mm/kmsan/hooks.c | 55 ++++++++++++++++++++----
mm/kmsan/shadow.c | 27 ++++++++----
mm/mempolicy.c | 104 +++++++++++++++++++++------------------------
mm/mmap.c | 48 ++++++++++++++++++---
mm/mprotect.c | 2 +-
mm/page_alloc.c | 19 +++++++++
mm/swap.c | 2 +-
mm/vmalloc.c | 10 +++--
tools/Makefile | 14 +++---
tools/mm/page_owner_sort.c | 2 +-
21 files changed, 351 insertions(+), 187 deletions(-)