...
The risks of ignoring mutex ownership are similar to the risk of not using mutexes at all, which can result in a violation of data integrity.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
POS48-C | Medium | Probable | No | NoHigh | P4 | L3 |
Automated Detection
Tool | Version | Checker | Description | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| CONCURRENCY.DU | Double Unlock | |||||||||||
| Helix QAC |
| C4971DF4971, C4972DF4972, C4981DF4981, C4982 C++4971, C++4972, C++4981, C++4982 DF4982 | ||||||||||||
| Parasoft C/C++test |
| CERT_C-POS48-a | Do not destroy another thread's mutex | |||||||||||
| CERT C: Rule POS48-C | Checks for destruction of locked mutex (rule fully covered) | PRQA QA-C | | Include Page | | PRQA QA-C_v | PRQA QA-C_v | 4971, 4972, 4981, 4982
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...