mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2003] ASan error on scrypt format with --fuzz #1344
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#1344
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 @frank-dittrich on GitHub (Jan 22, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2003
Originally assigned to: @jfoug on GitHub.
Unfortunately, this error doesn't occur when just running
I tried reproducing the error with disabling individual formats which are tested before scrypt and only succeeded when disabling descrypt, but keeping the others disabled.
@kholia commented on GitHub (Aug 15, 2017):
This code from loader.c seems to be problematic?
Is the
db->salt_hashstructure reset after testing of each individual format?Update: I traced the allocations at site [2] and the usage at site [1] in the above code. At some point during the scrypt testing,
current_salt->saltat site [1] points to a very old allocation which was allocated during the testing of some previous format. This is what is causing the problems.@magnumripper commented on GitHub (Aug 15, 2017):
We should bisect this and find what commit caused the problem.
@magnumripper commented on GitHub (Aug 15, 2017):
Is there some way to trigger the problem with something more specific than fuzzing shit?
@kholia commented on GitHub (Aug 15, 2017):
I haven't found an alternate way to trigger this crash. Also, it shouldn't impact normal JtR jumbo usage I think.
@magnumripper commented on GitHub (Aug 15, 2017):
Perhaps it's a bug in the very fuzzing code? 🤣
@magnumripper commented on GitHub (Dec 15, 2018):
Closing because it's a shame people love to fuzz but hate to help fixing bugs