Home / Vulnerability Database / C or C++ : Mutex double lock
C/C++

C or C++ : Mutex double lock

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.

Trying to lock mutex that is already locked. This will cause undefined behavior.

MEDIUM

DerScanner Severity Score

Do you want to fix C or C++ : Mutex double lock 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