Files
linux/drivers
Dave Airlie 2bf659d8fe drm: stop information leak of old kernel stack.
commit b9f0aee833 upstream.

non-critical issue, CVE-2010-2803

Userspace controls the amount of memory to be allocate, so it can
get the ioctl to allocate more memory than the kernel uses, and get
access to kernel stack. This can only be done for processes authenticated
to the X server for DRI access, and if the user has DRI access.

Fix is to just memset the data to 0 if the user doesn't copy into
it in the first place.

Reported-by: Kees Cook <kees@ubuntu.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-26 16:41:56 -07:00
..
2010-08-26 16:41:51 -07:00
2010-08-26 16:41:42 -07:00
2010-08-26 16:41:41 -07:00
2010-08-13 13:19:34 -07:00
2010-08-02 10:20:53 -07:00
2010-08-13 13:20:13 -07:00
2010-08-10 10:20:51 -07:00
2010-08-02 10:20:42 -07:00
2010-08-13 13:19:51 -07:00
2010-05-12 14:57:15 -07:00