From: Mike Playle <mike@newdawn.uklinux.net>
To: David Hinds <dhinds@sonic.net>
Cc: linux-kernel@vger.kernel.org, Junfeng Yang <yjf@stanford.edu>
Subject: Re: [CHECKER] pcmcia user-pointer dereference
Date: Fri, 30 May 2003 13:43:14 +0100 [thread overview]
Message-ID: <20030530124313.GA952@mrrp.telinco.co.uk> (raw)
In-Reply-To: <E19LjBL-0000FS-00@mrrp.telinco.co.uk>
On Fri, May 30, 2003 at 01:40:27PM +0100, David Hinds wrote:
> On Thu, May 29, 2003 at 04:30:54PM -0500, Hollis Blanchard wrote:
> >
> > That's true for pcmcia_get_mem_page. However pcmcia_map_mem_page writes
> > into the structure it verifies. I think pcmcia_get_first/next_window
> > could also be used to corrupt memory (*handle = win in
> > pcmcia_get_window).
>
> The map_mem_page ioctl can only be used by root. The get_*_window
> ioctl's can't corrupt anything because they, like get_mem_page, only
> read the target data structures.
>
> -- Dave
What about memory-mapped IO registers? Can this ioctl be used to cause
an unwanted read from a memory mapped device?
--
Mike
next parent reply other threads:[~2003-05-30 12:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E19LjBL-0000FS-00@mrrp.telinco.co.uk>
2003-05-30 12:43 ` Mike Playle [this message]
2003-05-29 21:11 Hollis Blanchard
2003-05-29 21:22 ` David Hinds
2003-05-29 21:30 ` Hollis Blanchard
2003-05-29 21:36 ` David Hinds
2003-05-30 10:11 ` Alan Cox
2003-05-30 10:10 ` Alan Cox
2003-05-31 22:46 ` David Wagner
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=20030530124313.GA952@mrrp.telinco.co.uk \
--to=mike@newdawn.uklinux.net \
--cc=dhinds@sonic.net \
--cc=linux-kernel@vger.kernel.org \
--cc=yjf@stanford.edu \
/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®