[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174914944698.3195461.8348597570528832946.git-patchwork-notify@kernel.org>
Date: Thu, 05 Jun 2025 18:50:46 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Clément Léger <cleger@...osinc.com>@codeaurora.org
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
paul.walmsley@...ive.com, palmer@...belt.com, aou@...s.berkeley.edu,
alex@...ti.fr, macro@...am.me.uk, david.laight.linux@...il.com
Subject: Re: [PATCH v2 0/3] riscv: misaligned: fix misaligned accesses
handling in
put/get_user()
Hello:
This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@...belt.com>:
On Mon, 2 Jun 2025 21:39:13 +0200 you wrote:
> While debugging a few problems with the misaligned access kselftest,
> Alexandre discovered some crash with the current code. Indeed, some
> misaligned access was done by the kernel using put_user(). This
> was resulting in trap and a kernel crash since. The path was the
> following:
> user -> kernel -> access to user memory -> misaligned trap -> trap ->
> kernel -> misaligned handling -> memcpy -> crash due to failed page fault
> while in interrupt disabled section.
>
> [...]
Here is the summary with links:
- [v2,1/3] riscv: make unsafe user copy routines use existing assembly routines
https://git.kernel.org/riscv/c/a4348546332c
- [v2,2/3] riscv: process: use unsigned int instead of unsigned long for put_user()
https://git.kernel.org/riscv/c/020667d661f9
- [v2,3/3] riscv: uaccess: do not do misaligned accesses in get/put_user()
https://git.kernel.org/riscv/c/ca1a66cdd685
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