From: Chris Wright <chrisw@osdl.org>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Chris Wright <chrisw@osdl.org>, xen-devel@lists.xensource.com
Subject: Re: [PATCH] proper bounds check in do_set_gdt entry point
Date: Mon, 27 Jun 2005 13:00:53 -0700 [thread overview]
Message-ID: <20050627200053.GC9046@shell0.pdx.osdl.net> (raw)
In-Reply-To: <97f95b5ed2852e5d2385e36c03a37e64@cl.cam.ac.uk>
* Keir Fraser (Keir.Fraser@cl.cam.ac.uk) wrote:
>
> On 27 Jun 2005, at 19:41, Chris Wright wrote:
>
> >Unless I missed something, not bounds checking entries in do_set_gdt is
> >a security hole.
> >
> >Signed-off-by: Chris Wright <chrisw@osdl.org>
>
> The check happens in set_gdt(). do_set_gdt is just a wrapper with a
> copy_from_user plus conditional tlb flush.
I know, but copy_from_user has no sane limits. This is stack smash.
-chris
next prev parent reply other threads:[~2005-06-27 20:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 18:41 [PATCH] proper bounds check in do_set_gdt entry point Chris Wright
2005-06-27 19:21 ` Keir Fraser
2005-06-27 20:00 ` Chris Wright [this message]
2005-06-27 20:09 ` Keir Fraser
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=20050627200053.GC9046@shell0.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.