[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172537384152.320952.10274584984472776456.git-patchwork-notify@kernel.org>
Date: Tue, 03 Sep 2024 14:30:41 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Samuel Holland <samuel.holland@...ive.com>
Cc: linux-riscv@...ts.infradead.org, palmer@...belt.com,
stable@...r.kernel.org, aou@...s.berkeley.edu, ben.dooks@...ethink.co.uk,
bjorn@...osinc.com, charlie@...osinc.com, cleger@...osinc.com,
conor.dooley@...rochip.com, evan@...osinc.com, paul.walmsley@...ive.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: misaligned: Restrict user access to kernel memory
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.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@...r.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@...ive.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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists