Bug 2026490 - NULL pointer dereference in read_addrs
Summary: NULL pointer dereference in read_addrs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark Wielaard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-24 20:10 UTC by Rich Ercolani
Modified: 2021-12-10 01:10 UTC (History)
6 users (show)

Fixed In Version: elfutils-0.186-1.fc34
Clone Of:
Environment:
Last Closed: 2021-12-10 01:10:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rich Ercolani 2021-11-24 20:10:22 UTC
Description of problem:
While trying to use drgn, I found that opening a core dump segfaulted, and was pointed to [1] fixing a crash introduced in 0.183.

Version-Release number of selected component (if applicable):
Happened on Fedora 34, 35 ships 0.186 so presumably it's fine.

How reproducible:
Every time

Steps to Reproduce:
1. Hand drgn a core dump
2. Boom goes the dynamite

Actual results:
A working debugger session

Expected results:
drgn core dumps with a backtrace in read_addrs.

Additional info:
https://github.com/osandov/drgn/issues/130

[1] - https://sourceware.org/git/?p=elfutils.git;a=commit;h=828024afc517e266f3226b469ba33f372b401821

Comment 1 Fedora Update System 2021-11-25 13:50:06 UTC
FEDORA-2021-b61e57daf7 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b61e57daf7

Comment 2 Fedora Update System 2021-11-25 21:37:04 UTC
FEDORA-2021-b61e57daf7 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b61e57daf7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b61e57daf7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-12-10 01:10:40 UTC
FEDORA-2021-b61e57daf7 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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