New issue
Advanced search Search tips

Issue 870467 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Null-dereference READ in CPDF_CrossRefTable::GetSize

Project Member Reported by ClusterFuzz, Aug 2

Issue description

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

Fuzzer: tokenfuzz_pdf_curated
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000018
Crash State:
  CPDF_CrossRefTable::GetSize
  CPDF_Parser::GetLastObjNum
  IsValidObjectNumber
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=580184:580193

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Aug 2

Components: Internals>Plugins>PDF
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, Aug 2

Cc: art-sn...@yandex-team.ru
Labels: Test-Predator-Auto-CC
Automatically adding ccs based on suspected regression changelists:

Rework of CPDF_Parser::GetLastObjNum. by art-snake@yandex-team.ru - https://pdfium.googlesource.com/pdfium/+/b07deb3fc1f54bd700a66df573bfcbc4bcc1d787

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label.
 Issue 870547  has been merged into this issue.
art-snake@ Could you please look into this issue.
Cc: kkaluri@chromium.org
Labels: M-70
Owner: thestig@chromium.org
Status: Assigned (was: Untriaged)
Predator has provided with one possible suspect, hence assigning to concern owner for further triage

Suspect CL: https://pdfium.googlesource.com/pdfium/+/b07deb3fc1f54bd700a66df573bfcbc4bcc1d787

Since owner is not a chromium member, assigning to its reviewer

thestig@ Could you please look into this issue.
Not obvious how to fix this, so I'm going to revert.
Status: Fixed (was: Assigned)
Reverted in r581862.
Project Member

Comment 8 by ClusterFuzz, Aug 10

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

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

Comment 9 by ClusterFuzz, Aug 10

ClusterFuzz has detected this issue as fixed in range 581861:581862.

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

Fuzzer: tokenfuzz_pdf_curated
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000018
Crash State:
  CPDF_CrossRefTable::GetSize
  CPDF_Parser::GetLastObjNum
  IsValidObjectNumber
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=580184:580193
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=581861:581862

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

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.

Sign in to add a comment