Re: [PATCH] riscv: kprobes: Reject reserved branch encodings
From: Nam Cao
Date: Tue Sep 01 2026 - 14:48:05 EST
Zongmin Zhou <min_halo@xxxxxxx> writes:
> A probe on such an encoding, e.g. placed on
> data misdecoded as instructions, therefore keeps the instruction
> pointer on the breakpoint, and the CPU traps on it forever.
How can that happen? Isn't probe on data disallowed? And how can the
instruction pointer be on data?
How did you find this issue? If this is from some LLM, please add
Assisted-by: tag.
Nam