CVE Database


Impact: Moderate
Public: 2009-11-12
Bugzilla: 537273: CVE-2006-6304 kernel: use flag in do_coredump()
IAVA: 2010-A-0015


The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2006-6304 from the MITRE CVE dictionary and NIST NVD.


This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 3, 4 and Red Hat Enterprise MRG. Shipped kernels do not include upstream commit d025c9db that introduced the problem.
This upstream commit was backported in Red Hat Enterprise Linux 5 via RHSA-2009:0225. It was later reported and addressed in Red Hat Enterprise Linux 5 via

CVSS v2 metrics

Base Score: 1.9
Base Metrics: AV:L/AC:M/Au:N/C:N/I:P/A:N
Access Vector: Local
Access Complexity: Medium
Authentication: None
Confidentiality Impact: None
Integrity Impact: Partial
Availability Impact: None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
Red Hat Enterprise Linux version 5 (kernel) RHSA-2010:0046 January 19, 2010

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.