---
title: "CWE-832: Unlock of a Resource that is not Locked"
url: https://radicalnotion.ai/cwe/cwe-832
type: cwe
description: "The product attempts to unlock a resource that is not locked."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-832: Unlock of a Resource that is not Locked

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 20
- **Of those, in CISA KEV:** 0
- **New in 2026:** 15
- **CWE catalog version:** 4.21

## Description

The product attempts to unlock a resource that is not locked.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Confidentiality, Availability, Other | DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other | Depending on the locking functionality, an unlock of a non-locked resource might corrupt the state of the product, possibly including denial of service, memory corruption, or other modification to the resource (or its associated metadata that is used for tracking locks). In some cases, an unlock operation might not have any adverse effects. |

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2010-4210 | function in OS kernel unlocks a mutex that was not previously locked, causing a panic or overwrite of arbitrary memory. |
| CVE-2008-4302 | Chain: OS kernel does not properly handle a failure of a function call (CWE-755), leading to an unlock of a resource that was not locked (CWE-832), with resultant crash. |
| CVE-2009-1243 | OS kernel performs an unlock in some incorrect circumstances, leading to panic. |

## Real CVEs with this weakness (sample of 12 of 20)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-74428 | rxrpc: Fix double unlock in rxrpc\_recvmsg() | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2023-53297 | Bluetooth: L2CAP: fix "bad unlock balance" in l2cap\_disconnect\_rsp | high | 8.8 | - | No | 2025-09-16 |
| CVE-2026-72368 | cachefiles: Fix double unlock in nomem\_d\_alloc error path | high | 7.8 | - | No | 2026-08-15 |
| CVE-2026-64152 | iommu: Handle unmap error when iommu\_debug is enabled | high | 7.8 | - | No | 2026-07-19 |
| CVE-2026-43298 | drm/amdgpu: Skip vcn poison irq release on VF | high | 7.8 | - | No | 2026-05-08 |
| CVE-2022-48848 | tracing/osnoise: Do not unregister events twice | high | 7.8 | - | No | 2024-07-16 |
| CVE-2026-46009 | PCI: endpoint: pci-epf-ntb: Remove duplicate resource teardown | high | 7.5 | - | No | 2026-05-27 |
| CVE-2024-31143 | double unlock in x86 guest IRQ handling | high | 7.5 | - | No | 2024-07-18 |
| CVE-2026-93171 | leds: lp5860: Fix a potential double-unlock | medium | 5.5 | - | No | 2026-09-17 |
| CVE-2026-90147 | clk: devres: fix cleanup in devm\_clk\_get\_optional\_enabled\_with\_rate() | medium | 5.5 | - | No | 2026-09-17 |
| CVE-2026-80626 | powerpc/perf: fix preempt count underflow in fsl\_emb\_pmu\_del | medium | 5.5 | - | No | 2026-08-28 |
| CVE-2026-80618 | drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free | medium | 5.5 | - | No | 2026-08-28 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-667](https://radicalnotion.ai/cwe/cwe-667) | Improper Locking |

## Frequently asked questions

### What is CWE-832?

The product attempts to unlock a resource that is not locked.

### What CVEs are caused by CWE-832?

20 recorded CVEs are attributed to CWE-832, including CVE-2026-74428, CVE-2023-53297 and CVE-2026-72368.

### How is CWE-832 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

### What are the consequences of CWE-832?

Exploiting CWE-832 can lead to: DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other.

### Is CWE-832 actively exploited?

20 recorded CVEs are caused by CWE-832; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/832.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-832). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
