diff options
| author | Chris Salls <salls@cs.ucsb.edu> | 2017-04-07 23:48:11 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-07 12:04:55 +0200 |
| commit | f51e87f898341124ea25ed4458edf28da893669e (patch) | |
| tree | ff0e65dccd0707fe90c48d0d67a21e7680542aac /init | |
| parent | b0f2453a99ed8fa04679785d7f7fc6ebab6e06c2 (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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
