1. CVE archive
  2. 2011
  3. CVE-2011-1044

CVE-2011-1044

2.1 Low severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:P/I:N/A:N 2.1 – Low

Description

The ib_uverbs_poll_cq function in drivers/infiniband/core/uverbs_cmd.c in the Linux kernel before 2.6.37 does not initialize a certain response buffer, which allows local users to obtain potentially sensitive information from kernel memory via vectors that cause this buffer to be only partially filled, a different vulnerability than CVE-2010-4649.

Affected products

VendorProductVersionPlatform
linux linux kernel < 2.6.37 –
redhat enterprise linux desktop 5.0 –
redhat enterprise linux eus 5.6 –
redhat enterprise linux server 5.0 –
redhat enterprise linux server aus 5.6 –
redhat enterprise linux workstation 5.0 –
All 24,085 Linux Kernel vulnerabilities

Vulnerability type

CWE-909 Missing Initialization of Resource

The product does not initialize a critical resource.

Impact on systems

ScopeImpact
Other Varies by Context
If a resource is not initialized, it could contain unpredictable or expired data, or it could be initialized to defaults that are invalid. This can have security implications when the resource is expected to have certain properties or values.
Confidentiality Read Memory, Read Application Data
When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.
Availability DoS: Crash, Exit, or Restart
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

How to prevent it

Implementation Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Implementation Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Implementation Avoid race conditions (CWE-362) during initialization routines.
Build and Compilation Run or compile your product with settings that generate warnings about uninitialized variables or data.

All 94 CWE-909 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org