Re: [RFC PATCH v2 1/2] mm/mremap: Fix uprobe anon page be overwritten when expanding vma during mremap
From: Pu Lehui
Date: Tue May 27 2025 - 12:33:17 EST
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.
Oleg.