Re: Add Morton,Peter and David for discussion//Re: [PATCH -next] uprobes: fix two zero old_folio bugs in __replace_page()
From: Oleg Nesterov
Date: Wed Feb 19 2025 - 10:25:24 EST
On 02/18, Tong Tiangen wrote:
>
> OK, Before your rewrite last merged, How about i change the solution to
> just reject them immediately after get_user_page_vma_remote()?
I agree, uprobe_write_opcode() should simply fail if is_zero_page(old_page).
Oleg.