CVE-2008-2365
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 4.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Modified
Affected
- Linux Kernel 2.6.9
- Linux Kernel 2.6.10
- Linux Kernel 2.6.11
- Linux Kernel 2.6.11.4
- Linux Kernel 2.6.11.5
- Linux Kernel 2.6.11.6
- Linux Kernel 2.6.11.7
- Linux Kernel 2.6.11.8
Attack profile CVSS 2.0 · 4.7
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:N/I:N/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-2365.md and follow it. Check whether this project is affected by CVE-2008-2365. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://rhn.redhat.com/errata/RHSA-2008-0508.html
- http://secunia.com/advisories/30850
- http://secunia.com/advisories/31107
- http://www.openwall.com/lists/oss-security/2008/06/26/1
- http://rhn.redhat.com/errata/RHSA-2008-0508.html
- http://secunia.com/advisories/30850
- http://secunia.com/advisories/31107
- http://www.openwall.com/lists/oss-security/2008/06/26/1
References
- 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://rhn.redhat.com/errata/RHSA-2008-0508.html
- http://secunia.com/advisories/30850
- http://secunia.com/advisories/31107
- 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/06/26/1
- 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
- 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://rhn.redhat.com/errata/RHSA-2008-0508.html
- http://secunia.com/advisories/30850
- http://secunia.com/advisories/31107
- http://securityreason.com/securityalert/3965