RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1749084 - Backport workaround for "bfd elf.c assertion for multiple relocations to same section" [rhel-8]
Summary: Backport workaround for "bfd elf.c assertion for multiple relocations to same...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: binutils
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
: 1733816 (view as bug list)
Depends On:
Blocks: 1749085
TreeView+ depends on / blocked
 
Reported: 2019-09-04 20:09 UTC by Joe Lawrence
Modified: 2021-09-17 14:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1749085 (view as bug list)
Environment:
Last Closed: 2019-11-05 21:29:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
Test binary (299.04 KB, application/octet-stream)
2019-09-11 09:00 UTC, Nick Clifton
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3514 0 None None None 2019-11-05 21:30:03 UTC

Description Joe Lawrence 2019-09-04 20:09:25 UTC
Livepatch kernel module ELF files may be constructed with relocation sections that target the same ELF (usually .text) section.  This was reported upstream:

  https://sourceware.org/bugzilla/show_bug.cgi?id=24456

with a workaround to stop the BFD library from failing when encountering the second set of relocs for the same section:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a7ba389645d178c43100ec47e513389ae8bf8f93

Without this workaround, it may be difficult to debug livepatch / kernel bugs as client programs like objdump cannot process livepatch kernel modules.  See bz-1733816 for example.

Note that this affects serviceability by Red Hat rather than the customer livepatch experience (customers are not expected to run such utilities against livepatch kernel modules).

Comment 1 Joe Lawrence 2019-09-04 20:11:02 UTC
*** Bug 1733816 has been marked as a duplicate of this bug. ***

Comment 5 Nick Clifton 2019-09-11 09:00:31 UTC
Created attachment 1613987 [details]
Test binary

Comment 9 Nick Clifton 2019-09-13 10:13:56 UTC
Fixed in: binutils-2.30-58.el8

Comment 11 Miloš Prchlík 2019-09-25 11:57:15 UTC
Verified with binutils-2.30-58.el8.

Comment 13 errata-xmlrpc 2019-11-05 21:29:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3514


Note You need to log in before you can comment on or make changes to this bug.