Home / Vulnerability Database / C or C++ : Mutex invalid order
C/C++
C or C++ : Mutex invalid order
Classification
CWE
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 mutex being unlocked is not the most recently acquired lock. This may indicate an error and cause deadlock.
MEDIUM
DerScanner Severity Score
Do you want to fix C or C++ : Mutex invalid order in your application?
See also
C/C++
C or C++ : Dead store
C/C++
C or C++ : Use after free
C/C++
