[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to fix the ptrace flaw without rebooting
On 4 Apr 2003, Alan Cox wrote:

> Thats not a sufficient fix except for people blindly running the
> example exploit

Also, removing CAP_SYS_PTRACE from the capability bounded set does
not close the hole (well, as shown by the exploit) either. It seems
CAP_SYS_PTRACE only closes the case of PTRACE_ATTACH, all other
ptrace()'s work, eg PTRACE_TRACEME -> strace echo foo and the exploit
works too.

Should CAP_SYS_PTRACE not do as the name suggests and completely
disallow ptrace()? (not just PTRACE_ATTACH).

Paul Jakma Key ID: 64A2FF6A
warning: do not ever send email to
An egghead is one who stands firmly on both feet, in mid-air, on both
sides of an issue.
-- Homer Ferguson

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:34    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean