Hello:
This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt palmer@rivosinc.com:
On Wed, 14 Aug 2024 17:57:03 -0700 you wrote:
raw_copy_{to,from}_user() do not call access_ok(), so this code allowed userspace to access any virtual memory address.
Cc: stable@vger.kernel.org Fixes: 7c83232161f6 ("riscv: add support for misaligned trap handling in S-mode") Fixes: 441381506ba7 ("riscv: misaligned: remove CONFIG_RISCV_M_MODE specific code") Signed-off-by: Samuel Holland samuel.holland@sifive.com
[...]
Here is the summary with links: - riscv: misaligned: Restrict user access to kernel memory https://git.kernel.org/riscv/c/b686ecdeacf6
You are awesome, thank you!