Re: PATCH: 2.6.7-rc3 drivers/scsi/megaraid.c: user/kernel pointer bugs

From: viro
Date: Wed Jun 09 2004 - 20:53:56 EST


On Wed, Jun 09, 2004 at 04:10:32PM -0700, Robert T. Johnson wrote:
> Since arg is a user pointer, so are uioc_mimd and uiocp, and hence umc is
> a user pointer. Thus reading umc->xferaddr requires dereferencing a user
> pointer, which isn't safe. Let me know if you have any questions or I've
> made an error.

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