From mboxrd@z Thu Jan 1 00:00:00 1970 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 6CBA6D2F7EC for ; Thu, 17 Oct 2024 06:04:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9178A6B007B; Thu, 17 Oct 2024 02:04:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C8096B0082; Thu, 17 Oct 2024 02:04:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 78F726B0083; Thu, 17 Oct 2024 02:04:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 5B07C6B007B for ; Thu, 17 Oct 2024 02:04:05 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id E9A0B1C4BC8 for ; Thu, 17 Oct 2024 06:03:52 +0000 (UTC) X-FDA: 82682053440.11.EFCF0B6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf19.hostedemail.com (Postfix) with ESMTP id 71D731A000B for ; Thu, 17 Oct 2024 06:03:51 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b="iHBVP/+L"; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf19.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729144995; a=rsa-sha256; cv=none; b=sOcS3yvKxtPq2hp5aDZ4GPRW2qttVawlF73EVvomRQ5SXxy8HZEoqsLuLnOxmxB2/PmS2d bfpFOciz26l0YelOdvW2yUHjHEO73HUQdIwJW18M9e1KXyk9Zl7j/SSh9eyQ66QzuPiT8y IkP4ohSnDcPFSbaajCQbFtF/Bgu/euY= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b="iHBVP/+L"; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf19.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729144995; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=lOJEbowQD1XsVrxMMSay0HPqdmOMAvJ+Cox+OvYzccU=; b=OYNwxusKb9hiiFnfqi1WrABJQ8/IHh/PTz4dUhrZJpddvWsgk7qHmXITdHII4Y+X8dOMuZ KX6vRcR+zUZfmT210KXgQG9Lirp6KB77U9szapKV3vDjTU3cGItNZjQ39jaSIlcncYENV7 GT1E1RETl1tYWUvDQ+WubNpzrFpvENo= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 9B0A45C5A4C; Thu, 17 Oct 2024 06:03:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B107C4CEC3; Thu, 17 Oct 2024 06:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729145041; bh=X2+GJH0HSRuttevd7H/GoUXpL9DzliRti/5gVBqOrmI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iHBVP/+L6v//F10lcFEdWtmIk7VaT9jpaMl/sjhNG7bGRxv7jSyy7qgQwZ28o1LZM A65P5MKddi2jx3K6WTUAlcumnMS2b87yQ6m2hpNBpBynvCxp/cQMtGpW7W1WaHO3jg gsllQKRbKQEP03AH0CGQkhI43/HOLTqa4Q6QzFyw= Date: Thu, 17 Oct 2024 08:03:57 +0200 From: Greg KH To: jeffxu@chromium.org Cc: akpm@linux-foundation.org, keescook@chromium.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, corbet@lwn.net, Liam.Howlett@oracle.com, lorenzo.stoakes@oracle.com, jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, jannh@google.com, sroettger@google.com, pedro.falcato@gmail.com, linux-hardening@vger.kernel.org, willy@infradead.org, deraadt@openbsd.org, surenb@google.com, merimus@google.com, rdunlap@infradead.org Subject: Re: [PATCH] munmap sealed memory cause memory to split (bug) Message-ID: <2024101722-diligent-baritone-b211@gregkh> References: <20241017022627.3112811-1-jeffxu@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241017022627.3112811-1-jeffxu@chromium.org> X-Rspam-User: X-Rspamd-Queue-Id: 71D731A000B X-Rspamd-Server: rspam01 X-Stat-Signature: ir43jb7hake4x39ng89c31wzmf9hi17i X-HE-Tag: 1729145031-338979 X-HE-Meta: U2FsdGVkX1/gnJbxTtpZIduL2J1Z9o5FRp1apRbvXuGKvD9VQ7PxD7ktHTMcLjj9xxIwPhnRxBggaoNYcltk72Pq7WvIpYWaFBNvaIhPnFEcDlUHk1ne2gd7sKmcLmHUhz9BxbeScvxHHCOe5nM7GIofiz8tnOvvrYh36RALbDcKe3HjaDI4RbLyoVpbyfNhcFXFjpnXnzPVLW3QVPeg6UXV/hvE4kOsaAQiAa1x/t0+F4ZW/tk2MbSXQ1GArSmpwlHdiZuH66HG2NUuMXdOHbD1vsRT/UJK2egoT/aUWfRO3J7ZlvdrKL5f1CZOljcufaGoulHyEde/0y+SkWY9DfAEiL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16ZZd10om 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: List-Subscribe: List-Unsubscribe: On Thu, Oct 17, 2024 at 02:26:27AM +0000, jeffxu@chromium.org wrote: > From: Jeff Xu > > It appears there is a regression on the latest mm, > when munmap sealed memory, it can cause unexpected VMA split. > E.g. repro use this test. > --- > tools/testing/selftests/mm/mseal_test.c | 76 +++++++++++++++++++++++++ > 1 file changed, 76 insertions(+) > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - Your patch does not have a Signed-off-by: line. Please read the kernel file, Documentation/process/submitting-patches.rst and resend it after adding that line. Note, the line needs to be in the body of the email, before the patch, not at the bottom of the patch or in the email signature. - You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what a proper Subject: line should look like. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot