This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/18685] New: Avoid mapping past end of shared object


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]