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

Issue 643076 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
ex-Googler
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Integer-overflow in sqlite3MulInt64

Project Member Reported by ClusterFuzz, Sep 1 2016

Issue description

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

Fuzzer: libfuzzer_sqlite3_prepare_v2_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Integer-overflow
Crash Address: 
Crash State:
  sqlite3MulInt64
  sqlite3VdbeExec
  sqlite3Step
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_ubsan&range=415587:415619

Minimized Testcase (0.03 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97Lt2nL30yh-nvitrHw-FKH8-cQbx8uTrRlaZQ-CT_tJgV5_akE2gmmguJznKrnIpHC9fSY4W-CsEkaH5G85sGScocvClKiYAlr_EiQPl5XB5rI4_yGhG0q0h9TQtkoXFnVTw4wISCtvKI7PyRP5pZANz2zAg?testcase_id=4624714624663552
(SELECT 3452005775[a]WHERE a+a*A


Issue manually filed by: msrchandra

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
 
Components: Tools>Test>FindIt>NoResult
Labels: findit-wrong Te-Logged
Owner: js...@chromium.org
Status: Assigned (was: Untriaged)
Find it did not provide any possible suspect. Providing the results for internal purpose.
Suspected CLs	Git blame below is NOT necessarily who introduced the crash nor the owner for it. Please check the code before assigning to anyone.(No CL in the regression range changed the crashing files.)

Author: Scott Hess
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src/+/dcf12048055030a2b5858ceca5ce26294a82a6e4
Time: Tue Feb 10 21:33:29 2015
The CL last changed line 26300 of file sqlite3.c, which is stack frame 0.

Author: Scott Hess
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src/+/dcf12048055030a2b5858ceca5ce26294a82a6e4
Time: Tue Feb 10 21:33:29 2015
The CL last changed line 75334 of file sqlite3.c, which is stack frame 1.

Author: shess@chromium.org
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src/+/fdd072ff1b52f405ed3c2b1cfb86c6e92e5018c1
Time: Wed Apr 13 20:47:24 2011
The CL last changed line 72482 of file sqlite3.c, which is stack frame 2.

Author: shess@chromium.org
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src/+/fb8f976cb2b5ce1a8e078852c67e049987edf81f
Time: Wed May 25 14:24:48 2011
The CL last changed line 72543 of file sqlite3.c, which is stack frame 3.

Author: mmoroz
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src/+/b5a889360ccf53d7da52b37e3dbc1f9d4e335292
Time: Mon Dec 28 16:49:24 2015
The CL last changed line 72 of file sqlite3_prepare_v2_fuzzer.cc, which is stack frame 4.

Author: kcc
Project: chromium-libfuzzer
Changelist: https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer.git/+/d33f707d488e6ac62cb5110f90115d9fe863c99e
Time: Sat Feb 13 17:56:51 2016
The CL last changed line 512 of file FuzzerLoop.cpp, which is stack frame 5.

Author: kcc
Project: chromium-libfuzzer
Changelist: https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer.git/+/d33f707d488e6ac62cb5110f90115d9fe863c99e
Time: Sat Feb 13 17:56:51 2016
The CL last changed line 468 of file FuzzerLoop.cpp, which is stack frame 6.

Suspected Project: chromium

Assigning to the concern owner who is already working on similar issue.
Bug ID: 601727 is in Assigned state but the last comment was provided by ClusterFuzz as fixed.
Bug ID: 642104 is in verified state as ClusterFuzz provided the update.

Raising this issue because of cluster fuzz update in the above mentioned bugs.

@jshin -- Could you please look into the issue, pardon me if it has nothing to do with your changes.
Thank You. 

Comment 2 by js...@chromium.org, Sep 7 2016

Cc: kcc@chromium.org js...@chromium.org
Owner: sh...@chromium.org
shess@: can you take a look? 
Project Member

Comment 3 by ClusterFuzz, Sep 29 2016

ClusterFuzz has detected this issue as fixed in range 421501:421558.

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

Fuzzer: libfuzzer_sqlite3_prepare_v2_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Integer-overflow
Crash Address: 
Crash State:
  sqlite3MulInt64
  sqlite3VdbeExec
  sqlite3Step
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_ubsan&range=415587:415619
Fixed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_ubsan&range=421501:421558

Minimized Testcase (0.03 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97Lt2nL30yh-nvitrHw-FKH8-cQbx8uTrRlaZQ-CT_tJgV5_akE2gmmguJznKrnIpHC9fSY4W-CsEkaH5G85sGScocvClKiYAlr_EiQPl5XB5rI4_yGhG0q0h9TQtkoXFnVTw4wISCtvKI7PyRP5pZANz2zAg?testcase_id=4624714624663552
(SELECT 3452005775[a]WHERE a+a*A


See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.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 4 by ClusterFuzz, Sep 29 2016

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase is verified as fixed, closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Components: -Tools>Test>FindIt>NoResult
Project Member

Comment 6 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

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

Sign in to add a comment