diff options
author | 2022-06-01 17:32:11 +0800 | |
---|---|---|
committer | 2022-07-03 18:08:39 -0700 | |
commit | 000eca5d044d1ee23b4ca311793cf3fc528da6c6 (patch) | |
tree | c7c6c6574409f06dd8fc55becb3ca855dcfc4516 /mm/shrinker_debug.c | |
parent | mm/hugetlb: remove unnecessary huge_ptep_set_access_flags() in hugetlb_mcopy_atomic_pte() (diff) | |
download | wireguard-linux-000eca5d044d1ee23b4ca311793cf3fc528da6c6.tar.xz wireguard-linux-000eca5d044d1ee23b4ca311793cf3fc528da6c6.zip |
mm/mempolicy: fix get_nodes out of bound access
When user specified more nodes than supported, get_nodes will access nmask
array out of bounds.
Link: https://lkml.kernel.org/r/20220601093211.2970565-1-tianyu.li@arm.com
Fixes: e130242dc351 ("mm: simplify compat numa syscalls")
Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions