tpm2/tpm2_execute_command_fuzzer: Index-out-of-bounds in MemoryRemoveTrailingZeros

2017-10-30T11:06:40
ID OSSFUZZ-3925
Type ossfuzz
Reporter Google
Modified 2020-06-06T14:59:15

Description

Project: https://chromium.googlesource.com/chromiumos/third_party/tpm2

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

Project: tpm2 Fuzzer: libFuzzer_tpm2_execute_command_fuzzer Fuzz target binary: tpm2_execute_command_fuzzer Job Type: libfuzzer_ubsan_tpm2 Platform Id: linux

Crash Type: Index-out-of-bounds Crash Address: Crash State: MemoryRemoveTrailingZeros CheckPWAuthSession ParseSessionBuffer

Sanitizer: undefined (UBSAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_tpm2&range=201705081858:201705101510

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

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.