riscv: misaligned: enable IRQs while handling misaligned accesses
[ Upstream commit 453805f0 ] We can safely reenable IRQs if coming from userspace. This allows to access user memory that could potentially trigger a page fault. Fixes: b686ecde ("riscv: misaligned: Restrict user access to kernel memory") Signed-off-by:Clément Léger <cleger@rivosinc.com> Reviewed-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250422162324.956065-3-cleger@rivosinc.com Signed-off-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment