llvm:clang-fuzzer: Heap-use-after-free in clang::Parser::isCXXDeclarationSpecifier

Type ossfuzz
Reporter Google
Modified 2020-09-01T19:55:19


Detailed Report: https://oss-fuzz.com/testcase?key=5732388020944896

Project: llvm Fuzzing Engine: libFuzzer Fuzz Target: clang-fuzzer Job Type: libfuzzer_asan_llvm Platform Id: linux

Crash Type: Heap-use-after-free READ 4 Crash Address: 0x6060000056e0 Crash State: clang::Parser::isCXXDeclarationSpecifier clang::Parser::isCXXSimpleDeclaration clang::Parser::ParseStatementOrDeclarationAfterAttributes

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=202004060250:202004070254

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

Issue filed automatically.

See https://google.github.io/oss-fuzz/advanced-topics/reproducing for instructions to reproduce this bug locally. 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. Comments on individual Monorail issues are not monitored.