CVE-2007-3731 json
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-ste…
published 2007-09-17 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3715
- cvss
- 4.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- kernel RHEL 5 2.6.18-8.1.15.el5
- kernel-PAE RHEL 5 2.6.18-8.1.15.el5
- kernel-xen RHEL 5 2.6.18-8.1.15.el5
- kernel-kdump RHEL 5 2.6.18-8.1.15.el5
- kernel-debuginfo-common RHEL 5 2.6.18-8.1.15.el5
red hat advisories RHSA-2007:0940
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-3731 updated
NULL pointer dereference triggered by ptrace
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5fixed: vendor fix RHSA-2007:0940
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.kernel.org http://bugzilla.kernel.org/show_bug.cgi?id=8765 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=248324
patch
-
bugzilla.kernel.org
/show_bug.cgi?id=8765
exploit
-
redhat.com
/support/errata/RHSA-2007-0940.html
vendor-advisory
-
ubuntu.com
/usn/usn-518-1
vendor-advisory
-
debian.org
/security/2007/dsa-1378
vendor-advisory
-
securityfocus.com
/bid/25801
vdb-entry
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=a10d9a71bafd3a283da240d2868e71346d2aef6f
-
osvdb.org
/37286
vdb-entry
-
secunia.com
/advisories/29159
third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=29eb51101c02df517ca64ec472d7501127ad1da8
-
secunia.com
/advisories/27322
third-party-advisory
- wiki.rpath.com /wiki/Advisories:rPSA-2008-0094
-
secunia.com
/advisories/26978
third-party-advisory
-
securityfocus.com
/archive/1/488972/100/0/threaded
mailing-list
- issues.rpath.com /browse/RPL-2304
-
secunia.com
/advisories/26955
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10394
vdb-entry, signature
-
secunia.com
/advisories/26935
third-party-advisory
Sources
- CVE List CVE-2007-3731
- NVD CVE-2007-3731
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.