CVE-2007-3731 Null dereference in n/a

Medium 4.9 Published Updated

Local attackers can cause a kernel denial of service via NULL dereference by exploiting improper handling of invalid LDT segment selectors during ptrace operations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2007-3731?

CVE-2007-3731 is a medium-severity vulnerability in Linux kernel, published on 17 Sep 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2007-3731?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2007-3731?

Apply the vendor's patch.

Is CVE-2007-3731 being exploited?

There is no known exploitation of CVE-2007-3731 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-frx9-99ch-7q7j.

Is CVE-2007-3731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free