1. CVE archive
  2. 2010
  3. CVE-2010-4078

CVE-2010-4078

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

Description

The sisfb_ioctl function in drivers/video/sis/sis_main.c in the Linux kernel before 2.6.36-rc6 does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via an FBIOGET_VBLANK ioctl call.

Affected products

VendorProductVersionPlatform
debian debian linux 5.0 –
linux linux kernel < 2.6.36 –
linux linux kernel 2.6.36 –
linux linux kernel 2.6.36 rc1 –
linux linux kernel 2.6.36 rc2 –
linux linux kernel 2.6.36 rc3 –
linux linux kernel 2.6.36 rc4 –
linux linux kernel 2.6.36 rc5 –
opensuse opensuse 11.2 –
opensuse opensuse 11.3 –
suse linux enterprise desktop 10 sp3 –
suse linux enterprise real time extension 11 sp1 –
suse linux enterprise server 10 sp3 –
suse linux enterprise software development kit 10 sp3 –
All 24,148 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