[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/21415] New: global-buffer-overflow in objdump
From: |
dungnguy at comp dot nus.edu.sg |
Subject: |
[Bug binutils/21415] New: global-buffer-overflow in objdump |
Date: |
Sat, 22 Apr 2017 06:20:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21415
Bug ID: 21415
Summary: global-buffer-overflow in objdump
Product: binutils
Version: 2.28
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dungnguy at comp dot nus.edu.sg
Target Milestone: ---
Created attachment 10012
--> https://sourceware.org/bugzilla/attachment.cgi?id=10012&action=edit
Bug triggering input
Dear All,
This bug was found with AFLGo, a directed version of AFL/AFLFast. Thanks also
to Marcel Böhme and Van-Thuan Pham.
This bug was found on Ubuntu 14.04 64-bit & binutils was checked out from main
repository at git://sourceware.org/git/binutils-gdb.git. Its commit is
a6c21d4a553de184562fd8409a5bcd3f2cc2561a (Wed Apr 19 13:16:05 2017).
binutils was built with ASAN using gcc-6.2 and clang-3.4. The configure command
was:
CC=clang CFLAGS="-DFORTIFY_SOURCE=2 -fstack-protector-all
-fsanitize=undefined,address -fno-omit-frame-pointer -g -Wno-error"
../configure --disable-shared --disable-gdb --disable-libdecnumber
--disable-readline --disable-sim
To reproduce:
Download the attached file - bug_13
objdump -S bug_13
ASAN says:
==148418==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000020f7518 at pc 0x0000008c32d8 bp 0x7ffe53508eb0 sp 0x7ffe53508ea8
READ of size 8 at 0x0000020f7518 thread T0
#0 0x8c32d7 in OP_G
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/opcodes/../../opcodes/i386-dis.c:15562:7
#1 0x88bbf0 in print_insn
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/opcodes/../../opcodes/i386-dis.c:13326:3
#2 0x891ff8 in print_insn_i386
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/opcodes/../../opcodes/i386-dis.c:12562:10
#3 0x509983 in disassemble_bytes
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:1864:17
#4 0x4f6b0a in disassemble_section
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:2304:7
#5 0x9e4315 in bfd_map_over_sections
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/bfd/../../bfd/section.c:1395:5
#6 0x4e4f50 in disassemble_data
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:2438:3
#7 0x4d76be in dump_bfd
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:3532:5
#8 0x4d5fe8 in display_object_bfd
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:3589:7
#9 0x4d5dcc in display_any_bfd
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:3678:5
#10 0x4d45f3 in display_file
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:3699:3
#11 0x4d26d3 in main
/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/../../binutils/objdump.c:4001:6
#12 0x7ffb11701f44 in __libc_start_main
/build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:287
#13 0x4cb13c in _start
(/home/ubuntu/binutils-analysis/binutils-gdb/obj-asan/binutils/objdump+0x4cb13c)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/21415] New: global-buffer-overflow in objdump,
dungnguy at comp dot nus.edu.sg <=