New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Verified
Owner: ----
Closed: Sep 2017
Cc:
Type: Bug-Security



Sign in to add a comment

llvm: Heap-buffer-overflow in checkDylibCommand

Project Member Reported by ClusterFuzz-External, Aug 29 2017 Back to list

Issue description

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

Project: llvm
Fuzzer: libFuzzer_llvm_llvm-dwarfdump-fuzzer
Fuzz target binary: llvm-dwarfdump-fuzzer
Job Type: libfuzzer_asan_llvm
Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1
Crash Address: 0x60c0000006e0
Crash State:
  checkDylibCommand
  llvm::object::MachOObjectFile::MachOObjectFile
  llvm::object::MachOObjectFile::create
  
Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=201708280446:201708291805

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

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 have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.
 
Project Member

Comment 1 by ClusterFuzz-External, Aug 29 2017

Labels: OS-Linux
Project Member

Comment 2 by ochang@google.com, Aug 30 2017

Labels: -Restrict-View-Commit
Project Member

Comment 3 by ClusterFuzz-External, Aug 31 2017

Cc: llvm-b...@lists.llvm.org
I have created a differential that addresses this: https://reviews.llvm.org/D37439
Project Member

Comment 5 by ClusterFuzz-External, Sep 4 2017

Cc: jdevlieg...@apple.com
Project Member

Comment 6 by ClusterFuzz-External, Sep 14 2017

ClusterFuzz has detected this issue as fixed in range 201709130450:201709140449.

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

Project: llvm
Fuzzer: libFuzzer_llvm_llvm-dwarfdump-fuzzer
Fuzz target binary: llvm-dwarfdump-fuzzer
Job Type: libfuzzer_asan_llvm
Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1
Crash Address: 0x60c0000006e0
Crash State:
  checkDylibCommand
  llvm::object::MachOObjectFile::MachOObjectFile
  llvm::object::MachOObjectFile::create
  
Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=201708280446:201708291805
Fixed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=201709130450:201709140449

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

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.
Project Member

Comment 7 by ClusterFuzz-External, Sep 14 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: New)
ClusterFuzz testcase 6218604343197696 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

Sign in to add a comment