commit | cf01fb9985e8deb25ccf0ea54d916b8871ae0e62 | [log] [tgz] |
---|---|---|
author | Chris Salls <salls@cs.ucsb.edu> | Fri Apr 07 23:48:11 2017 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Apr 08 10:57:55 2017 -0700 |
tree | c293d0826ee582a64c3af690ec92fb2c10a4f127 | |
parent | 425fffd886bae3d127a08fa6a17f2e31e24ed7ff [diff] |
mm/mempolicy.c: fix error handling in set_mempolicy and mbind. 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>