public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Vadim Lebedev" <vlebedev@aplio.fr>
To: <linux-kernel@vger.kernel.org>
Subject: Potenitial security hole in the kernel
Date: Mon, 28 May 2001 23:43:38 +0200	[thread overview]
Message-ID: <003601c0e7bf$41953080$0101a8c0@LAP> (raw)

Hi folks,

Please correct me if i'm wrong but it seems to me that i've stumbled on
really BIG security hole in the signal handling code.
The problem IMO is that the signal handling code stores a processor context
on the user-mode stack frame which is active while
the signal handler is running. Then sys_sigreturn restores back the context
from user mode stack...
Suppose the signal handler modifies this context frame for example by
storing into the PC slot address of the panic routine
then when handler will exit  panic will be called with obvious results.


Please CC your comments to me directly as i'm not subscibed to this list

Vadim Lebedev


             reply	other threads:[~2001-05-28 21:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-28 21:43 Vadim Lebedev [this message]
2001-05-28 22:21 ` Potenitial security hole in the kernel Philip Blundell
2001-05-28 22:26   ` Vadim Lebedev
2001-05-28 22:29 ` Kurt Roeckx
2001-05-28 22:30   ` Vadim Lebedev
2001-05-28 23:15     ` Kurt Roeckx
2001-05-28 22:44 ` Brett Frankenberger
2001-05-28 23:12 ` Russell King
2001-05-28 23:30   ` Kurt Roeckx
2001-05-28 23:46     ` Kurt Roeckx
2001-05-29  0:32       ` Jamie Lokier
2001-05-29  7:35         ` Chris Wedgwood
2001-05-29 10:14           ` Jamie Lokier

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='003601c0e7bf$41953080$0101a8c0@LAP' \
    --to=vlebedev@aplio.fr \
    --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