CVE-2008-2365 Race Condition
No CVSS score yet. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
On this page
Race condition in the ptrace and utrace support in the Linux kernel 2.6.9 through 2.6.25, as used in Red Hat Enterprise Linux (RHEL) 4, allows local users to cause a denial of service (oops) via a long series of PTRACE_ATTACH ptrace calls to another user's process that trigger a conflict between utrace_detach and report_quiescent, related to "late ptrace_may_attach() check" and "race around &dead_engine_ops setting," a different vulnerability than CVE-2007-0771 and CVE-2008-1514. NOTE: this issue might only affect kernel versions before 2.6.16.x.
- EPSS
- 0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
- OWASP Top 10
- A06:2025 Insecure Design
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Red Hat: fixed package versions per release
- Patch: http://rhn.redhat.com/errata/RHSA-2008-0508.html
- Patch: http://www.openwall.com/lists/oss-security/2008/06/26/1
- Vendor advisory: http://secunia.com/advisories/30850
- Vendor advisory: http://secunia.com/advisories/31107
Ask an AI about this CVE
Show the prompt
Explain CVE-2008-2365 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-2365?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-2365?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-2365 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | 2.6.9 |
| linux:linux_kernel | 2.6.10 |
| linux:linux_kernel | 2.6.10:rc2 |
| linux:linux_kernel | 2.6.11 |
| linux:linux_kernel | 2.6.11:rc2 |
| linux:linux_kernel | 2.6.11:rc3 |
| linux:linux_kernel | 2.6.11:rc4 |
| linux:linux_kernel | 2.6.11.4 |
| linux:linux_kernel | 2.6.11.5 |
| linux:linux_kernel | 2.6.11.6 |
| linux:linux_kernel | 2.6.11.7 |
| linux:linux_kernel | 2.6.11.8 |
| linux:linux_kernel | 2.6.11.11 |
| linux:linux_kernel | 2.6.11.12 |
| linux:linux_kernel | 2.6.12 |
| linux:linux_kernel | 2.6.12:rc1 |
| linux:linux_kernel | 2.6.12:rc4 |
| linux:linux_kernel | 2.6.12:rc5 |
| linux:linux_kernel | 2.6.12.1 |
| linux:linux_kernel | 2.6.12.2 |
| linux:linux_kernel | 2.6.12.3 |
| linux:linux_kernel | 2.6.12.4 |
| linux:linux_kernel | 2.6.12.5 |
| linux:linux_kernel | 2.6.12.6 |
| linux:linux_kernel | 2.6.12.12 |
| linux:linux_kernel | 2.6.12.22 |
| linux:linux_kernel | 2.6.13 |
| linux:linux_kernel | 2.6.13:rc1 |
| linux:linux_kernel | 2.6.13:rc4 |
| linux:linux_kernel | 2.6.13:rc6 |
| linux:linux_kernel | 2.6.13:rc7 |
| linux:linux_kernel | 2.6.13.1 |
| linux:linux_kernel | 2.6.13.2 |
| linux:linux_kernel | 2.6.13.3 |
| linux:linux_kernel | 2.6.13.4 |
| linux:linux_kernel | 2.6.14 |
| linux:linux_kernel | 2.6.14:rc1 |
| linux:linux_kernel | 2.6.14:rc2 |
| linux:linux_kernel | 2.6.14:rc3 |
| linux:linux_kernel | 2.6.14:rc4 |
| linux:linux_kernel | 2.6.14.1 |
| linux:linux_kernel | 2.6.14.2 |
| linux:linux_kernel | 2.6.14.3 |
| linux:linux_kernel | 2.6.14.4 |
| linux:linux_kernel | 2.6.14.5 |
| linux:linux_kernel | 2.6.15 |
| linux:linux_kernel | 2.6.15:rc1 |
| linux:linux_kernel | 2.6.15:rc2 |
| linux:linux_kernel | 2.6.15:rc3 |
| linux:linux_kernel | 2.6.15.1 |
| linux:linux_kernel | 2.6.15.2 |
| linux:linux_kernel | 2.6.15.3 |
| linux:linux_kernel | 2.6.15.4 |
| linux:linux_kernel | 2.6.15.11 |
| linux:linux_kernel | 2.6.16 |
| linux:linux_kernel | 2.6.16:rc1 |
| linux:linux_kernel | 2.6.16.1 |
| linux:linux_kernel | 2.6.16.7 |
| linux:linux_kernel | 2.6.16.9 |
| linux:linux_kernel | 2.6.16.11 |
| linux:linux_kernel | 2.6.16.12 |
| linux:linux_kernel | 2.6.16.13 |
| linux:linux_kernel | 2.6.16.19 |
| linux:linux_kernel | 2.6.16.23 |
| linux:linux_kernel | 2.6.16.27 |
| linux:linux_kernel | 2.6.17 |
| linux:linux_kernel | 2.6.17:rc5 |
| linux:linux_kernel | 2.6.17.1 |
| linux:linux_kernel | 2.6.17.2 |
| linux:linux_kernel | 2.6.17.3 |
| linux:linux_kernel | 2.6.17.5 |
| linux:linux_kernel | 2.6.17.6 |
| linux:linux_kernel | 2.6.17.7 |
| linux:linux_kernel | 2.6.17.8 |
| linux:linux_kernel | 2.6.17.10 |
| linux:linux_kernel | 2.6.17.11 |
| linux:linux_kernel | 2.6.17.12 |
| linux:linux_kernel | 2.6.17.13 |
| linux:linux_kernel | 2.6.17.14 |
| linux:linux_kernel | 2.6.18 |
| linux:linux_kernel | 2.6.18.1 |
| linux:linux_kernel | 2.6.18.3 |
| linux:linux_kernel | 2.6.18.4 |
| linux:linux_kernel | 2.6.19 |
| linux:linux_kernel | 2.6.19:rc1 |
| linux:linux_kernel | 2.6.19:rc2 |
| linux:linux_kernel | 2.6.19:rc3 |
| linux:linux_kernel | 2.6.19:rc4 |
| linux:linux_kernel | 2.6.19.1 |
| linux:linux_kernel | 2.6.19.2 |
| linux:linux_kernel | 2.6.20 |
| linux:linux_kernel | 2.6.20.1 |
| linux:linux_kernel | 2.6.20.2 |
| linux:linux_kernel | 2.6.20.3 |
| linux:linux_kernel | 2.6.20.4 |
| linux:linux_kernel | 2.6.20.5 |
| linux:linux_kernel | 2.6.20.8 |
| linux:linux_kernel | 2.6.20.9 |
| linux:linux_kernel | 2.6.20.11 |
| linux:linux_kernel | 2.6.20.13 |
| linux:linux_kernel | 2.6.20.15 |
| linux:linux_kernel | 2.6.21 |
| linux:linux_kernel | 2.6.21:rc3 |
| linux:linux_kernel | 2.6.21:rc4 |
| linux:linux_kernel | 2.6.21:rc5 |
| linux:linux_kernel | 2.6.21:rc6 |
| linux:linux_kernel | 2.6.21.1 |
| linux:linux_kernel | 2.6.21.2 |
| linux:linux_kernel | 2.6.21.4 |
| linux:linux_kernel | 2.6.21.6 |
| linux:linux_kernel | 2.6.21.7 |
| linux:linux_kernel | 2.6.22 |
| linux:linux_kernel | 2.6.22.1 |
| linux:linux_kernel | 2.6.22.3 |
| linux:linux_kernel | 2.6.22.4 |
| linux:linux_kernel | 2.6.22.5 |
| linux:linux_kernel | 2.6.22.6 |
| linux:linux_kernel | 2.6.22.7 |
| linux:linux_kernel | 2.6.22.8 |
| linux:linux_kernel | 2.6.22.11 |
| linux:linux_kernel | 2.6.22.12 |
| linux:linux_kernel | 2.6.22.13 |
| linux:linux_kernel | 2.6.22.14 |
| linux:linux_kernel | 2.6.22.15 |
| linux:linux_kernel | 2.6.22.16 |
| linux:linux_kernel | 2.6.22.17 |
| linux:linux_kernel | 2.6.23 |
| linux:linux_kernel | 2.6.23:rc1 |
| linux:linux_kernel | 2.6.23.1 |
| linux:linux_kernel | 2.6.23.2 |
| linux:linux_kernel | 2.6.23.3 |
| linux:linux_kernel | 2.6.23.4 |
| linux:linux_kernel | 2.6.23.5 |
| linux:linux_kernel | 2.6.23.6 |
| linux:linux_kernel | 2.6.23.7 |
| linux:linux_kernel | 2.6.23.9 |
| linux:linux_kernel | 2.6.23.10 |
| linux:linux_kernel | 2.6.23.14 |
| linux:linux_kernel | 2.6.23_rc1 |
| linux:linux_kernel | 2.6.24 |
| linux:linux_kernel | 2.6.24:rc2 |
| linux:linux_kernel | 2.6.24:rc3 |
| linux:linux_kernel | 2.6.24.1 |
| linux:linux_kernel | 2.6.24.2 |
| linux:linux_kernel | 2.6.24.6 |
| linux:linux_kernel | 2.6.24_rc4 |
| linux:linux_kernel | 2.6.24_rc5 |
| linux:linux_kernel | 2.6.25 |
| linux:linux_kernel | 2.6.25.1 |
| linux:linux_kernel | 2.6.25.2 |
| linux:linux_kernel | 2.6.25.3 |
| linux:linux_kernel | 2.6.25.4 |
| linux:linux_kernel | 2.6.25.5 |
| redhat:enterprise_linux | 4.0 |
| redhat:enterprise_linux_desktop | 4.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 more | kernel, kernel-doc, kernel-smp and 9 more | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat | enterprise_linux:5::client | kernel, kernel-PAE, kernel-doc and 12 more | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat | enterprise_linux:5::server | kernel, kernel-PAE, kernel-doc and 15 more | 0:2.6.18-92.el5 | RHBA-2008:0314 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat
Red Hat rates this Important.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | kernel-0:2.6.9-67.0.20.EL | Fixed 2008-06-25 | RHSA-2008:0508 |
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-92.el5 | Fixed 2008-05-21 | RHBA-2008:0314 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-2365.
Public exploits
- Exploit-DB Linux Kernel 2.6.9 < 2.6.25 (RHEL 4) - utrace and ptrace Local Denial of Service (1)
- Exploit-DB Linux Kernel 2.6.9 < 2.6.25 (RHEL 4) - utrace and ptrace Local Denial of Service (2)
Attack patterns (CAPEC)
- CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
- CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://rhn.redhat.com/errata/RHSA-2008-0508.html
- http://www.openwall.com/lists/oss-security/2008/06/26/1
- http://secunia.com/advisories/30850
- http://secunia.com/advisories/31107
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=5ecfbae093f0c37311e89b29bfc0c9d586eace87
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=f358166a9405e4f1d8e50d8f415c26d95505b6de
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=f5b40e363ad6041a96e3da32281d8faa191597b9
- http://marc.info/?l=linux-kernel&m=117863520707703&w=2
- http://securityreason.com/securityalert/3965
- http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/late-ptrace-may-attach-check.c?cvsroot=systemtap
- http://www.openwall.com/lists/oss-security/2008/07/14/1
- http://www.securityfocus.com/bid/29945
- http://www.securitytracker.com/id?1020362
- http://www.ubuntu.com/usn/usn-625-1
- https://bugzilla.redhat.com/show_bug.cgi?id=449359
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43567
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10749