I found a world writable file in sysfs. Maybe this is not very cool... (?).
# ls -al /sys/module/drm/parameters
drwxr-xr-x 2 root root 0 Oct 2 14:42 .
drwxr-xr-x 3 root root 0 Oct 2 07:14 ..
-r--r--r-- 1 root root 4096 Oct 2 14:42 cards_limit
-rw-rw-rw- 1 root root 4096 Oct 2 14:42 debug
I'm not an expert, so I don't know where it comes from. To me it looks a
kernel thing. I'm using gentoo-sources-2.6.12-r10.
Steps to Reproduce:
Here is the patch :
(In reply to comment #1)
> Here is the patch :
Should be used for the Gentoo x11-base/x11-drm ebuilds as well...
This only enables extra printk's so I don't think it's a security risk - no DoS
condition is caused either so I'm closing this INVALID. Thanks for the report