Re: [CHECKER] pcmcia user-pointer dereference

David Hinds (dhinds@sonic.net)
Thu, 29 May 2003 14:36:24 -0700


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/