kernel: use flag in do_coredump()
Published Dec 14, 2006
7.5
HIGHCVSS 2.0
EPSS 2.55%
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.
Affected products
No data.
- 2.6.19
No data.
Red Hat Enterprise Linux 5
kernel-0:2.6.18-164.11.1.el5
Fixed · RHSA-2010:0046
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-164.11.1.el5 | Fixed | RHSA-2010:0046 |
No package ranges for this CVE.
Remediation
Red Hat statement
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 RHSA-2010:0046.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.55% (0.02548) | 84.48th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.45% (0.02450) | 82.21th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.98% (0.00981) | 75.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.84% (0.01835) | 88.76th | v3 (v2023.03.01) |
| May 8, 2024 | 1.84% (0.01835) | 88.22th | v3 (v2023.03.01) |
| Nov 25, 2023 | 1.30% (0.01302) | 84.36th | v3 (v2023.03.01) |
| Oct 18, 2023 | 1.41% (0.01414) | 85.00th | v3 (v2023.03.01) |
| Sep 10, 2023 | 1.34% (0.01345) | 84.47th | v3 (v2023.03.01) |
| Aug 3, 2023 | 1.20% (0.01201) | 83.37th | v3 (v2023.03.01) |
| May 18, 2023 | 1.21% (0.01207) | 83.20th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.07% (0.01072) | 81.97th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (14)
- http://secunia.com/advisories/23349 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://support.avaya.com/css/P8/documents/100073666 x_refsource_CONFIRM
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.1 x_refsource_CONFIRM
- http://www.securityfocus.com/bid/21591 vdb-entryx_refsource_BIDPatch
- http://www.trustix.org/errata/2006/0074/ vendor-advisoryx_refsource_TRUSTIX
- http://www.vupen.com/english/advisories/2006/5002 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2006-6304 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=537273 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2006-6304
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10797 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7446 vdb-entrysignaturex_refsource_OVAL
- https://rhn.redhat.com/errata/RHSA-2010-0046.html vendor-advisoryx_refsource_REDHAT
- https://rhn.redhat.com/errata/RHSA-2010-0095.html vendor-advisoryx_refsource_REDHAT
- https://www.cve.org/CVERecord?id=CVE-2006-6304
Change history (0)
No recorded changes yet.