Bug 27947

Summary: assertion failure when using readelf -a
Product: binutils Reporter: Liyi Zhang <l392zhan>
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 2.30   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Liyi Zhang 2021-06-03 08:21:21 UTC
OS:
Linux

Affected component:
GNU readelf (GNU Binutils) 2.30
executable file link: https://github.com/l392zhan/AttentionFuzzer/blob/main/readelf/readelf

Attack vector(s)
execute the program with the command "readelf -a attackvector" can lead to assertion failure.
attack vectors link: https://github.com/l392zhan/AttentionFuzzer/tree/main/readelf/attack-vector1
GDB screenshot link: https://github.com/l392zhan/AttentionFuzzer/blob/main/readelf/attack-vector1/GDB_screenshot.jpeg
Comment 1 Alan Modra 2021-06-03 09:57:20 UTC
Fuzzing reports against anything but the very latest sourceware.org/git/binutils-gdb.git are not useful.