commit | 616acca69a909614365deed16c8722e6117aeb27 | [log] [tgz] |
---|---|---|
author | Chris Salls <salls@cs.ucsb.edu> | Fri Apr 07 23:48:11 2017 -0700 |
committer | Christian Hoffmann <chrmhoffmann@gmail.com> | Sun Aug 13 12:05:06 2017 +0000 |
tree | 6dbba49c18b62ecfa22279b00ec161944e66cd8f | |
parent | 5b679d4ad7a64a43e6e29a3fe634230bdeb1397b [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. Change-Id: I188fb5950c9804bd79ef959973108a8519bf04bb Signed-off-by: Chris Salls <salls@cs.ucsb.edu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>