From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125713 invoked by alias); 27 Mar 2017 10:40:56 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 125273 invoked by uid 48); 27 Mar 2017 10:40:51 -0000 From: "ago at gentoo dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/21311] New: eu-elflint: heap-based buffer overflow in check_sysv_hash (elflint.c) Date: Mon, 27 Mar 2017 10:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ago at gentoo dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q1/txt/msg00119.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21311 Bug ID: 21311 Summary: eu-elflint: heap-based buffer overflow in check_sysv_hash (elflint.c) Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: ago at gentoo dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- Created attachment 9945 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D9945&action=3Dedit stacktrace Hoping that it has not the same root cause of bug 21310. On elfutils-0.168: # eu-elflint -d $FILE READ of size 4 at 0x60b00000aff4 thread T0 #0 0x40b36a in check_sysv_hash /tmp/portage/dev-libs/elfutils-0.168/work/elfutils-0.168/src/elflint.c:2020 Compiled with: gcc-6.3.0 Reproducer: https://github.com/asarubbo/poc/blob/master/00235-elfutils-heapoverflow-che= ck_sysv_hash Stacktrace attached. --=20 You are receiving this mail because: You are on the CC list for the bug.