CVE-2007-3731
The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.
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-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-8.1.15.el5 | RHSA-2007:0940 |
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.redhat.com/support/errata/RHSA-2007-0940.html (vendor-advisory)
- http://www.ubuntu.com/usn/usn-518-1 (vendor-advisory)
- http://www.debian.org/security/2007/dsa-1378 (vendor-advisory)
References
- http://www.securityfocus.com/bid/25801
- http://bugzilla.kernel.org/show_bug.cgi?id=8765
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=a10d9a71bafd3a283da240d2868e71346d2aef6f
- http://osvdb.org/37286
- http://www.redhat.com/support/errata/RHSA-2007-0940.html
- http://secunia.com/advisories/29159
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=29eb51101c02df517ca64ec472d7501127ad1da8
- http://secunia.com/advisories/27322
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0094
- http://secunia.com/advisories/26978
- http://www.securityfocus.com/archive/1/488972/100/0/threaded
- https://issues.rpath.com/browse/RPL-2304
- http://www.ubuntu.com/usn/usn-518-1
- http://secunia.com/advisories/26955
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10394
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.