Re: [PATCH] riscv: misaligned: Restrict user access to kernel memory
From: patchwork-bot+linux-riscv
Date: Tue Sep 03 2024 - 10:31:08 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:
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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxx>
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html