From: Henrique de Moraes Holschuh Date: Fri, 26 Feb 2010 01:22:22 +0000 (-0300) Subject: thinkpad-acpi: lock down video output state access X-Git-Tag: v2.6.34-rc1~221^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b525c06cdbd8a3963f0173ccd23f9147d4c384b5;p=pandora-kernel.git thinkpad-acpi: lock down video output state access Given the right combination of ThinkPad and X.org, just reading the video output control state is enough to hard-crash X.org. Until the day I somehow find out a model or BIOS cut date to not provide this feature to ThinkPads that can do video switching through X RandR, change permissions so that only processes with CAP_SYS_ADMIN can access any sort of video output control state. This bug could be considered a local DoS I suppose, as it allows any non-privledged local user to cause some versions of X.org to hard-crash some ThinkPads. Reported-by: Jidanni Signed-off-by: Henrique de Moraes Holschuh Cc: stable@kernel.org --- Reading git-diff-tree failed