[PATCH v2 1/3] riscv: module: Fix out-of-bounds relocation access

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Apr 16 11:42:34 PDT 2025


Hello:

This series was applied to riscv/linux.git (fixes)
by Alexandre Ghiti <alexghiti at rivosinc.com>:

On Wed,  9 Apr 2025 10:14:49 -0700 you wrote:
> The current code allows rel[j] to access one element past the end of the
> relocation section. Simplify to num_relocations which is equivalent to
> the existing size expression.
> 
> Fixes: 080c4324fa5e ("riscv: optimize ELF relocation function in riscv")
> Signed-off-by: Samuel Holland <samuel.holland at sifive.com>
> 
> [...]

Here is the summary with links:
  - [v2,1/3] riscv: module: Fix out-of-bounds relocation access
    https://git.kernel.org/riscv/c/0b4cce68efb9
  - [v2,2/3] riscv: module: Allocate PLT entries for R_RISCV_PLT32
    https://git.kernel.org/riscv/c/1ee1313f4722
  - [v2,3/3] riscv: module: Optimize PLT/GOT entry counting
    (no matching commit)

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