New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

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



Sign in to add a comment
link

Issue 905272: Null-dereference READ in dawn_native::ObjectBase::GetDevice

Reported by ClusterFuzz, Nov 14 Project Member

Issue description

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

Fuzzer: libFuzzer_dawn_wire_server_and_frontend_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000010
Crash State:
  dawn_native::ObjectBase::GetDevice
  dawn_native::BufferBase::MapReadAsync
  dawn_native::ValidatingBufferMapReadAsync
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=607416:607428

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Nov 14

Project Member
Cc: kainino@chromium.org cwallez@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.

Comment 2 by cwallez@chromium.org, Nov 14

Owner: cwallez@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by cwallez@chromium.org, Nov 19

Components: Internals>GPU>Dawn

Comment 4 by bugdroid1@chromium.org, Nov 20

Project Member
The following revision refers to this bug:
  https://dawn.googlesource.com/dawn/+/c56860e27fb3390a955ecc4ba5c8895b403046cb

commit c56860e27fb3390a955ecc4ba5c8895b403046cb
Author: Corentin Wallez <cwallez@chromium.org>
Date: Tue Nov 20 09:31:45 2018

WireServer: Check for ID 0 in hand-written handlers.

BUG= chromium:905272 

Change-Id: Ib8efb307dbdd6fc57d2cc75366f238c4dfb2beea
Reviewed-on: https://dawn-review.googlesource.com/c/2563
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>

[modify] https://crrev.com/c56860e27fb3390a955ecc4ba5c8895b403046cb/generator/templates/dawn_wire/WireServer.cpp

Comment 5 by ClusterFuzz, Nov 21

Project Member
ClusterFuzz has detected this issue as fixed in range 609745:609746.

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

Fuzzer: libFuzzer_dawn_wire_server_and_frontend_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000010
Crash State:
  dawn_native::ObjectBase::GetDevice
  dawn_native::BufferBase::MapReadAsync
  dawn_native::ValidatingBufferMapReadAsync
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=607416:607428
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=609745:609746

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

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.

Comment 6 by ClusterFuzz, Nov 21

Project Member
Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 6222361101336576 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