[GIT PULL] hotfixes for 6.1-rc1

From: Andrew Morton
Date: Tue Oct 11 2022 - 22:10:53 EST



Linus, please merge this small series of fixups.

The following changes since commit 1c8e2349f2d033f634d046063b704b2ca6c46972:

damon/sysfs: fix possible memleak on damon_sysfs_add_target (2022-09-30 18:46:31 -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-11

for you to fetch changes up to d0d51a97063db4704a5ef6bc978dddab1636a306:

nilfs2: fix leak of nilfs_root in case of writer thread creation failure (2022-10-11 19:05:45 -0700)

----------------------------------------------------------------
Five hotfixes - three for nilfs2, two for MM. For are cc:stable, one is
not.

----------------------------------------------------------------
Baolin Wang (1):
mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page

Ryusuke Konishi (3):
nilfs2: fix use-after-free bug of struct nilfs_root
nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
nilfs2: fix leak of nilfs_root in case of writer thread creation failure

SeongJae Park (1):
mm/damon/core: initialize damon_target->list in damon_new_target()

fs/nilfs2/inode.c | 19 ++++++++++++++++++-
fs/nilfs2/segment.c | 7 +++----
include/linux/hugetlb.h | 8 ++++----
mm/damon/core.c | 1 +
mm/gup.c | 14 +++++++++++++-
mm/hugetlb.c | 27 +++++++++++++--------------
6 files changed, 52 insertions(+), 24 deletions(-)