[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
Mon Jun 2 15:12:41 PDT 2025


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at dabbelt.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
    (no matching commit)
  - [v2,2/3] riscv: module: Allocate PLT entries for R_RISCV_PLT32
    (no matching commit)
  - [v2,3/3] riscv: module: Optimize PLT/GOT entry counting
    https://git.kernel.org/riscv/c/e9aa38ea39b2

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