Bug 1435287 (CVE-2017-7225) - CVE-2017-7225 binutils: Null pointer dereference and invalid write in find_nearest_line function in addr2line
Summary: CVE-2017-7225 binutils: Null pointer dereference and invalid write in find_ne...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-7225
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1435307 1435308 1435309
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-23 13:53 UTC by Adam Mariš
Modified: 2019-09-29 14:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:09:30 UTC


Attachments (Terms of Use)

Description Adam Mariš 2017-03-23 13:53:21 UTC
The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program crash.

Upstream bug:

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

Upstream patch:

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

Comment 1 Adam Mariš 2017-03-23 14:14:26 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1435308]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1435309]
Affects: fedora-all [bug 1435307]


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