From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 688E43858402; Wed, 8 Dec 2021 20:37:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 688E43858402 From: "evvers at ya dot ru" To: elfutils-devel@sourceware.org Subject: [Bug libelf/28666] memmove() reads out-of-range in elf32_xlatetom Date: Wed, 08 Dec 2021 20:37:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libelf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: evvers at ya dot ru 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: 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: Wed, 08 Dec 2021 20:37:22 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28666 --- Comment #6 from Evgeny Vereshchagin --- My bad. The backtrace is different there: ``` 2021-12-08T20:14:08.7167911Z =3D=3D21=3D=3DERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f4f1d328000 at pc 0x000000524c9f bp 0x7fff9271bc40 sp 0x7fff9271b408 2021-12-08T20:14:08.7169143Z READ of size 327680 at 0x7f4f1d328000 thread T0 2021-12-08T20:14:08.7170393Z SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) 2021-12-08T20:14:08.7429032Z #0 0x524c9e in __asan_memmove /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:= 30:3 2021-12-08T20:14:08.7434627Z #1 0x63d0b3 in memmove /usr/include/x86_64-linux-gnu/bits/string_fortified.h:40:10 2021-12-08T20:14:08.7438180Z #2 0x63d0b3 in elf32_xlatetom /src/elfutils/libelf/elf32_xlatetom.c:96:2 2021-12-08T20:14:08.7441601Z #3 0x5fc7e8 in dwfl_link_map_report /src/elfutils/libdwfl/link_map.c:1013:12 2021-12-08T20:14:08.7445515Z #4 0x5668da in dwfl_core_file_report /src/elfutils/libdwfl/core-file.c:548:16 2021-12-08T20:14:08.7448767Z #5 0x55eaa0 in LLVMFuzzerTestOneInput /src/fuzz-dwfl-core.c:52:6 ``` I think the issue reported here is gone. Thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.=