Resource Locking Problems
A category in the Common Weakness Enumeration published by The MITRE Corporation.
Categories in the Common Weakness Enumeration (CWE) group entries based on some common characteristic or attribute.
Weaknesses in this category are related to improper handling of locks that are used to control access to resources.
The software contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.
The program uses double-checked locking to access a resource without the overhead of explicit synchronization, but the locking is insufficient.
The software does not lock or does not correctly lock a resource when the software must have exclusive access to the resource.
A product does not check to see if a lock is present before performing sensitive operations on a resource.
The software locks a critical resource more times than intended, leading to an unexpected state in the system.
The software unlocks a critical resource more times than intended, leading to an unexpected state in the system.
The software attempts to unlock a resource that is not locked.
The software properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of...
This view organizes weaknesses around concepts that are frequently used or encountered in software development. This includes all aspects of the software development l...