mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erik Hensema <erik@hensema.net>
To: linux-kernel@vger.kernel.org
Subject: Re: How to fix the ptrace flaw without rebooting
Date: Thu, 3 Apr 2003 12:30:05 +0000 (UTC)	[thread overview]
Message-ID: <slrnb8oaad.j0h.erik@bender.home.hensema.net> (raw)
In-Reply-To: <200304030708_MC3-1-32C2-5A8A@compuserve.com>

Chuck Ebbert (76306.1226@compuserve.com) wrote:
> 	Author: Chuck Ebbert
> 	Adapted from: Phrack Inc., Volume 0x0b, Issue 0x3a, Phile #0x07
> 	Directions: Run this program as root on an x86 machine.
> 		It will disable the ptrace system call, thus
> 		fixing the Linux 'ptrace flaw'.  (It will also
> 		break strace, debugging tools and User Mode Linux.)
> 	WARNING: Your computer may crash or do other strange things
> 		if you run this program as root.  No warranty.

If you can't reboot to apply a security fix, you've got a serious problem.

A better fix in a running system is to simply disable dynamic module
loading: echo /no/such/file > /proc/sys/kernel/modprobe
At the very least you can be sure your machine won't crash this way ;-)

-- 
Erik Hensema <erik@hensema.net>

  reply	other threads:[~2003-04-03 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 12:05 Chuck Ebbert
2003-04-03 12:30 ` Erik Hensema [this message]
2003-04-04  6:19   ` Nuno Silva
2003-04-04 11:18 Chuck Ebbert
2003-04-04 11:15 ` Alan Cox
2003-04-06  1:28   ` Paul Jakma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnb8oaad.j0h.erik@bender.home.hensema.net \
    --to=erik@hensema.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®