From patchwork Fri Oct 28 21:06:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13024317 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 92B6CECAAA1 for ; Fri, 28 Oct 2022 21:06:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0EE5C6B0074; Fri, 28 Oct 2022 17:06:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 09F806B0075; Fri, 28 Oct 2022 17:06:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA9BC8E0001; Fri, 28 Oct 2022 17:06:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D709D6B0074 for ; Fri, 28 Oct 2022 17:06:15 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A7E4A1C6E44 for ; Fri, 28 Oct 2022 21:06:15 +0000 (UTC) X-FDA: 80071591110.26.3696A38 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf13.hostedemail.com (Postfix) with ESMTP id 3B5B220019 for ; Fri, 28 Oct 2022 21:06:15 +0000 (UTC) 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 3FF1E629FD; Fri, 28 Oct 2022 21:06:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F02CC433C1; Fri, 28 Oct 2022 21:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1666991173; bh=6PP+KPOEl7R7Ogg6LhX8yLWmvxarnjy4i69rfPE0HFI=; h=Date:From:To:Cc:Subject:From; b=DKQqbJNhC6k7qHZ6Voy7DruOaf2tcAunarS0lHMnK93+Sgbn8lM5qgaGV3YwJWSqP 6BLtId1jH+lOIvYdpwZVqq+r4XwzR6w9gJGrvVSNr43/NjDUq85wOKRNYEASpfbx43 n3UYNx/Qa4XWRpEIsajf/0VcQKJzgXy7Bp552wLc= Date: Fri, 28 Oct 2022 14:06:12 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.1-rc3 Message-Id: <20221028140612.43605c62db2ecc73f1bcf929@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=DKQqbJNh; spf=pass (imf13.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=1666991175; a=rsa-sha256; cv=none; b=N++lKQf1u78n1QNe6d1l2Ya8Qw3f/eV9kP4BlW7ILy2Osyd3v61CHgamLOKMd+beWBZuW2 sbt28YmigGP6P/yyUI+3zC9PfsMqo6x/Hsz2K3YGwDLSw7/RDqtoWy0kwuUYtIar6JUHO3 GhpwBAX5viqH8SNS1BrSbjQjUUl3dIQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666991175; 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=Z9A+Ytjvff+dsM2v2gjXFl9pdVqKfG9640iiSnhVJBE=; b=rnT0eEJ6ajuYCjnabn6uVcUa5oQ6i89saLvKeUkT6mLAU9xUxUbZolxlvjdZq2VTLbsrcZ BgQNYMMGPQfxqRXp2/fdjc5KK5hzhN1CHpuhRkFmy24YaqX1ZPDKHbZesKU82IalI2Azbu y+U+MltawRmuomdACyAWlN4SeI+MDUM= X-Rspam-User: Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=DKQqbJNh; spf=pass (imf13.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam07 X-Stat-Signature: 3mh9yhprijwwbenmi8ienkq73baie9jz X-Rspamd-Queue-Id: 3B5B220019 X-HE-Tag: 1666991175-178098 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. 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