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

Issue 793587 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: base::IsStringUTF8(string_value_) in cbor_values.cc

Project Member Reported by ClusterFuzz, Dec 9 2017

Issue description

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

Fuzzer: libFuzzer_cbor_reader_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  base::IsStringUTF8(string_value_) in cbor_values.cc
  content::CBORValue::CBORValue
  content::CBORReader::ReadString
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=522920:522948

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Dec 9 2017

Components: Internals>Core
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, Dec 9 2017

Labels: Test-Predator-Auto-Owner
Owner: hongjunchoi@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/6d30c4a621c65314db63eb56e87c19ab75627b26 (Implement a canonical CBOR decoder).

If this is incorrect, please remove the owner and apply the Test-Predator-Wrong-CLs label.
Project Member

Comment 3 by ClusterFuzz, Dec 9 2017

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 4 by bugdroid1@chromium.org, Dec 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/47be22c3603424d1832d046a348ff3f982500288

commit 47be22c3603424d1832d046a348ff3f982500288
Author: Jun Choi <hongjunchoi@chromium.org>
Date: Thu Dec 14 07:55:16 2017

Changed UTF8 encoding check to include '\0' bytes

Changed UTF8 encoding check function in CBOR decoder to include
bytes after first embedded NULL byte.

Failed cluster fuzz test case : \63\00\00\A6

Bug:  793587 
Change-Id: If519678d29568451c121617a2b02079345a14307
Reviewed-on: https://chromium-review.googlesource.com/818731
Commit-Queue: Jun Choi <hongjunchoi@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Jeffrey Yasskin <jyasskin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524021}
[modify] https://crrev.com/47be22c3603424d1832d046a348ff3f982500288/content/browser/webauth/cbor/cbor_reader.cc
[modify] https://crrev.com/47be22c3603424d1832d046a348ff3f982500288/content/browser/webauth/cbor/cbor_reader_unittest.cc
[modify] https://crrev.com/47be22c3603424d1832d046a348ff3f982500288/content/browser/webauth/cbor/cbor_values.h

Project Member

Comment 5 by ClusterFuzz, Dec 15 2017

ClusterFuzz has detected this issue as fixed in range 524019:524023.

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

Fuzzer: libFuzzer_cbor_reader_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  base::IsStringUTF8(string_value_) in cbor_values.cc
  content::CBORValue::CBORValue
  content::CBORReader::ReadString
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=522920:522948
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=524019:524023

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

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, Dec 15 2017

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