Re: [PATCH] nvram: Fix root triggerable integer overflow crash

From: Henrique de Moraes Holschuh
Date: Sat Jul 18 2009 - 14:53:22 EST


On Sat, 18 Jul 2009, Michael Buesch wrote:
> On Saturday 18 July 2009 17:09:09 Henrique de Moraes Holschuh wrote:
> > On Sat, 18 Jul 2009, Michael Buesch wrote:
> > > This bug probably is exploitable by overwriting the function return address or something
> > > like that. But let's hope there's no distribution out there with user write permissions
> > > on the /dev/nvram node. So it's probably only exploitable by root.
> >
> > I have seen setups with group-writeable /dev/nvram to support some (old!)
> > thinkpad utilities.
>
> Yes it is crw-rw---- 1 root root on Debian.

That is not a problem. "crw-rw---- 1 root nvram", would be. That becomes a
local privilege escalation right there, if it can be exploited for something
other than DoS (which looks somewhat likely).

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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/