Re: [PATCH 4.14 03/62] arm64: kprobe: make page to RO mode when allocate it

From: Greg Kroah-Hartman
Date: Mon Sep 04 2023 - 02:42:18 EST


On Mon, Sep 04, 2023 at 07:24:19AM +0200, Behme Dirk (CM/ESO2) wrote:
>
> On 26.11.2018 11:50, Greg Kroah-Hartman wrote:
> > 4.14-stable review patch. If anyone has any objections, please let me know.
>
>
> It looks like that this patch which was back ported from v4.20 to v4.14.100
> needs the '__weak' on kernel/kprobes.c alloc_insn_page() from v4.15 commit
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=63fef14fc98a8b4fad7
>
> to make alloc_insn_page() being used properly.
>
> But that '__weak' from 63fef14fc98a8b4fad7 was not back ported to v4.14.x
> and is missing in v4.14.x ?

Great, can you send the missing patch after testing that it works?

thanks,

greg k-h