From patchwork Wed Apr 19 23:38:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13217683 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5B43C77B73 for ; Wed, 19 Apr 2023 23:38:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 41B93900003; Wed, 19 Apr 2023 19:38:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3CBC4900002; Wed, 19 Apr 2023 19:38:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2BAEF900003; Wed, 19 Apr 2023 19:38:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 1D56D900002 for ; Wed, 19 Apr 2023 19:38:28 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id C58241C65F9 for ; Wed, 19 Apr 2023 23:38:27 +0000 (UTC) X-FDA: 80699757054.25.6331940 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf24.hostedemail.com (Postfix) with ESMTP id 0E3ED180014 for ; Wed, 19 Apr 2023 23:38:25 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="CmO1u/T6"; spf=pass (imf24.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1681947506; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=h47OjnzeJBg0/y2lsdxJ4VacW2vclsicBnwBT+MFSGw=; b=F/K62a6htBR7pWdRut3YULJwYGQBQM0wdRoCJtZtr3lSyU4eRzq3or7ug2eCau7w0HTlV/ rVFN1g+X8zne2iPZx4L4mc52ZAU9KocHLfQEbbEdVAYG59b0rGVYzDc6WCglnhNfXmnigi aWEfUvfh4JM0wEvgkaV94FepiIp/VOA= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="CmO1u/T6"; spf=pass (imf24.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1681947506; a=rsa-sha256; cv=none; b=wjNhne/RTNeuTs62u6QcFF+f1/D9W8XCEpYO20AV+leDtHvy24qA2sM37fRlwFikYNqhf1 LsLSy2HZtdn+3poaFiZPxeDbwrL42rKDue4PohaW5J0K5QbKgx7c8iFogPExJeh5kV8VmX k9g+v4luanN8TOyiCsIG8tHPbIEvkzE= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1568E630CD; Wed, 19 Apr 2023 23:38:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56533C433D2; Wed, 19 Apr 2023 23:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1681947504; bh=49c6xstQR0fmW0wZyfHNP2+gyOY0P2s/L9lvvrMl6OQ=; h=Date:From:To:Cc:Subject:From; b=CmO1u/T6vhfzhVOuUFVKAFl6eUmrJj/0kxo0bUFAwInSxszmn1T4kgaHIYFPBF0FQ GD/4reKCNKe1OIAeFgXGHNAzZb5JQkznteZ8hRB2D50ZWp73e2NWP2rhtF1WOJRh30 8G05z8i6PeIRKHGAl1rTVfKKkvmqmL8WPXyk8Ge4= Date: Wed, 19 Apr 2023 16:38:23 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.3 Message-Id: <20230419163823.f2a0f64f0ef67ddee54c2461@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspamd-Queue-Id: 0E3ED180014 X-Stat-Signature: zfen7yxt4mym5bkg6k6yaxziz1tf7p96 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1681947505-706070 X-HE-Meta: U2FsdGVkX18fK7yCgTz+Pc+hC/u7nsHvLPVru6Nvl0yDcWqL1YtCZX3P+JWHt0xM4cMgu9Bl9EKHMWBMNVlZb7Mkiixvh1c4TwXs8AAuPuZe8x0hePIBXbn1FhgD5BuRvcMWzp1YZEMlqpSMijFtvpBQi+meGFPwb/CONqQW7UMX8Od2BLczNA434Kp5kCP1bTGqNq5reJD8Xlji6tYiR1qDBJg/4c1mCJGrTL+XUiOmuHge0ingo432eflC+/iLi6rfh8VwAISKEUF0WsNq4zIiC/LE9eyCD+yWms0Z6q9cnfJcIu+urMc+ZthyMXvGI1GlYi2jp4zSbbCdfpQpEAY3Mh7KPmGqYCK1atcA4TCaqDlC8Paa7pCiNZ6BKEBMVIVTzblYjNZ8J56Q38hTLgN4yeUaKXZFkpV2tsHR5nZ4r/I0KM5Oak+uzFF1V2OfbF+Hgd0AV5kQtE3kF0Zd61341DqdC/4ELFJXBBdun5tgg4R+HWDRhuu+GSTxUFDxE13aEBjaLDLkN4PYplXQuvQzoFp6mW+x+miXa5E754X/7o2/cY+GomixdbhzixOGCRmU7i+jZtmrordqxfg4z6hqOLnW1W5umX2b2zzwdNtErvpF526xZazfeYjOVZoY3I9H51nuqzXLOfVzDWHOjrxolakFe9DSQUypO96CUvbL41ESvx6GgVpH+07TymnFk5yajQQ6+9L563eYwhwuQ0yTF0cvxz1SCAQZ6W0ik/WV5iCZyRB+GCK0GAxxslbfZwhhoaA+svFdHrSHMOS7K6tgO9EDsebaP7wstw7EaYNItMj08GpDlKpArHffQ0CyJ5K9rBUA672/gKFuOl8beodWaepH8CieLlzVlj93D/d/nhZ+4KU9V4mszy3ys+/IZDCvE1gJCJkqgeQYVslOsVbhChHwYNgWnLfwfZjDDVJ/qsIMv7NEt3Aad+zvo9PlaPHFIxNdky1e0SrdRlN BVx/wubq es7qxz57fmJIFD6o5spwrrFi8quHVgOupFkiGDY4aiOGslAHBH/T3sXktnT4fLQHD54vx1gKSQIUsvWnJ0QvgJvL8m8SgC+Epxo2+Z04dNKJ9FiZC5Lr26O6CLokBLphXGqI4ybS2tzaKxGEiILnOqcrOyy3pzR8InykI2QlBGRraF6SINTIgzqcuucS9KjFHv/ReioELgPQqMFTWZONrPGi99p4vPERtP1zwcXdKaK0NWsOWM+wH/7h6cGMBskSCuMLgBjTL1hIUJE6Kbka37ls//TwKfxwjLpZM4Xlsf+ueczTEJr/ZXRtX8EVQZVabP/Jr2ROcMPwSGoIfx5TwTcP66FG5ZWht+5qAOLZLu11ytUToSeP4AeeweoB9K7lsHdWE9IntFNusQT/cmKAnkosHPA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-)