---
title: "CWE-911: Improper Update of Reference Count"
url: https://radicalnotion.ai/cwe/cwe-911
type: cwe
description: "The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-911: Improper Update of Reference Count

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **Likelihood of exploit:** Medium
- **CVEs with this as primary weakness:** 367
- **Of those, in CISA KEV:** 0
- **New in 2026:** 237
- **CWE catalog version:** 4.21

## Description

The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.

## Background

Reference counts can be used when tracking how many objects contain a reference to a particular resource, such as in memory management or garbage collection. When the reference count reaches zero, the resource can be de-allocated or reused because there are no more objects that use it.

## Modes of introduction

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

## Applicable platforms

**Languages:** C (Sometimes), C++ (Sometimes)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Availability | DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other) | If an adversary can prevent a reference count from reaching zero, then resources might not be released when they are supposed to, thus causing resources to become scarce for future needs. |
| Availability | DoS: Crash, Exit, or Restart | If an adversary can cause a reference count to reach zero when the resource is still in use, then a resource might be released before it is supposed to be, possibly forcing an error that causes the product to crash or exit out of its current operation. |

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2002-0574 | Chain: reference count is not decremented, leading to memory leak in OS by sending ICMP packets. |
| CVE-2004-0114 | Reference count for shared memory not decremented when a function fails, potentially allowing unprivileged users to read kernel memory. |
| CVE-2006-3741 | Chain: improper reference count tracking leads to file descriptor consumption |
| CVE-2007-1383 | Chain: integer overflow in reference counter causes the same variable to be destroyed twice. |
| CVE-2007-1700 | Incorrect reference count calculation leads to improper object destruction and code execution. |
| CVE-2008-2136 | Chain: incorrect update of reference count leads to memory leak. |
| CVE-2008-2785 | chain/composite: use of incorrect data type for a reference counter allows an overflow of the counter, leading to a free of memory that is still in use. |
| CVE-2008-5410 | Improper reference counting leads to failure of cryptographic operations. |
| CVE-2009-1709 | Chain: improper reference counting in a garbage collection routine leads to use-after-free |
| CVE-2009-3553 | Chain: reference count not correctly maintained when client disconnects during a large operation, leading to a use-after-free. |
| CVE-2009-3624 | Reference count not always incremented, leading to crash or code execution. |
| CVE-2010-0176 | improper reference counting leads to expired pointer dereference. |
| CVE-2010-0623 | OS kernel increments reference count twice but only decrements once, leading to resource consumption and crash. |
| CVE-2010-2549 | OS kernel driver allows code execution |
| CVE-2010-4593 | improper reference counting leads to exhaustion of IP addresses |
| CVE-2011-0695 | Race condition causes reference counter to be decremented prematurely, leading to the destruction of still-active object and an invalid pointer dereference. |
| CVE-2012-4787 | improper reference counting leads to use-after-free |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-98368 | esp: downgrade zerocopy managed frags before mutating skb frags | critical | 9.8 | - | No | 2026-10-06 |
| CVE-2026-98191 | wifi: wlcore: release runtime PM ref on regdomain config failure | critical | 9.8 | - | No | 2026-10-06 |
| CVE-2026-89536 | SUNRPC: wait for in-flight client TLS handshake callback | critical | 9.8 | - | No | 2026-09-11 |
| CVE-2026-80721 | Bluetooth: ISO: ensure no dangling hcon references in iso\_conn | critical | 9.8 | - | No | 2026-08-28 |
| CVE-2026-72322 | ipv6: mcast: Fix potential UAF in MLD delayed work | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2026-68180 | intel\_th: fix MSC output device reference leak | critical | 9.8 | - | No | 2026-08-10 |
| CVE-2026-43465 | net/mlx5e: RX, Fix XDP multi-buf frag counting for striding RQ | critical | 9.8 | - | No | 2026-05-08 |
| CVE-2023-54076 | smb: client: fix missed ses refcounting | critical | 9.8 | - | No | 2025-12-24 |
| CVE-2025-39925 | can: j1939: implement NETDEV\_UNREGISTER notification handler | critical | 9.8 | - | No | 2025-10-01 |
| CVE-2024-40983 | tipc: force a dst refcount before doing decryption | critical | 9.8 | - | No | 2024-07-12 |
| CVE-2026-90049 | net: skbuff: don't skb\_tx\_error() the source skb in skb\_zerocopy() | critical | 9.3 | - | No | 2026-09-16 |
| CVE-2026-72412 | s390/mm: Fix handling of \_PAGE\_UNUSED pte bit | critical | 9.3 | - | No | 2026-08-15 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-664](https://radicalnotion.ai/cwe/cwe-664) | Improper Control of a Resource Through its Lifetime |
| Can precede | [CWE-672](https://radicalnotion.ai/cwe/cwe-672) | Operation on a Resource after Expiration or Release |
| Can precede | [CWE-772](https://radicalnotion.ai/cwe/cwe-772) | Missing Release of Resource after Effective Lifetime |

## Frequently asked questions

### What is CWE-911?

The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.

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

367 recorded CVEs are attributed to CWE-911, including CVE-2026-98368, CVE-2026-98191 and CVE-2026-89536.

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

Exploiting CWE-911 can lead to: DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart.

### Is CWE-911 actively exploited?

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

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

---

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