BaseIncomplete
CWE-832Unlock of a Resource that is not Locked
Category: logic
Description
The product attempts to unlock a resource that is not locked.
Depending on the locking functionality, an unlock of a non-locked resource might cause memory corruption or other modification to the resource (or its associated metadata that is used for tracking locks).
Common consequences· 1
- Integrity / Confidentiality / Availability / Other — DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, OtherDepending on the locking being used, an unlock operation might not have any adverse effects. When effects exist, the most common consequence will be a corruption of the state of the product, possibly leading to a crash or exit; depending on the implementation of the unlocking, memory corruption or code execution could occur.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.