[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9a85a82-750e-4ab8-aa1a-d760efd6a818@huawei.com>
Date: Wed, 28 May 2025 00:52:08 +0800
From: Pu Lehui <pulehui@...wei.com>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, Pu Lehui
<pulehui@...weicloud.com>
CC: Oleg Nesterov <oleg@...hat.com>, <mhiramat@...nel.org>,
<peterz@...radead.org>, <akpm@...ux-foundation.org>,
<Liam.Howlett@...cle.com>, <vbabka@...e.cz>, <jannh@...gle.com>,
<pfalcato@...e.de>, <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH v2 1/2] mm/mremap: Fix uprobe anon page be overwritten
when expanding vma during mremap
On 2025/5/28 0:37, Lorenzo Stoakes wrote:
> On Wed, May 28, 2025 at 12:32:57AM +0800, Pu Lehui wrote:
>>
>> On 2025/5/27 22:23, Oleg Nesterov wrote:
>>> Well, I leave this to you / Lorenzo / David, but...
>>>
>>> On 05/27, Pu Lehui wrote:
>>>>
>>>> Fixes: 78a320542e6c ("uprobes: Change valid_vma() to demand VM_MAYEXEC rather than VM_EXEC")
>>>
>>> I don't think that commit could cause this problem.
>>
>> Hi Oleg,
>>
>> Me too! I was test that before and after commit 78a320542e6c, so call it the
>> `directly related commit`. In fact, I think the issue was introduced in the
>> original commit 2b1444983508 ("uprobes, mm, x86: Add the ability to install
>> and remove uprobes breakpoints") # v3.5-rc1.
>
> Yeah I missed this! I concure that the cited fixes commit is probably not it :P
>
> Your repro is delightfully consistent so could you bisect to be sure?
OK, I will try that tomorrow. PS: It is hard to work repro that for the
so old kernel.😅
>
> BTW did you just say v3.5... Good Lord :)
>
>>
>>>
>>> Oleg.
>>
>
Powered by blists - more mailing lists