mailing list archives
iDefense Security Advisory 10.10.06: FreeBSD ptrace PT_LWPINFO Denial of Service Vulnerability
From: iDefense Labs <labs-no-reply () idefense com>
Date: Tue, 10 Oct 2006 18:05:56 -0400
FreeBSD ptrace PT_LWPINFO Denial of Service Vulnerability
iDefense Security Advisory 10.10.06
Oct 10, 2006
FreeBSD is a modern operating system for x86, amd64, Alpha, IA-64, PC-98
and SPARC architectures. It's based on the UNIX operating system, BSD,
which was created at the University of California, Berkeley. More
information can be obtained from the FreeBSD Project web site at
The PT_LWPINFO ptrace command allows a tracer to get information on a
Due to the use of signed integers and a lack of proper input validation,
a situation can occur in the kernel where a panic will cause DoS. The
affected code follows.
953 case PT_LWPINFO:
954 if (data == 0 || data > sizeof(*pl))
955 return (EINVAL);
Since the "data" variable is a signed integer, the check on line 954 can
easily be bypassed. Eventually, the negative value is passed to
copyout(), which will result in a kernel panic or corruption of the user
Exploitation of this vulnerability would result in a denial of service
condition on the affected host. In some cases exploitation resulted in a
hard lock up of the machine, where as other times a kernel panic was
caused leading to reboot.
iDefense considers this a LOW severity vulnerability due to the local
iDefense has confirmed the existence of this problem in FreeBSD version
6.0-RELEASE. FreeBSD 6.1-RELEASE is not affected. It is suspected that
other versions are also affected.
iDefense is not aware of any workaround for this issue.
VI. VENDOR RESPONSE
"The policy of the FreeBSD Security Team is that local denial of service
not be treated as security issues; it is possible that this problem will be
corrected in a future Erratum."
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-4516 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
VIII. DISCLOSURE TIMELINE
08/18/2006 Initial vendor notification
10/06/2006 Initial vendor response
10/10/2006 Public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright © 2006 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice () idefense com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- iDefense Security Advisory 10.10.06: FreeBSD ptrace PT_LWPINFO Denial of Service Vulnerability iDefense Labs (Oct 10)