Home / Vulnerability Database / C or C++ : Mutex initialize locked
C/C++

C or C++ : Mutex initialize locked

Overview

In programming, mutexes (mutual exclusions) are used to synchronize simultaneously running threads, and only the thread that owns the mutex can release it, i.e. transfer to the marked state.

The purpose of the mutex is to protect the object from access to other threads, other than the one that owns the mutex. In this case, only one thread can own an object protected by a mutex at any particular time.

This vulnerability means that the the program trying to initialize a locked mutex. This is undefined behavior.

MEDIUM

DerScanner Severity Score

Do you want to fix C or C++ : Mutex initialize locked in your application?

See also

C/C++

C or C++ : Dead store

C/C++

C or C++ : Use after free

C/C++

C or C++ : va_list uninitialized