CVE-2007-3731

Summary

CVECVE-2007-3731
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-17 17:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.9 from [email protected]

AV:L/AC:L/Au:N/C:N/I:N/A:C

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Complete

AV:L/AC:L/Au:N/C:N/I:N/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 2.6.20 All All All
Operating System Linux Linux Kernel 2.6.21 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1378-2 linux-2.6 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Bug 248324 – CVE-2007-3731 NULL pointer dereference triggered by ptrace af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Patch
osvdb.org/37286 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
Linux Kernel PTrace NULL Pointer Dereference Local Denial Of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Debian update for kernel - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
rPath update for kernel - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
Ubuntu update for kernel - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Linux Kernel ptrace Single Step "CS" Null Pointer Dereference - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
issues.rpath.com/browse/RPL-2304 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
Advisories:rPSA-2008-0094 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
8765 – NULL pointer dereference triggered by ptrace af854a3a-2127-422b-91ae-364da2661108 bugzilla.kernel.org Exploit
USN-518-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
Red Hat Customer Portal MITRE access.redhat.com
access.redhat.com | CVE-2007-3731 MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-10-18Mark J CoxThis issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 2.1, 3, or 4.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report