Messages in this thread | | | Date | Wed, 30 Jun 2010 11:41:26 -0400 | Subject | Re: [PATCH 2/2] Yama: add PTRACE exception tracking | From | Eric Paris <> |
| |
On Tue, Jun 29, 2010 at 8:40 PM, Kees Cook <kees.cook@canonical.com> wrote: > Some application suites have external crash handlers that depend on > being able to use PTRACE to generate crash reports (KDE, Chromium, etc). > Since the inferior process generally knows the PID of the debugger, > it can use PR_SET_PTRACER to allow a specific PID and its descendants > to perform the PTRACE instead of only a direct ancestor. > > Signed-off-by: Kees Cook <kees.cook@canonical.com>
any normal unpriv application:
while(1) { prctl(PR_SET_PTRACER, 1, 0, 0, 0); }
watch kernel run out of memory and bring down the box. Seems like quite the DoS.....
-Eric
| |