]> 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:17:45 +0000 (12:17 -0700)
commite2c9950955861f65b321a09cf14b7cf01298c2f0
treec0fa9dc48765813cac74d2dd1052083b2fbdcea1
parente3ab894ba1df93b0b9c0daf15b31a0ba0c9b5957
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