[PATCH] riscv: kprobes: Reject reserved branch encodings
Nam Cao
namcao at linutronix.de
Tue Sep 1 11:46:50 PDT 2026
Zongmin Zhou <min_halo at 163.com> 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
More information about the linux-riscv
mailing list