New issue
Advanced search Search tips

Issue 877818 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 28
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Null-dereference READ in spvtools::opt::Instruction::GetSingleWordInOperand

Project Member Reported by ClusterFuzz, Aug 26

Issue description

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

Fuzzer: libFuzzer_spvtools_opt_legalization_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  spvtools::opt::Instruction::GetSingleWordInOperand
  spvtools::opt::ScalarReplacementPass::GetStorageType
  spvtools::opt::ScalarReplacementPass::ReplaceWholeLoad
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=580304:580310

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Aug 26

Components: Internals>GPU>Internals
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 ClusterFuzz, Aug 26

Cc: 31666...@users.noreply.github.com d...@everburning.com
Labels: Test-Predator-Auto-CC
Automatically adding ccs based on suspected regression changelists:

Update OpPhi instructions after splitting block. (#1783) by 31666470+s-perron@users.noreply.github.com - https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+/ce644d4a2484fe66e53f5b744ebc4d0d5d49e1ca

Remove using std::<foo> statements. (#1756) by dj2@everburning.com - https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+/a5a5ea0e2dfce9c755a88af1074ebe68a44d2ed9

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label.
Labels: M-70
Owner: dsinclair@chromium.org
Status: Assigned (was: Untriaged)
Assigning it to dsinclair@ as per provided suspect list
Cc: -31666...@users.noreply.github.com -d...@everburning.com dsinclair@chromium.org
Labels: -M-70
Owner: stevenperron@google.com
Project Member

Comment 5 by ClusterFuzz, Aug 28

ClusterFuzz has detected this issue as fixed in range 586363:586367.

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

Fuzzer: libFuzzer_spvtools_opt_legalization_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  spvtools::opt::Instruction::GetSingleWordInOperand
  spvtools::opt::ScalarReplacementPass::GetStorageType
  spvtools::opt::ScalarReplacementPass::ReplaceWholeLoad
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=580304:580310
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=586363:586367

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

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.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 6 by ClusterFuzz, Aug 28

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 5303122583617536 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment