diff options
| author | Chris Salls <salls@cs.ucsb.edu> | 2017-04-07 23:48:11 -0700 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-06-05 21:17:21 +0100 |
| commit | 4474624a1a496e4dc93a2cd49ea915d9c90d80e9 (patch) | |
| tree | a81286a3c08afd373075e3c92d3e9dee428139bb /kernel | |
| parent | f7ce1014bc5e4bb42d6b9f5afb308f59534067ea (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
