summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChris Salls <salls@cs.ucsb.edu>2017-04-07 23:48:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-12 12:41:15 +0200
commitcddab768d13469d1e254fb8c0e1629f93c8dfaca (patch)
tree5ebc41c261be8f1b3c457a942f56484c5cbe241d /init
parent24317cb6b400d7fc567e4c8d1fdca587113c6423 (diff)
mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
commit cf01fb9985e8deb25ccf0ea54d916b8871ae0e62 upstream. In the case that compat_get_bitmap fails we do not want to copy the bitmap to the user as it will contain uninitialized stack data and leak sensitive data. Signed-off-by: Chris Salls <salls@cs.ucsb.edu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions