CVE-2006-6304 Race condition in n/a

High 7.5 Published Updated

Local attackers can modify arbitrary files via a race condition during core dumps due to improper flag handling in the Linux kernel.

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-2006-6304?

CVE-2006-6304 is a high-severity vulnerability in Linux kernel, published on 14 Dec 2006. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewrite attack during a core dump.

Weakness: CWE-399

Which versions are affected by CVE-2006-6304?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2006-6304?

Apply the vendor's patch.

Is CVE-2006-6304 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as GHSA-v3wx-9x2c-vf5m.

Is CVE-2006-6304 in your software?

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

Check your SBOMs for free