CVE-2009-3238

kernel: random: add robust get_random_u32, remove weak get_random_int

Published Sep 18, 2009 CVSS 3.1 · 5.5 Medium EPSS 1.6% KEV · Not listed
Description
The get_random_int function in drivers/char/random.c in the Linux kernel before 2.6.30 produces insufficiently random numbers, which allows attackers to predict the return value, and possibly defeat protection mechanisms based on randomization, via vectors that leverage the function's tendency to "return the same value over and over again for long stretches of time."

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1927-1 New Linux 2.6.26 packages fix several vulnerabilities
Debian DSA Debian DSA DSA-1928-1 New Linux 2.6.24 packages fix several vulnerabilities
Debian DSA Debian DSA DSA-1929-1 New Linux 2.6.18 packages fix several vulnerabilities
Ubuntu USN Ubuntu USN USN-852-1 Linux kernel vulnerabilities
History

No history.

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 6:22 AM
Reserved
Sep 18, 2009, 12:00 AM
Status
Modified
Published
Sep 18, 2009, 10:30 AM
Modified
Jun 16, 2026, 11:11 PM
Severity
Important
Public date
May 5, 2009, 12:00 AM