New issue
Advanced search Search tips

Issue 892559 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Null-dereference READ in base::CommandLine::HasSwitch

Project Member Reported by ClusterFuzz, Oct 5

Issue description

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

Fuzzer: libFuzzer_clear_site_data_fuzzer
Job Type: mac_libfuzzer_chrome_asan
Platform Id: mac

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  base::CommandLine::HasSwitch
  content::ClearSiteDataThrottle::ParseHeader
  clear_site_data_fuzzer.cc
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_libfuzzer_chrome_asan&range=517019:517061

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

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.
 
Project Member

Comment 1 by ClusterFuzz, Oct 5

Components: Internals>Core Privacy
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, Oct 5

Cc: msramek@chromium.org
Labels: ClusterFuzz-Auto-CC
Automatically adding ccs based on OWNERS file / target commit history.

If this is incorrect, please add ClusterFuzz-Wrong label.
Project Member

Comment 3 by ClusterFuzz, Oct 5

Labels: Test-Predator-Auto-Owner
Owner: msramek@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/69e586cb53639ea3e6f22267bde1f611fbab00de (Add the wildcard ("*") pseudo-datatype to Clear-Site-Data.).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
The line in question is:

base::CommandLine::ForCurrentProcess()->HasSwitch()

So the null dereference means that there is no base::CommandLine::ForCurrentProcess(). This shouldn't be input dependent though, it looks more like some sort of flake on ClusterFuzz?
Project Member

Comment 5 by ClusterFuzz, Nov 9

ClusterFuzz has detected this issue as fixed in range 606416:606443.

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

Fuzzer: libFuzzer_clear_site_data_fuzzer
Job Type: mac_libfuzzer_chrome_asan
Platform Id: mac

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  base::CommandLine::HasSwitch
  content::ClearSiteDataThrottle::ParseHeader
  clear_site_data_fuzzer.cc
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_libfuzzer_chrome_asan&range=517019:517061
Fixed: https://clusterfuzz.com/revisions?job=mac_libfuzzer_chrome_asan&range=606416:606443

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

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.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 6 by ClusterFuzz, Nov 9

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

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

Sign in to add a comment