New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Jun 2018
Cc:
Type: Bug



Sign in to add a comment
link

Issue 8876: mercurial/mpatch_fuzzer: Undefined-shift in getbe32

Reported by ClusterFuzz-External, Jun 13 2018 Project Member

Issue description

Detailed report: https://oss-fuzz.com/testcase?key=5195457901887488

Project: mercurial
Fuzzer: libFuzzer_mercurial_mpatch_fuzzer
Fuzz target binary: mpatch_fuzzer
Job Type: libfuzzer_ubsan_mercurial
Platform Id: linux

Crash Type: Undefined-shift
Crash Address: 
Crash State:
  getbe32
  mpatch_decode
  getitem
  
Sanitizer: undefined (UBSAN)

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_mercurial&range=201806120801:201806130808

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5195457901887488

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse
without an upstream patch, then the bug report will automatically
become visible to the public.

When you fix this bug, please
  * mention the fix revision(s).
  * state whether the bug was a short-lived regression or an old bug in any stable releases.
  * add any other useful information.
This information can help downstream consumers.

If you need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues.
 

Comment 1 by ClusterFuzz-External, Jun 13 2018

Project Member
Labels: OS-Linux

Comment 2 by duri...@gmail.com, Jun 13 2018

Fix out for review as http://phab.mercurial-scm.org/D3729

Comment 3 by ClusterFuzz-External, Jun 14 2018

Project Member
Labels: Fuzz-Blocker
This crash occurs very frequently on linux platform and is likely preventing the fuzzer mpatch_fuzzer from making much progress. Fixing this will allow more bugs to be found.

If this is incorrect, please file a bug on https://github.com/google/oss-fuzz/issues/new

Comment 4 by ClusterFuzz-External, Jun 15 2018

Project Member
ClusterFuzz has detected this issue as fixed in range 201806130808:201806142218.

Detailed report: https://oss-fuzz.com/testcase?key=5195457901887488

Project: mercurial
Fuzzer: libFuzzer_mercurial_mpatch_fuzzer
Fuzz target binary: mpatch_fuzzer
Job Type: libfuzzer_ubsan_mercurial
Platform Id: linux

Crash Type: Undefined-shift
Crash Address: 
Crash State:
  getbe32
  mpatch_decode
  getitem
  
Sanitizer: undefined (UBSAN)

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_mercurial&range=201806120801:201806130808
Fixed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_mercurial&range=201806130808:201806142218

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5195457901887488

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.

Comment 5 by ClusterFuzz-External, Jun 15 2018

Project Member
Labels: ClusterFuzz-Verified
Status: Verified (was: New)
ClusterFuzz testcase 5195457901887488 is verified as fixed, so closing issue as verified.

If this is incorrect, please file a bug on https://github.com/google/oss-fuzz/issues/new

Comment 6 by sheriffbot@chromium.org, Jul 15 2018

Project Member
Labels: -restrict-view-commit
This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot

Sign in to add a comment