---
title: "CWE-414: Missing Lock Check"
url: https://radicalnotion.ai/cwe/cwe-414
type: cwe
description: "A product does not check to see if a lock is present before performing sensitive operations on a resource."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-414: Missing Lock Check

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

## Description

A product does not check to see if a lock is present before performing sensitive operations on a resource.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Availability | Modify Application Data, DoS: Instability, DoS: Crash, Exit, or Restart | - |

## Potential mitigations

### Architecture and Design, Implementation

Implement a reliable lock mechanism.

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

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2026-54906 | Ruby-based concurrency package does not verify that its calling thread had aquired a write lock. |
| CVE-2023-5447 | Chain: missing lock check (CWE-414) leads to Use-After-Free (CWE-416) |
| CVE-2004-1056 | Product does not properly check if a lock is present, allowing other attackers to access functionality. |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-74268 | tcp: clear sock\_ops cb flags before force-closing a child socket | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2026-80633 | iommufd: Take dma\_resv lock before dma\_buf\_unpin() in release path | high | 8.8 | - | No | 2026-08-28 |
| CVE-2023-53764 | wifi: ath12k: Handle lock during peer\_id find | high | 8.8 | - | No | 2025-12-08 |
| CVE-2025-21765 | ipv6: use RCU protection in ip6\_default\_advmss() | high | 8.1 | - | No | 2025-02-27 |
| CVE-2026-90143 | net: kcm: Hold RCU read lock while running BPF parser | high | 7.8 | - | No | 2026-09-17 |
| CVE-2026-74646 | misc: fastrpc: take fl-\>lock when moving mmaps on interrupted invoke | high | 7.8 | - | No | 2026-08-22 |
| CVE-2026-68387 | can: raw: add locking for raw flags bitfield | high | 7.8 | - | No | 2026-08-10 |
| CVE-2026-68204 | media: vivid: check for vb2\_is\_busy() when toggling caps | high | 7.8 | - | No | 2026-08-10 |
| CVE-2025-38005 | dmaengine: ti: k3-udma: Add missing locking | high | 7.8 | - | No | 2025-06-18 |
| CVE-2024-58094 | jfs: add check read-only before truncation in jfs\_truncate\_nolock() | high | 7.8 | - | No | 2025-04-16 |
| CVE-2022-48926 | usb: gadget: rndis: add spinlock for rndis response list | high | 7.8 | - | No | 2024-08-22 |
| CVE-2021-47512 | net/sched: fq\_pie: prevent dismantle issue | high | 7.8 | - | No | 2024-05-24 |

## Related weaknesses

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

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Missing Lock Check | - | - |
| Software Fault Patterns | Missing Lock | SFP19 | - |

## Frequently asked questions

### What is CWE-414?

A product does not check to see if a lock is present before performing sensitive operations on a resource.

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

33 recorded CVEs are attributed to CWE-414, including CVE-2026-74268, CVE-2026-80633 and CVE-2023-53764.

### How do you prevent CWE-414?

Implement a reliable lock mechanism.

### How is CWE-414 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-414?

Exploiting CWE-414 can lead to: Modify Application Data, DoS: Instability, DoS: Crash, Exit, or Restart.

### Is CWE-414 actively exploited?

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

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

---

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