New issue
Advanced search Search tips

Issue 882086 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 869713
Owner: ----
Closed: Sep 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac , Fuchsia
Pri: 1
Type: Bug-Security



Sign in to add a comment

Bad-cast to llvm::cl::Option from llvm::cl::opt<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false, llvm::cl::parser<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > in llvm::cl::applicator<llvm::cl::FormattingFlags>::opt

Project Member Reported by ClusterFuzz, Sep 8

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=5671071733514240

Fuzzer: libFuzzer_gpu_raster_swiftshader_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Bad-cast
Crash Address: 0x7fe27fdb0a28
Crash State:
  Bad-cast to llvm::cl::Option from llvm::cl::opt<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false, llvm::cl::parser<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >
  llvm::cl::applicator<llvm::cl::FormattingFlags>::opt
  void llvm::cl::apply<llvm::cl::opt<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false, llvm::cl::parser<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, llvm::cl::FormattingFlags, llvm::cl::desc, llvm::cl::initializer<char
  
Sanitizer: undefined (UBSAN)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=579136:579142

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5671071733514240

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.
 
Project Member

Comment 1 by ClusterFuzz, Sep 8

Components: Internals>GPU>SwiftShader
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 2 by sheriffbot@chromium.org, Sep 8

Labels: Target-70 M-70
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 8

Labels: ReleaseBlock-Stable
This is a serious security regression. If you are not able to fix this quickly, please revert the change that introduced it.

If this doesn't affect a release branch, or has not been properly classified for severity, please update the Security_Impact or Security_Severity labels, and remove the ReleaseBlock label. To disable this altogether, apply ReleaseBlock-NA.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 8

Labels: Pri-1
Project Member

Comment 5 by sheriffbot@chromium.org, Sep 9

Labels: -Security_Impact-Head Security_Impact-Beta
Cc: capn@chromium.org
I think this is a false positive. CCing capn@ to be sure.
Labels: ClusterFuzz-Wrong ClusterFuzz-Ignore OS-Chrome OS-Fuchsia OS-Mac OS-Windows
Mergedinto: 869713
Status: Duplicate (was: Untriaged)
Looks like  Issue 869713 , and  Issue 875034 . I think there're all false positives, possibly due to UBSan losing track of the template instantiation.

This in is LLVM 3.0 code anyway, which I have no intention to touch. We might get rid of this with the LLVM 7.0. upgrade.
Project Member

Comment 8 by sheriffbot@chromium.org, Dec 17

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment