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

Issue 920074 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Yesterday
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Null-dereference READ in spvtools::opt::analysis::Type::GetHashWords

Project Member Reported by ClusterFuzz, Jan 9

Issue description

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

Fuzzer: libFuzzer_spvtools_opt_performance_fuzzer
Fuzz target binary: spvtools_opt_performance_fuzzer
Job Type: chromeos_libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  spvtools::opt::analysis::Type::GetHashWords
  spvtools::opt::analysis::Array::GetExtraHashWords
  spvtools::opt::analysis::Type::GetHashWords
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=chromeos_libfuzzer_chrome_asan&range=620481:620482

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for instructions to reproduce this bug locally.
 
Project Member

Comment 1 by ClusterFuzz, Jan 9

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, Jan 9

Cc: dsinclair@chromium.org vmi...@chromium.org piman@chromium.org
Labels: ClusterFuzz-Auto-CC
Automatically adding ccs based on OWNERS file / target commit history.

If this is incorrect, please add ClusterFuzz-Wrong label.
Project Member

Comment 3 by ClusterFuzz, Jan 9

Cc: jb...@nvidia.com
Labels: Test-Predator-Auto-CC
Automatically adding ccs based on suspected regression changelists:

SPV_EXT_physical_storage_buffer (#2267) by jbolz@nvidia.com - https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+/5eab6df648eace6eab69c44ccd17bd0f5e57406d

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label.
Owner: stevenperron@google.com
Status: Assigned (was: Untriaged)
Project Member

Comment 5 by ClusterFuzz, Jan 9

Labels: OS-Linux
Project Member

Comment 6 by ClusterFuzz, Jan 10

Labels: OS-Windows

Comment 7 by stevenperron@google.com, Jan 17 (5 days ago)

An array type is referencing itself:

%_arr_23_int_267911167 = OpTypeArray %_arr_23_int_267911167 %int_267911167

Comment 8 by stevenperron@google.com, Yesterday (38 hours ago)

Status: Started (was: Assigned)
Fixed with https://github.com/KhronosGroup/SPIRV-Tools/pull/2307.

Comment 9 by stevenperron@google.com, Yesterday (37 hours ago)

Status: Fixed (was: Started)
Project Member

Comment 10 by ClusterFuzz, Today (14 hours ago)

ClusterFuzz has detected this issue as fixed in range 624608:624628.

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

Fuzzer: libFuzzer_spvtools_opt_performance_fuzzer
Fuzz target binary: spvtools_opt_performance_fuzzer
Job Type: chromeos_libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  spvtools::opt::analysis::Type::GetHashWords
  spvtools::opt::analysis::Array::GetExtraHashWords
  spvtools::opt::analysis::Type::GetHashWords
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=chromeos_libfuzzer_chrome_asan&range=620481:620482
Fixed: https://clusterfuzz.com/revisions?job=chromeos_libfuzzer_chrome_asan&range=624608:624628

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

See https://github.com/google/clusterfuzz-tools for instructions to reproduce this bug locally.

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

Comment 11 by ClusterFuzz, Today (14 hours ago)

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