libzmq:test_bind_ws_fuzzer: Bad-cast to zmq::session_base_t from invalid vptr in zmq::stream_engine_base_t::in_event_internal

2020-07-09T00:50:19
ID OSSFUZZ-24018
Type ossfuzz
Reporter Google
Modified 2020-09-15T20:06:31

Description

Project: https://github.com/zeromq/libzmq.git

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

Project: libzmq Fuzzing Engine: libFuzzer Fuzz Target: test_bind_ws_fuzzer Job Type: libfuzzer_ubsan_libzmq Platform Id: linux

Crash Type: Bad-cast Crash Address: 0x7ff8280071a0 Crash State: Bad-cast to zmq::session_base_t from invalid vptr zmq::stream_engine_base_t::in_event_internal zmq::stream_engine_base_t::in_event

Sanitizer: undefined (UBSAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_libzmq&range=202007060323:202007070328

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

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.

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.