]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: restrict kernel address leak in debugfs
authorKees Cook <keescook@chromium.org>
Mon, 11 Mar 2013 19:25:19 +0000 (12:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:06:02 +0000 (12:06 -0700)
commit7ace9c4c6c590531e0cf4a61925ec2dd5947f81c
tree07522e89aabf6175c573d8d03bc7dd61dbcff2de
parent48a6edd00c703041a0bdfd756aa155b88b69c2b3
drm/i915: restrict kernel address leak in debugfs

commit 2563a4524febe8f4a98e717e02436d1aaf672aa2 upstream.

Masks kernel address info-leak in object dumps with the %pK suffix,
so they cannot be used to target kernel memory corruption attacks if
the kptr_restrict sysctl is set.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/i915_debugfs.c