Landing: 76be2846f43c

Project / Subsystem

binutils / bfd

Date

2026-07-02

Author

Alan Modra <amodra@sourceware.org>

Commit

76be2846f43c0e55d547c7b27c490fec16e0c33a

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
commit_hash
76be2846f43c0e55d547c7b27c490fec16e0c33a
source_type
public_inbox
headline
PR 34327 Fix out-of-bounds accesses in relocations
tldr
Binutils BFD library now performs better bounds-checking for relocations, preventing potential crashes.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bugfix
  • security
  • relocation
discussion_id_link
public_inbox:binutils#34327
bugzilla_pr
date
2026-07-02T00:00:00.000Z

Several relocations handlers in the BFD library have been updated to improve out-of-bounds access checks. This change addresses a security and stability concern (PR 34327) by ensuring that relocation offsets are validated against section boundaries, preventing potential assertion failures and segmentation faults across various architectures like ARM, MIPS, and SPU.