summaryrefslogtreecommitdiff
path: root/drivers
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:38:35 +0200
commitb73d08ce20c5cb2e0cec8c019a27b9574e2c4ec2 (patch)
treeb328e2e3976507d457da7241992dd78f5e6e852f /drivers
parent2d1af1b7025f96c86938af7f7c54d60adb4773fe (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 'drivers')
0 files changed, 0 insertions, 0 deletions