CWE-832Unlock of a Resource that is not Locked

PUBLISHEDweakness record
released 2010-12-13 · last modified 2025-12-11

Metadata

CWE ID:
CWE-832
摘要:
Base
结构:
Simple
状态:
Incomplete
发布日期:
2010-12-13
更新日期:
2025-12-11

名称

Unlock of a Resource that is not Locked

描述

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).

常见后果

范围:
Integrity, Confidentiality, Availability, Other
影响:
DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other
注释:
Depending 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.

相关 CWE