CVE-2007-3105 Memory corruption in n/a

Medium 4.6 Published Updated

Local root users can trigger a stack-based buffer overflow in the Linux kernel RNG, potentially causing denial of service or privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2007-3105?

CVE-2007-3105 is a medium-severity memory corruption vulnerability in Linux kernel, published on 27 Jul 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack-based buffer overflow in the random number generator (RNG) implementation in the Linux kernel before 2.6.22 might allow local root users to cause a denial of service or gain privileges by setting the default wakeup threshold to a value greater than the output pool size, which triggers writing random numbers to the stack by the pool transfer function involving "bound check ordering". NOTE: this issue might only cross privilege boundaries in environments that have granular assignment of privileges for root.

Weakness: CWE-119

Which versions are affected by CVE-2007-3105?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2007-3105?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-3105 being exploited?

There is no known exploitation of CVE-2007-3105 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-8mvg-22rh-hcjv.

Is CVE-2007-3105 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free