Skip to content
OpenAdvisories
Unscored CVE-2007-3731 EUVD-2007-3715GHSA-frx9-99ch-7q7j

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 Sep 17, 2007 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 fai-kernels 1.17+etch.13etch3 DSA-1378-2, DSA-1378-1
Debian 4.0 linux-2.6 2.6.18.dfsg.1-13etch3 DSA-1378-2, DSA-1378-1
Debian 4.0 user-mode-linux 2.6.18-1um-2etch.13etch3 DSA-1378-2, DSA-1378-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +9 2.6.18-8.1.15.el5 RHSA-2007:0940

Advisories 3

References