Description: riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe References: Notes: carnil> Introduced in c22b0bcb1dd02 ("riscv: Add kprobes supported"). Vulnerable carnil> versions: 5.12-rc1. Bugs: upstream: released (5.13-rc1) [b1ebaa0e1318494a7637099a26add50509e37964] 6.7-upstream-stable: N/A "Fixed before branching point" 6.6-upstream-stable: N/A "Fixed before branching point" 6.1-upstream-stable: N/A "Fixed before branching point" 5.10-upstream-stable: N/A "Vulnerable code not present" 4.19-upstream-stable: N/A "Vulnerable code not present" sid: N/A "Vulnerable code not present" 6.1-bookworm-security: N/A "Fixed before branching point" 5.10-bullseye-security: N/A "Vulnerable code not present" 4.19-buster-security: N/A "Vulnerable code not present"