The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of Linux kernel: predicting get_random_int

Synthesis of the vulnerability 

Integers generated by the get_random_int() function are sometimes predictable.
Impacted systems: Debian, HP Switch, Linux, openSUSE, RHEL, SLES.
Severity of this alert: 1/4.
Creation date: 23/10/2009.
Références of this alert: BID-36788, CERTA-2002-AVI-244, CVE-2009-3238, DSA-1927-1, DSA-1928-1, DSA-1929-1, HPESBHF03836, RHSA-2009:1438-01, SUSE-SA:2009:054, SUSE-SA:2009:055, SUSE-SA:2010:012, VIGILANCE-VUL-9119.

Description of the vulnerability 

The get_random_int() function of the drivers/char/random.c file generates random integer numbers.

However, this function is initialized with:
 - current->pid : current pid number
 - jiffies : clock
An attacker can thus statistically predict the generated random numbers.

Features calling get_random_int() can therefore use predictable values.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This weakness bulletin impacts software or systems such as Debian, HP Switch, Linux, openSUSE, RHEL, SLES.

Our Vigil@nce team determined that the severity of this computer weakness is low.

The trust level is of type confirmed by the editor, with an origin of user shell.

An attacker with a expert ability can exploit this vulnerability announce.

Solutions for this threat 

Linux kernel: version 2.6.30.
Version 2.6.30 is corrected:
  ftp://ftp.kernel.org/pub/linux/kernel/v2.6/

Debian: new linux-2.6.18 packages.
New packages are available:
  http://security.debian.org/pool/updates/main/l/linux-2.6/linux-*_2.6.18.dfsg.1-26etch1_*.deb

Debian: new linux-2.6.24 packages.
New packages are available:
  http://security.debian.org/pool/updates/main/l/linux-2.6.24/linux-*_2.6.24-6~etchnhalf.9etch1_*.deb

Debian: new linux-2.6.26 packages.
New packages are available:
  http://security.debian.org/pool/updates/main/l/linux-2.6/linux-*_2.6.26-19lenny2_*.deb

HPE Switch: solution for Linux CVE-2009-3238.
The solution is indicated in information sources.

openSUSE 11.0: new kernel packages.
New packages are available:
  http://download.opensuse.org/update/11.0/rpm/i586/kernel-*-2.6.25.20-0.6.i586.rpm

RHEL 4: new kernel packages.
New packages are available:
Red Hat Enterprise Linux version 4:
  kernel-2.6.9-89.0.11.EL

SUSE LE 10: new kernel packages.
New packages are available, as indicated in information sources.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides a systems vulnerabilities note. The Vigil@nce team tracks computer vulnerabilities impacting systems and applications.