file/magic_fuzzer: Crash in file_getbuffer

2017-11-22T11:51:45
ID OSSFUZZ-4385
Type ossfuzz
Reporter Google
Modified 2019-03-04T16:56:33

Description

Project: https://github.com/file/file.git

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

Project: file Fuzzer: libFuzzer_file_magic_fuzzer Fuzz target binary: magic_fuzzer Job Type: libfuzzer_msan_file Platform Id: linux

Crash Type: UNKNOWN WRITE Crash Address: 0x708000010000 Crash State: file_getbuffer magic_buffer magic_fuzzer.cc

Sanitizer: memory (MSAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_msan_file&range=201711210558:201711220558

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

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

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 have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.