CVE-2012-2745 Denial of service in n/a

Medium 4.7 Published Updated

Local attackers can cause a system panic via a crafted application using the fork system call due to invalid session keyring replacement.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-2745?

CVE-2012-2745 is a medium-severity denial of service vulnerability in Linux kernel, published on 9 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The copy_creds function in kernel/cred.c in the Linux kernel before 3.3.2 provides an invalid replacement session keyring to a child process, which allows local users to cause a denial of service (panic) via a crafted application that uses the fork system call.

Weakness: CWE-119

Which versions are affected by CVE-2012-2745?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2012-2745?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-2745 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-2745, GHSA-gxmr-6cg7-7q62.

Is CVE-2012-2745 in your software?

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

Check your SBOMs for free