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

Issue 711751 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Integer-overflow in lut_inverse_interp16

Project Member Reported by ClusterFuzz, Apr 14 2017

Issue description

Project Member

Comment 1 by ClusterFuzz, Apr 15 2017

ClusterFuzz has detected this issue as fixed in range 464722:464728.

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

Fuzzer: libfuzzer_qcms_color_space_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Integer-overflow
Crash Address: 
Crash State:
  lut_inverse_interp16
  invert_lut
  compute_precache
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=464719:464722
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=464722:464728

Reproducer Testcase: https://clusterfuzz.com/download/AMIfv97dpkqhPJVxhC3dkeWC6aWo893h4eFzZqFsjCkHbjWKuzeQSYMfvuSd-HMqKnonqI9YeKTi73uqbuOLmgULtB6NRacR_0j2c4n9xWnZcnDoEDXdSSeTtJEqcXZ8Aoi3Vl5zG05RbhDJi_sfi3tMtswdLvopn8cjya3FBWrHTccK4vcbOBQlD1fnOfRBhyPrO_VAsXbHzfs2vNbs7P_UJZ3CAY6rKtwStR3EzkM8XIuvmmlx6UkLxcivqhh5nU-LAQg94hujRuD7iAPYKlpPNGVPcL0d-y2PndKBXBh2yyzBykO044MV_07acSvMrbQIdB_cBn5qD3vEc8WibUPrvMP7SAavaf6jYPgbfU39RtMYccZ7Tck?testcase_id=4712912540401664


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 2 by ClusterFuzz, Apr 15 2017

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

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Comment 3 by noel@chromium.org, Apr 18 2017

Labels: ClusterFuzz-Wrong
Owner: noel@chromium.org
Status: Started (was: Verified)
Reproduces for me when inverting the precache gamma table.  The input gamma table is large and does cause an integer overflow when computing int b

  b = ((length-1 - NumPoles) * 0xFFFF) / (length-1);

in transform_util.c: lut_inverse_interp16().

Comment 4 by noel@chromium.org, Apr 18 2017

Cc: hubbe@chromium.org

Comment 5 by noel@chromium.org, Apr 20 2017

Cc: robert.b...@intel.com

Comment 6 by noel@chromium.org, Apr 22 2017

Status: Fixed (was: Started)
Code review https://codereview.chromium.org/2825623002 landed to fix this.
Labels: -ClusterFuzz-Wrong
We have made a bunch of changes on ClusterFuzz side, so resetting ClusterFuzz-Wrong label.

Sign in to add a comment