[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTim_RShqD7CKwjyeeGf3-1NZaVE4K2XUlrsoS1xx@mail.gmail.com>
Date: Wed, 30 Jun 2010 11:41:26 -0400
From: Eric Paris <eparis@...isplace.org>
To: Kees Cook <kees.cook@...onical.com>
Cc: linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Yama: add PTRACE exception tracking
On Tue, Jun 29, 2010 at 8:40 PM, Kees Cook <kees.cook@...onical.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@...onical.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists