[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070501105214.078b4326@the-village.bc.nu>
Date: Tue, 1 May 2007 10:52:14 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Ismail Dönmez <ismail@...dus.org.tr>
Cc: dann frazier <dannf@...com>, linux-kernel@...r.kernel.org,
Jiri Slaby <jirislaby@...il.com>, support@...a.com.tw,
dilinger@...ian.org
Subject: Re: old buffer overflow in moxa driver
> > At the point you abuse these calls you can already just load arbitary
> > data from userspace anyway.
>
> So the possible exploit will only work when run by root, is that what you
> mean? If so isn't that still a security problem?
To exploit the hole you need CAP_SYS_RAWIO which is the highest
capability of all. CAP_SYS_RAWIO gives you the ability to access hardware
directly so since it checks for CAP_SYS_RAWIO it isn't security.
The patch isn't wrong however and adds some sanity checking so it would
do no harm to send it to Andrew for -mm testing.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists