From: Johannes Berg Date: Fri, 4 Apr 2008 21:33:37 +0000 (+0200) Subject: mac80211: make debugfs files root-only X-Git-Tag: v2.6.26-rc1~1138^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bebb8a5e2cd30adcc5e9a14c3366a231da728aee;p=pandora-kernel.git mac80211: make debugfs files root-only Unfortunately, debugfs can be made to access invalid memory by open()ing a file and then waiting until the corresponding debugfs file has been removed (and, probably, the underlying object.) That could be exploited by any user if the user is able to open debugfs files and can cause networking devices, STA entries or similar to disappear which is quite easy to do. Hence, all debugfs files should be root-only. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed