New issue
Advanced search Search tips

Issue 900085 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Null-dereference READ in v8::internal::ParserBase<v8::internal::Parser>::ParseForAwaitStatement

Project Member Reported by ClusterFuzz, Oct 30

Issue description

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

Fuzzer: ochang_js_fuzzer
Job Type: linux_ubsan_vptr_d8
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000014
Crash State:
  v8::internal::ParserBase<v8::internal::Parser>::ParseForAwaitStatement
  v8::internal::ParserBase<v8::internal::Parser>::ParseStatement
  ParseStatementList
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=57086:57087

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Project Member

Comment 1 by ClusterFuzz, Oct 30

Components: Blink>JavaScript>Parser
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, Oct 30

Labels: Test-Predator-Auto-Owner
Owner: verwa...@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/v8/v8/+/f511f11a9ccb4b7a7b123bdc2fb376dd0760f792 ([parser] Remove RETURN_IF* part 11).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/e0c6671f378850c16ce2bebe3cc3fb4e59fcb38e

commit e0c6671f378850c16ce2bebe3cc3fb4e59fcb38e
Author: Toon Verwaest <verwaest@chromium.org>
Date: Tue Oct 30 10:11:00 2018

[parser] Restore RETURN_IF_PARSE_ERROR in for/await

Bug:  chromium:900085 , v8:8363,  v8:7926 
Change-Id: I033bd4d95cdd85eee635279357c3c5d3fbe912c8
Reviewed-on: https://chromium-review.googlesource.com/c/1306438
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57116}
[modify] https://crrev.com/e0c6671f378850c16ce2bebe3cc3fb4e59fcb38e/src/parsing/parser-base.h
[add] https://crrev.com/e0c6671f378850c16ce2bebe3cc3fb4e59fcb38e/test/mjsunit/regress/regress-900085.js

Project Member

Comment 4 by ClusterFuzz, Oct 31

ClusterFuzz has detected this issue as fixed in range 57115:57116.

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

Fuzzer: ochang_js_fuzzer
Job Type: linux_ubsan_vptr_d8
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000014
Crash State:
  v8::internal::ParserBase<v8::internal::Parser>::ParseForAwaitStatement
  v8::internal::ParserBase<v8::internal::Parser>::ParseStatement
  ParseStatementList
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=57086:57087
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=57115:57116

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

See https://github.com/google/clusterfuzz-tools 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 5 by ClusterFuzz, Oct 31

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