mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1153] --list=format-methods: asan error #721
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#721
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loverszhaokai on GitHub (Mar 26, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1153
This bug is found by fuzzing the options of John.
#1. Compile
$ export ASAN_OPTIONS='abort_on_error=1'
$ AFL_USE_ASAN=1 AFL_HARDEN=1 ./configure --enable-asan && make -sj8
#2. Reproduce
$ ./john --list=format-methods
==28834== ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x00000243f080
#0 0x7fc372f7e33a (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0x1533a)
#1 0x7c0264 (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x7c0264)
#2 0x488c6e (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x488c6e)
#3 0x74dca4 (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x74dca4)
#4 0x79cdbe (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x79cdbe)
#5 0x7597db (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x7597db)
#6 0x75b188 (/home/zhaokai/WorkSpace/open_wall/JohnTheRipper_test_options_asan/run/john+0x75b188)
#7 0x7fc371804ec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4)
==28834== ABORTING
Aborted
$ asan_symbolize.py
#0 0x7fc372f7e33a in __interceptor_free ??:?
@magnumripper commented on GitHub (Mar 27, 2015):
This is the ASan bug, not a JtR bug.