Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1038876] New: VUL-1: binutils: memory allocation failure
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 12 May 2017 13:24:13 +0000
  • Message-id: <bug-1038876-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1038876


Bug ID: 1038876
Summary: VUL-1: binutils: memory allocation failure
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Security
Assignee: security-team@xxxxxxx
Reporter: mikhail.kasimov@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Created attachment 724891
--> http://bugzilla.opensuse.org/attachment.cgi?id=724891&action=edit
binutils-memallocfailure_reproducer

Ref: https://blogs.gentoo.org/ago/2017/05/12/binutils-multiple-crashes/
=======================================================================
# readelf -a $FILE
==25206==WARNING: AddressSanitizer failed to allocate 0x40000000000070 bytes
==25206==AddressSanitizer's allocator is terminating the process instead of
returning 0
==25206==If you don't like this behavior set allocator_may_return_null=1
==25206==AddressSanitizer CHECK failed:
/tmp/portage/sys-libs/compiler-rt-sanitizers-4.0.0/work/compiler-rt-4.0.0.src/lib/sanitizer_common/sanitizer_allocator.cc:221
"((0)) != (0)" (0x0, 0x0)
[...]
#6 0x66dcfd in xmalloc
/tmp/portage/sys-devel/binutils-9999/work/binutils/libiberty/xmalloc.c:147:12
#7 0x5e5a20 in cmalloc
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/dwarf.c:8259:10
#8 0x5d2865 in process_mips_specific
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:15373:34
#9 0x54ac16 in process_arch_specific
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:17449:14
#10 0x54ac16 in process_object
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:17672
#11 0x5167f8 in process_file
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:18055:13
#12 0x5167f8 in main
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:18127
#13 0x7fca769b578f in __libc_start_main
/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23/csu/../csu/libc-start.c:289
#14 0x41a088 in getenv
(/usr/x86_64-pc-linux-gnu/binutils-bin/git/readelf+0x41a088)

Affected version:
master after commit 82156ab704b08b124d319c0decdbd48b3ca2dac5 which fixed the
bug above

Fixed version:
N/A

Reproducer:
https://github.com/asarubbo/poc/blob/master/00272-binutils-memallocfailure

Commit fix:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7296a62a2a237f6b1ad8db8c38b090e9f592c8cf
=======================================================================

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups