[PATCH 1/5] arm64: probes: Disable kprobes/uprobes on MOPS instructions
Catalin Marinas
catalin.marinas at arm.com
Wed Oct 2 03:28:24 PDT 2024
On Mon, Sep 30, 2024 at 05:10:47PM +0100, Kristina Martsenko wrote:
> FEAT_MOPS instructions require that all three instructions (prologue,
> main and epilogue) appear consecutively in memory. Placing a
> kprobe/uprobe on one of them doesn't work as only a single instruction
> gets executed out-of-line or simulated. So don't allow placing a probe
> on a MOPS instruction.
>
> Fixes: b7564127ffcb ("arm64: mops: detect and enable FEAT_MOPS")
> Signed-off-by: Kristina Martsenko <kristina.martsenko at arm.com>
I think this would benefit from a cc stable:
Cc: <stable at vger.kernel.org> # 6.5.x
I can add it when applying the patch.
--
Catalin
More information about the linux-arm-kernel
mailing list