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

Issue 657862 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 0
Type: Bug-Security



Sign in to add a comment

Heap-use-after-free in base::debug::TaskAnnotator::RunTask

Project Member Reported by ClusterFuzz, Oct 20 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5148907992776704

Fuzzer: jsbell_indexeddb
Job Type: linux_asan_chrome_mp
Platform Id: linux

Crash Type: Heap-use-after-free READ 8
Crash Address: 0x6040002bbbe8
Crash State:
  base::debug::TaskAnnotator::RunTask
  base::MessageLoop::RunTask
  base::MessageLoop::DeferOrRunPendingTask
  
Recommended Security Severity: Critical

Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_chrome_mp&range=426410:426422

Unminimized Testcase: https://cluster-fuzz.appspot.com/download/AMIfv97SIL2XFVqFuiTrBgR69fYTeFyt-hL3plSJgirV-pTylrgtLIbpUESTTRp7lSZE5Oz-_vElhHIDkKV5Mt6lZ_LnWGE61KP3Q_3P8M3LNP_1aldIpC64FjGS_RaYcZCX7lhm-9cIAWo5O_TLAAuWGPIWfkZcD5Kx7GctAFtBeeKrN6TV2bA?testcase_id=5148907992776704


Issue filed automatically.

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Blink>Storage>IndexedDB
Labels: Pri-0
Owner: reillyg@chromium.org
reillyg: Could you take a look? It seems like this might be related to https://chromium.googlesource.com/chromium/src/+/627e7f73d47910f4255031de55075e2a04b222f6
Making a local ASan build right now. Will revert my patch if I can't figure this out quickly.
Status: Started (was: Untriaged)
IndexedDBCallbacks is being destroyed on the wrong thread. TSan caught this too: https://build.chromium.org/p/chromium.memory.full/builders/Linux%20TSan%20Tests/builds/2823/steps/content_browsertests%20on%20Ubuntu-12.04/logs/IndexedDBBrowserTest.EmptyBlob

I'm testing a patch to fix it.

Comment 4 by aarya@google.com, Oct 20 2016

Cc: wrengr@chromium.org
Yes, looks like TSAN is crashing on startup on this.
Status: Fixed (was: Started)
Project Member

Comment 7 by ClusterFuzz, Oct 21 2016

ClusterFuzz has detected this issue as fixed in range 426561:426648.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5148907992776704

Fuzzer: jsbell_indexeddb
Job Type: linux_asan_chrome_mp
Platform Id: linux

Crash Type: Heap-use-after-free READ 8
Crash Address: 0x6040002bbbe8
Crash State:
  base::debug::TaskAnnotator::RunTask
  base::MessageLoop::RunTask
  base::MessageLoop::DeferOrRunPendingTask
  
Recommended Security Severity: Critical

Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_chrome_mp&range=426410:426422
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_chrome_mp&range=426561:426648

Unminimized Testcase: https://cluster-fuzz.appspot.com/download/AMIfv97SIL2XFVqFuiTrBgR69fYTeFyt-hL3plSJgirV-pTylrgtLIbpUESTTRp7lSZE5Oz-_vElhHIDkKV5Mt6lZ_LnWGE61KP3Q_3P8M3LNP_1aldIpC64FjGS_RaYcZCX7lhm-9cIAWo5O_TLAAuWGPIWfkZcD5Kx7GctAFtBeeKrN6TV2bA?testcase_id=5148907992776704


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 8 by sheriffbot@chromium.org, Oct 21 2016

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
 Issue 657919  has been merged into this issue.
 Issue 657943  has been merged into this issue.
Cc: awhalley@chromium.org ligim...@chromium.org bustamante@chromium.org
Is this need a merge to M54? If yes, please request a merge to M54.
Labels: M-56
The change that introduced this bug is only on M-56. I haven't looked at the issued duped against this one but if they are hit on older releases then they aren't related.
I am not allowed to view either of those issues so I have no idea if they are related.
reillyg@, I added you in CC list for both bugs ( Issue 657919 ,  Issue 657943 )
Yes, both bugs are related to this change. No merge is necessary.
Project Member

Comment 16 by sheriffbot@chromium.org, Jan 27 2017

Labels: -Restrict-View-SecurityNotify 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