CVE-2008-2365
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-debug | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-debug-devel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-headers | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-92.el5 | RHBA-2008:0314 |
| Red Hat Enterprise Linux 4 | kernel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-devel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-doc | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-hugemem | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-hugemem-devel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-largesmp | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-largesmp-devel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-smp | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-smp-devel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-xenU | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
| Red Hat Enterprise Linux 4 | kernel-xenU-devel | Fixed | 0:2.6.9-67.0.20.EL | RHSA-2008:0508 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/usn-625-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2008-0508.html (vendor-advisory)
References
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43567
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=f5b40e363ad6041a96e3da32281d8faa191597b9
- http://www.securitytracker.com/id?1020362
- http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/late-ptrace-may-attach-check.c?cvsroot=systemtap
- http://www.securityfocus.com/bid/29945
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=5ecfbae093f0c37311e89b29bfc0c9d586eace87
- http://www.openwall.com/lists/oss-security/2008/07/14/1
- http://securityreason.com/securityalert/3965
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10749
- http://secunia.com/advisories/30850
- https://bugzilla.redhat.com/show_bug.cgi?id=449359
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git%3Ba=commit%3Bh=f358166a9405e4f1d8e50d8f415c26d95505b6de
- http://secunia.com/advisories/31107
- http://www.openwall.com/lists/oss-security/2008/06/26/1
- http://www.ubuntu.com/usn/usn-625-1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.