https://sourceware.org/bugzilla/show_bug.cgi?id=22510
Bug ID: 22510 Summary: Segmentation fault on load_debug_section Product: binutils Version: 2.30 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mgcho.minic at gmail dot com Target Milestone: --- Created attachment 10646 --> https://sourceware.org/bugzilla/attachment.cgi?id=10646&action=edit poc of the crash Triggered by "./readelf -w $POC" Tested on Ubuntu 16.04 (x86) Segmentation fault occurred when processing malformed ELF file. The GDB debugging information is as follows: Program received signal SIGSEGV, Segmentation fault. 0x08049298 in load_debug_section (debug=str, data=0x8104908) at readelf.c:13584 13584 if (strs != NULL && strs->sh_size != 0) (gdb) bt #0 0x08049298 in load_debug_section (debug=str, data=0x8104908) at readelf.c:13584 #1 0x0809abcf in load_separate_debug_file (file=0x8104908, filename=0xbffff2b8 "/home/min/Downloads/load_debug_section") at dwarf.c:9839 #2 0x0805264f in process_object (filedata=0x8104908) at readelf.c:18569 #3 0x0804b079 in process_file (file_name=0xbffff2b8 "/home/min/Downloads/load_debug_section") at readelf.c:18991 #4 0x0804a42a in main (argc=3, argv=0xbffff0a4) at readelf.c:19050 Credits: Mingi Cho and Taekyoung Kwon of the Information Security Lab, Yonsei University. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils