From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A67A3858400; Fri, 24 Dec 2021 01:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A67A3858400 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/28720] UBSan: member access within misaligned address 0x7f6e8d80f142 for type 'struct Elf32_Phdr', which requires 4 byte alignment Date: Fri, 24 Dec 2021 01:10:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status assigned_to cf_reconfirmed_on cc Message-ID: In-Reply-To: References: 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-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2021 01:10:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28720 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg Last reconfirmed| |2021-12-24 CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard --- (In reply to Evgeny Vereshchagin from comment #1) > FWIW There are at least 4 uniq crashes honggfuzz has found related to eit= her > "member access within misaligned address" or "load of misaligned address": >=20 > gelf_xlate.h:42:1: runtime error: member access within misaligned address >=20 > link_map.c:292:15: runtime error: load of misaligned address 0x7fffe5c60b= de > for type 'Elf64_Addr' >=20 > link_map.c:283:15: runtime error: load of misaligned address >=20 > gelf_xlate.h:48:1: runtime error: member access within misaligned address Interesting. I did run afl for some time (more than a day) and it found some more issues, but none of these (yet?). I'll try honggfuzz in the future to = see if it can find some more. Without reproducers for all of the above I don't know if I caught them all,= but I think the following two proposed patches (also on my fuzz branch) should = fix them: https://sourceware.org/pipermail/elfutils-devel/2021q4/004598.html https://sourceware.org/pipermail/elfutils-devel/2021q4/004599.html --=20 You are receiving this mail because: You are on the CC list for the bug.=