perfetto/trace_processor_fuzzer: Heap-buffer-overflow in perfetto::trace_processor::FuchsiaTraceParser::ParseTracePacket

2019-05-14T11:58:46
ID OSSFUZZ-14752
Type ossfuzz
Reporter Google
Modified 2019-08-12T15:33:53

Description

Project: https://android.googlesource.com/platform/external/perfetto/

Detailed report: https://oss-fuzz.com/testcase?key=5653558021586944

Project: perfetto Fuzzer: libFuzzer_perfetto_trace_processor_fuzzer Fuzz target binary: trace_processor_fuzzer Job Type: libfuzzer_asan_perfetto Platform Id: linux

Crash Type: Heap-buffer-overflow READ 8 Crash Address: 0x62800000e858 Crash State: perfetto::trace_processor::FuchsiaTraceParser::ParseTracePacket perfetto::trace_processor::TraceSorter::SortAndExtractEventsBeyondWindow perfetto::trace_processor::TraceProcessorImpl::NotifyEndOfFile

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_perfetto&range=201904250242:201904260248

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5653558021586944

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for instructions to reproduce this bug locally.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public.

When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers.

If you need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues.