CWE-911 詳細

CWE-911

Improper Update of Reference Count
2013-02-21
00h00 +00:00
中
Incomplete
2026-10-28
00h00 +00:00
特定のCWEの通知
特定のCWEの変更情報をいち早くお届けします。
通知を管理する

名前: Improper Update of Reference Count

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

一般情報

背景の詳細

導入モード

Implementation

適用可能なプラットフォーム

言語

名前: C (Sometimes)
名前: C++ (Sometimes)
クラス: Not Language-Specific (Undetermined)

一般的な結果

スコープ 影響 可能性
AvailabilityDoS: 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.
High
AvailabilityDoS: 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.
Low

観察された例

参考文献 説明

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

脆弱性マッピングノート

理由 : This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
コメント : Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

参考文献

REF-884

Windows Kernel Reference Count Vulnerabilities - Case Study
Mateusz "j00ru" Jurczyk.
https://j00ru.vexillium.org/slides/2012/zeronights.pdf

登録情報

名前 組織 日付 リリース日 Version
CWE Content Team MITRE 2012-12-21 +00:00 2013-02-21 +00:00 2.4

変更履歴

名前 組織 日付 コメント
CWE Content Team MITRE 2019-06-20 +00:00 updated Type
CWE Content Team MITRE 2020-02-24 +00:00 updated Relationships, Type
CWE Content Team MITRE 2023-01-31 +00:00 updated Description
CWE Content Team MITRE 2023-04-27 +00:00 updated References, Relationships
CWE Content Team MITRE 2023-06-29 +00:00 updated Mapping_Notes
CWE Content Team MITRE 2025-04-03 +00:00 updated Common_Consequences
CWE Content Team MITRE 2026-10-28 +00:00 updated Background_Details, Common_Consequences, Description