[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22366] New: _bfd_elf_setup_sections null pointer read
From: |
jgj212 at gmail dot com |
Subject: |
[Bug binutils/22366] New: _bfd_elf_setup_sections null pointer read |
Date: |
Sun, 29 Oct 2017 13:00:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22366
Bug ID: 22366
Summary: _bfd_elf_setup_sections null pointer read
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: jgj212 at gmail dot com
Target Milestone: ---
Hi:
I found a null pointer read in objdump 2.29, here is the asan-log and poc:
=================================================================
==3033==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000040 (pc
0x0000006d3463 bp 0x7ffe581bab10 sp 0x7ffe581ba860 T0)
==3033==The signal is caused by a READ memory access.
==3033==Hint: address points to the zero page.
#0 0x6d3462 in _bfd_elf_setup_sections bfd/elf.c:899:6
#1 0x8425a0 in bfd_elf32_object_p bfd/./elfcode.h:809:13
#2 0x64525c in bfd_check_format_matches bfd/format.c:311:14
#3 0x5178cf in display_object_bfd binutils/./objdump.c:3601:7
#4 0x5177d9 in display_any_bfd binutils/./objdump.c:3692:5
#5 0x51731a in display_file binutils/./objdump.c:3713:3
#6 0x516b74 in main binutils/./objdump.c:4015:6
#7 0x7f1f16a4ef44 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
#8 0x41b7bb in _start ( binutils/objdump+0x41b7bb)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV bfd/elf.c:899:6 in _bfd_elf_setup_sections
==3033==ABORTING
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22366] New: _bfd_elf_setup_sections null pointer read,
jgj212 at gmail dot com <=