New issue
Advanced search Search tips

Issue 716983 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 718867
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Mac
Pri: 1
Type: Bug-Security



Sign in to add a comment

Bad-cast to sandbox::bpf_dsl::(anonymous namespace)::ReturnResultExprImpl from invalid vptr;_ZNSt11_Tuple_implILm0EJRKiRKSbItN4base20string16_char_traitsESaItEERKSt6vectorIN5blink23WebCompositionUnderlineESaISA_EERKN3gfx5RangeES1_EE7_M_headERKSJ_;blink::shadowDepthOf<>

Project Member Reported by ClusterFuzz, May 1 2017

Issue description

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

Fuzzer: bj_broddelwerk
Job Type: linux_cfi_chrome
Platform Id: linux

Crash Type: Bad-cast
Crash Address: 0x7f595cc19990
Crash State:
  Bad-cast to sandbox::bpf_dsl::(anonymous namespace)::ReturnResultExprImpl from invalid vptr
  _ZNSt11_Tuple_implILm0EJRKiRKSbItN4base20string16_char_traitsESaItEERKSt6vectorIN5blink23WebCompositionUnderlineESaISA_EERKN3gfx5RangeES1_EE7_M_headERKSJ_
  blink::shadowDepthOf<>
  
Sanitizer: cfi (CFI)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=linux_cfi_chrome&range=456721:456818

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


Issue filed automatically.

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Project Member

Comment 1 by sheriffbot@chromium.org, May 1 2017

Labels: M-60
Project Member

Comment 2 by sheriffbot@chromium.org, May 1 2017

Labels: ReleaseBlock-Beta
This issue is a security regression. If you are not able to fix this quickly, please revert the change that introduced it.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 3 by sheriffbot@chromium.org, May 1 2017

Labels: Pri-1
Project Member

Comment 4 by ClusterFuzz, May 1 2017

ClusterFuzz is analyzing your testcase. Developers can follow the progress at https://cluster-fuzz.appspot.com/testcase?key=6719543983734784

Comment 5 by aarya@google.com, May 1 2017

Cc: och...@chromium.org kcc@chromium.org p...@chromium.org
Peter, any idea why cfi builds are crashing in sandbox::bpf_dsl ? The bottom frames at end are more interesting.

#5 0x7f51daba0750 blink::(anonymous namespace)::ShadowDepthOf<>()
#6 0x7f51daba05ee blink::TextIteratorAlgorithm<>::Initialize()
#7 0x7f51daba3bec blink::TextIteratorAlgorithm<>::RangeLength()
#8 0x7f51dab7c710 blink::CompositeEditCommand::MoveParagraphs()
#9 0x7f51dab7bec2 blink::CompositeEditCommand::MoveParagraphContentsToNewBlockIfNecessary()
#10 0x7f51dab70717 blink::ApplyStyleCommand::ApplyBlockStyle()
#11 0x7f51dab783dd blink::CompositeEditCommand::Apply()
#12 0x7f51dab373df blink::Editor::ApplyParagraphStyle()
#13 0x7f51dab8673b blink::ExecuteApplyParagraphStyle()

And we have seen similar bugs with crashes in "Bad-cast to sandbox::bpf_dsl", so something is going wrong in cfi builds recently?
Project Member

Comment 6 by ClusterFuzz, May 1 2017

Labels: OS-Mac
Project Member

Comment 7 by ClusterFuzz, May 1 2017

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

Job Type: mac_asan_chrome
Crash Type: UNKNOWN READ
Crash Address: 0x000000000020
Crash State:
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::In
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::Te
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::Ra
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_chrome&range=338645:338660

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


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
Labels: -Security_Impact-Head Security_Impact-Stable
Owner: yoichio@chromium.org
Hi yoichio@ - clusterfuzz pointed at https://chromium.googlesource.com/chromium/blink.git/+/9126cdc187f207a3b54b298d9f4999d724270b97 - mind taking a look?  Thanks!
Components: Blink>Editing>Selection
Status: Assigned (was: Untriaged)
> And we have seen similar bugs with crashes in "Bad-cast to sandbox::bpf_dsl", so something is going wrong in cfi builds recently?

When I was sheriff, I did see other "bad-cast" problem in  issue 704612 .
Labels: M-59
Labels: -ReleaseBlock-Beta

Comment 14 by aarya@google.com, May 5 2017

Mergedinto: 718867
Status: Duplicate (was: Assigned)
This is a CFI build issue, see  bug 718867 .
Project Member

Comment 15 by ClusterFuzz, May 17 2017

ClusterFuzz has detected this issue as fixed in range 472116:472196.

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

Fuzzer: bj_broddelwerk
Job Type: linux_cfi_chrome
Platform Id: linux

Crash Type: Bad-cast
Crash Address: 0x7f595cc19990
Crash State:
  Bad-cast to sandbox::bpf_dsl::(anonymous namespace)::ReturnResultExprImpl from invalid vptr
  _ZNSt11_Tuple_implILm0EJRKiRKSbItN4base20string16_char_traitsESaItEERKSt6vectorIN5blink23WebCompositionUnderlineESaISA_EERKN3gfx5RangeES1_EE7_M_headERKSJ_
  blink::shadowDepthOf<>
  
Sanitizer: cfi (CFI)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=linux_cfi_chrome&range=456721:456818
Fixed: https://clusterfuzz.com/revisions?job=linux_cfi_chrome&range=472116:472196

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


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs 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 16 by sheriffbot@chromium.org, Aug 12 2017

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment