This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/18685] New: Avoid mapping past end of shared object
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 16 Jul 2015 07:55:20 +0000
- Subject: [Bug dynamic-link/18685] New: Avoid mapping past end of shared object
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18685
Bug ID: 18685
Summary: Avoid mapping past end of shared object
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: siddhesh at redhat dot com
Target Milestone: ---
Some valid ELF objects, like .debug files may refer to sections outside
themselves since they're loaded and patched up to their parent ELF. Calling
ldd on them may result in a segfault since it may try to read beyond the end of
the mapping. Red Hat bz:
https://bugzilla.redhat.com/show_bug.cgi?id=741105
has an example, although I haven't been able to find a sample reproducer file
immediately. This patch has been carried in Fedora and RHEL for a couple of
years now.
--
You are receiving this mail because:
You are on the CC list for the bug.