[PATCH -fixes] riscv: Check if the code to patch lies in the exit section

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Fri Dec 8 08:10:24 PST 2023


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Wed,  6 Dec 2023 17:54:58 +0100 you wrote:
> Otherwise we fall through to vmalloc_to_page() which panics since the
> address does not lie in the vmalloc region.
> 
> Fixes: 043cb41a85de ("riscv: introduce interfaces to patch kernel code")
> Reported-by: syzbot+2c2a76232878c44e0eae at syzkaller.appspotmail.com
> Closes: https://lore.kernel.org/all/000000000000ce4a27060b39ed34@google.com/T/
> Signed-off-by: Alexandre Ghiti <alexghiti at rivosinc.com>
> 
> [...]

Here is the summary with links:
  - [-fixes] riscv: Check if the code to patch lies in the exit section
    https://git.kernel.org/riscv/c/eb46a0076501

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list