[Bug libelf/21301] New: memory allocation failure in __libelf_decompress

ago at gentoo dot org sourceware-bugzilla@sourceware.org
Fri Mar 24 09:20:00 GMT 2017


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

            Bug ID: 21301
           Summary: memory allocation failure in __libelf_decompress
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libelf
          Assignee: unassigned at sourceware dot org
          Reporter: ago at gentoo dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 9938
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9938&action=edit
stacktrace

AN IMPORTANT NOTE:
as the stacktrace said this can be a false positive, so if you think that there
isn't anything to fix, feel free to close.

On elfutils-0.168:

# eu-readelf -a $FILE
==1927==WARNING: AddressSanitizer failed to allocate 0x280065041580 bytes
    #5 0x7f85fb88dd1e in __libelf_decompress
/tmp/portage/dev-libs/elfutils-0.168/work/elfutils-0.168/libelf/elf_compress.c:214


Compiled with: gcc-6.3.0

Reproducer:
https://github.com/asarubbo/poc/blob/master/00227-elfutils-memallocfailure

Stacktrace attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list