samba:fuzz_nmblib_parse_packet: Heap-buffer-overflow in handle_name_ptrs

2020-01-18T00:07:56
ID OSSFUZZ-20193
Type ossfuzz
Reporter Google
Modified 2020-03-10T19:00:59

Description

Project: https://gitlab.com/samba-team/samba.git

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

Project: samba Fuzzing Engine: libFuzzer Fuzz Target: fuzz_nmblib_parse_packet Job Type: libfuzzer_asan_samba Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x6040000002fe Crash State: handle_name_ptrs parse_nmb_name parse_nmb

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_samba&range=202001150416:202001160547

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

Issue filed automatically.

See https://wiki.samba.org/index.php/Fuzzing 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.

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.