Re: [Security] [PATCH 00/20] world-writable files in sysfs anddebugfs

From: Greg KH
Date: Mon Mar 14 2011 - 23:09:12 EST


On Mon, Mar 14, 2011 at 10:26:05PM -0400, James Bottomley wrote:
> On Sat, 2011-03-12 at 23:23 +0300, Vasiliy Kulikov wrote:
> > > Vasiliy Kulikov (20):
> > > mach-ux500: mbox-db5500: world-writable sysfs fifo file
> > > leds: lp5521: world-writable sysfs engine* files
> > > leds: lp5523: world-writable engine* sysfs files
> > > misc: ep93xx_pwm: world-writable sysfs files
> > > rtc: rtc-ds1511: world-writable sysfs nvram file
> > > scsi: aic94xx: world-writable sysfs update_bios file
> > > scsi: iscsi: world-writable sysfs priv_sess file
> >
> > These are still not merged :(
>
> OK, so I've not been tracking where we are in the dizzying ride on
> security systems. However, I thought we landed up in the privilege
> separation arena using capabilities. That means that world writeable
> files aren't necessarily a problem as long as the correct capabilities
> checks are in place, right?

There are no capability checks on sysfs files right now, so these all
need to be fixed.

thanks,

greg k-h
--
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/