Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

[FUZZ] Beaconfuzz_v2 crash-8a2da3488d00f8ddb2694f0e58a352e60df5c813 in attester_slashing #92

Open
7 tasks done
Daft-Wullie opened this issue Nov 6, 2020 · 1 comment

Comments

@Daft-Wullie
Copy link

I've done and provided the following:

  • Checked to see if any other [FUZZ] issue already refers to that crasher
  • Attached the crashing input (either attached to the issue as a .zip or .gz, or as a link to a file sharing service)
  • Noted the beacon-fuzz version or commit used.
  • Provided crash output
  • Noted the command or fuzzer used to generate the crash
  • Name of the original crash file
  • (Optional but optimal) Checked if the crash can be consistently replicated by re-running the input.

Info to Reproduce

  • Command run: e.g. ETH2FUZZ_BEACONSTATE=../eth2fuzz/workspace/corpora/beaconstate fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing -artifact_prefix=/home/beacon-fuzz/beaconfuzz_v2/fuzz/artifacts/struct_attester_slashing/ /home/beacon-fuzz/beaconfuzz_v2/fuzz/corpus/struct_attester_slashing/ -detect_leaks=0 -rss_limit_mb=0

  • Crasher file name: crash-8a2da3488d00f8ddb2694f0e58a352e60df5c813
    crash-8a2da3488d00f8ddb2694f0e58a352e60df5c813.zip

  • Client exercised: N/A

  • Fuzzing engine used (if applicable): libfuzzer

Crash output and stacktrace

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `false`,
 right: `true`', /home/beacon-fuzz/beaconfuzz_v2/libs/eth2clientsfuzz/src/attester_slashing.rs:39:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last, using override)
/home/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim(614) signalHandler
SIGABRT: Abnormal termination.
==1551958== ERROR: libFuzzer: fuzz target exited
    #0 0x5628cc402791  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0xda2791)
    #1 0x5628cee50f70  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x37f0f70)
    #2 0x5628cee65cdb  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x3805cdb)
    #3 0x7fbf42639a26  (/lib/x86_64-linux-gnu/libc.so.6+0x49a26)
    #4 0x7fbf42639bdf  (/lib/x86_64-linux-gnu/libc.so.6+0x49bdf)
    #5 0x5628ccc6558c  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x160558c)
    #6 0x7fbf4263620f  (/lib/x86_64-linux-gnu/libc.so.6+0x4620f)
    #7 0x7fbf4263618a  (/lib/x86_64-linux-gnu/libc.so.6+0x4618a)
    #8 0x7fbf42615858  (/lib/x86_64-linux-gnu/libc.so.6+0x25858)
    #9 0x5628cef1e4b6  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38be4b6)
    #10 0x5628cef06ff5  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38a6ff5)
    #11 0x5628cee444b6  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x37e44b6)
    #12 0x5628cef0ee75  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38aee75)
    #13 0x5628cef0e9f8  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38ae9f8)
    #14 0x5628cef09b1b  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38a9b1b)
    #15 0x5628cef0e9b8  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38ae9b8)
    #16 0x5628cef0e96a  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38ae96a)
    #17 0x5628cc51cf3e  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0xebcf3e)
    #18 0x5628cc4adfda  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0xe4dfda)
    #19 0x5628cee444e0  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x37e44e0)
    #20 0x5628cee4413f  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x37e413f)
    #21 0x5628cee6613c  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x380613c)
    #22 0x5628cee6e2f0  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x380e2f0)
    #23 0x5628cee6ecac  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x380ecac)
    #24 0x5628cee710af  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x38110af)
    #25 0x5628cee42689  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0x37e2689)
    #26 0x5628cc37f346  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0xd1f346)
    #27 0x7fbf426170b2  (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
    #28 0x5628cc37f4ed  (/home/beacon-fuzz/beaconfuzz_v2/fuzz/target/x86_64-unknown-linux-gnu/release/struct_attester_slashing+0xd1f4ed)

SUMMARY: libFuzzer: fuzz target exited
MS: 2 ChangeByte-ChangeBit-; base unit: 1a42949ef5f604f45eb1ad4fbf3840627a6ba9ba
artifact_prefix='/home/beacon-fuzz/beaconfuzz_v2/fuzz/artifacts/struct_attester_slashing/'; Test unit written to /home/beacon-fuzz/beaconfuzz_v2/fuzz/artifacts/struct_attester_slashing/crash-8a2da3488d00f8ddb2694f0e58a352e60df5c813

Your Environment

  • Fuzzer ran: beaconfuzz v2
  • Version/Commit used:8ba2bc4
  • Operating System and version: Ubuntu 20.04
@Daft-Wullie
Copy link
Author

unsure if same as #88 , reporting in case it's different

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants